Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: yehaah on January 09, 2006, 11:16:17 PM

Title: Shel - list of last commands
Post by: yehaah on January 09, 2006, 11:16:17 PM
Is there a command that can list all the previous commands run in the shell?

I meen those commands that are shown using the upward and downward arrow.
Title: Shel - list of last commands
Post by: byte on January 10, 2006, 12:39:41 AM
Yes type at command...

mc

then press F9 go to "command menu" and half way down you will see "command History"
Title: Shel - list of last commands
Post by: Franco on January 10, 2006, 01:19:52 AM
I don't think Midnight Commander will look at the entire history, unless you use it to navigate thru the file system all the time.
Code: [Select]
cd ~
cat .bash_history
Title: Shel - list of last commands
Post by: byte on January 10, 2006, 01:40:29 AM
Quote from: "stuntshell"
I don't think Midnight Commander will look at the entire history, unless you use it to navigate thru the file system all the time.
Code: [Select]
cd ~
cat .bash_history


Your quite right shuntshell :hammer:
Title: Shel - list of last commands
Post by: edb on January 10, 2006, 06:49:51 AM
Just use the arrow up and down key on your keyboard to scroll through the list of commands previously entered.
Title: Re: Shel - list of last commands
Post by: CharlieBrady on January 11, 2006, 02:24:06 AM
Quote from: "yehaah"
Is there a command that can list all the previous commands run in the shell?

I meen those commands that are shown using the upward and downward arrow.


history