
Now they will know why they are afraid of the dark [?]
¡Añademe a tus favoritos!
Contacto
Post al azar
RSS
BUSCAR
Mapa de la web
Por
Saiyine
el 0000-00-00 00:00:00 - Secciones: - Enlace permanente: 511
En su momento me hice una pequeña funcion que lo hace:
buscame() { cat ~/.bash_history | grep -i "$*" | grep -i -v "buscame" }
Basta con añadirla al .bashrc
MEJORA: El comando history ya te vuelca el historial, asi que simplemente
history | grep -i "palabra clave"
![]() | Keith Amling (25/09/2005, 13:27) If you use "set -o vi" you can use "/" from normal mode. For example to search the history for foo from insert mode you would press "<ESC>/foo<ENTER>" and then "n" to go to the next match. If you use vim already, "set -o vi" would be easy to learn, but if you use emacs or another editor it would be difficult. |
Otras entradas de la web que podrian interesarte:
. . .
Menuda oferta, ¿un pendrive Verbatim de 16Gb por solo 8,99€???
. . .
. . .
Varios ejemplos de lo que buscaban visitantes recientes:
. . .
Página web ©2001-2011 Saiyine descargada en s, con 6094796 visitas en total, hoy (de un total de 0 previstas).
. . .