I have a lot a commands that I want to run again, but there are a lot of them, and going up to them with the up arrow key is too long. Is it possible to get it in a cat/tail command and pipe it to a file ?
migrated from stackoverflow.com Feb 2 at 18:04
This question came from our site for professional and enthusiast programmers.
Adding this to ~/.inputrc would make the up and down arrows cycle through commands that match the start of the line:
I also use these functions a lot:
If you add