Cuando pasamos mucho tiempo en escribiendo en terminal, a veces tenemos la necesidad de repetir algo que escribimos en el pasado. Puede que estemos compilando algún programa, o haciendo un ./configure e instalando dependencias de un programa…
Muchas distribuciones lo tienen por defecto (por ejemplo Gentoo), pero otras muchas (Ubuntu, Mandriva, ArchLinux…) no lo tienen; se trata de activar las teclas de Avance y Retroceso de página para hacer búsquedas en nuestro historial.
Esto sirve, por ejemplo para que, si escribimos algunas letras de una orden que enviamos en el pasado, y pulsemos RePag nos encuentre aquellas órdenes que enviamos en el pasado y nos ahorre unas cuantas pulsaciones de teclado.
Lo que debemos hacer es editar el archivo /etc/inputrc, muchas distribuciones traen ciertas líneas parecidas, por lo que si vemos alguna línea que empiece por «\e[5~» o «\e[6~» deberíamos comentarla (con #) o borrarla; y tras ello introducir lo siguiente:
«\e[5~»: history-search-backward
«\e[6~»: history-search-forward
Para mí, es la forma más cómoda de trabajar.
Foto: Liamdunn (Flickr)
Pingback: Bitacoras.com /
I adjusted and great, you are right. wordle
The essay is very well written and shows how skilled you are at producing quality content retro games.
Thank you for sharing this data. I really enjoy what you’ve written on your blog. You’ve shared a very useful and entertaining blog post with the public.
papa’s freezeria
Nice to wordle this from you, I can now perform history searches more quickly and efficiently than before. This information is very good and useful to users.
Please post useful information often. We will continue to visit in the future. Have a good day. 카지노사이트
Maybe you can try [url=https://chatgptplus.pro/login-chat-gpt/]ChatGPT Login[/url] to help you get the job done, hope this helps you.
I came to this site with the introduction of a friend around me and I was very impressed when I found your writing. Please visit my website. 먹튀검증사이트
Thank you for the slowly helpful exercise. Has the usual effect, it’s clear! Fun games