Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Fast command history scrolling in Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fast command history scrolling in Terminal
Authored by: EatingPie on Dec 01, '04 07:25:07PM

A few more hints, assuming BASH is your default shell.

Two keys I use FREQUENTLY!

ctrl-p - scroll up through your history.
ctrl-n - scroll down through your history (after going up some).

The "!!" character is also helpful for last command, but you can add to the end of it.

% ls mach.sym
mach.sym
% !! mach_kernel
ls mach.sym mach_kernel
mach.sym mach_kernel
This one works with csh/tcsh as well AFAIK.

---
-Pie


[ Reply to This | # ]