>let us say, i have done ls -l , etc etc >then i have done a few more commands at the prompt. > >now, i want to use that ls command again. is there a way inwhich i can >reach it quickly? for instance, i type ls and some other key and bash >completes from history? > >-- >regards, >sandip p deshmukh
IIRC, you can type "history | less" (minus quotes) to get the list of commands you've already typed, then if the past command was number 50 (for example), you can say "!50" to re-execute that command, or to execute the last command typed use "!!" (but the up/down arrow is faster for the most recent commands IMO). "man history" should give you all the nitty gritty details of how to use history buffer. Good luck Drew Cohan drew_at_drewcohan_dot_com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]