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 appreciate you providing this insightful information; I believe it will be beneficial to everyone.
Excellent post. I waѕ checking constantlү this blog ɑnd I am inspired! 스포츠토토
hiya! This weblog post could not be written lots better! Looking at this put up reminds me of my preceding roommate! He constantly kept speakme approximately this. 토토사이트
This is my first time I visit here. I found so many engaging stuff in your blog, particularly its conversation. 스포츠토토
I have read so many articles concerning the blogger lovers however this article is actually a pleasant article, keep it up. 토토사이트
I have to thank you for the efforts you’ve put in writing this blog. I’m hoping to check out the same high-grade blog posts by you later on as well. 스포츠토토사이트
Always maintain on the great operate. I extra increase your RSS feed to my MSN News Reader 메이저사이트
Most of these untrue states usually are major, effective visualize and for that reason 토토사이트추천
I have to admit that i sometimes get bored to read the whole thing but i think you can add some value 토토사이트검증
Great goօds fгom you, man. I hage keeρ in mind youг stuff рrevious tо and ʏߋu aгe simply extremely fantastic. 메이저사이트
I most clearly will ahead this statistics to him. Pretty sure he’s going to have a outstanding examine. I respect you for sharing! Views dwelling police force heard jokes additionally. Was are delightful solicitousness disclosed series man. 메이저사이트
Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. 토토사이트
Asking questions are in fact good thing if you are not understanding anything fully, however this post provides fastidious understanding even. 먹튀검증
Attractive section of content. I simply stumbled upon your web site and in accession capital to say that I acquire actually loved account your weblog posts.메이저토토사이트
It is enjoyable, however it is important that you check out this amazing web site =) 토토사이트
Helped to getting in touch with game playing in this posting fully grasp every little thing pertaining to all people =) 먹튀검증사이트
Thank you for your content very helpful for me, another webpage I found and hope you like it 메이저사이트
It’s which means that amazing together with inspiring. We really enjoy any designs together with whoever should get it all during the post shall be grinning. UFABETสมัครแทงบอลฟรีไม่มีขั้นต่ำ
My spouse and i shocked while using investigation anyone created to choose this certain release outstanding. Amazing task! โปรโมชั่นสมัครแทงบอลออนไลน์UFABET