Programs like matlab/octave and I'm sure many other ones allow you to start typing a command, and then hit Up to recall the last command that starts with the typed characters.
Common linux shell bash doesnot do this. Is there a different shell that does?
I'm not asking how to find out the last command, I'm asking if there's a shell that's a little friendlier.
Ctrl-rreverse incremental search feature? Alternatively,!foowill run the last command you entered beginning withfoo. – jw013 Sep 14 '11 at 17:18!but if I want to run!rmthen it gets creepy – Mikhail Sep 14 '11 at 19:17Ctrl-rbecause you can interactively edit before hitting enter. For a 2 step approach you can do!rm:pto just print the expansion without running it. – jw013 Sep 14 '11 at 20:13