Koozali.org: home of the SME Server

Shel - list of last commands

yehaah

Shel - list of last commands
« 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.

Offline byte

  • *
  • 2,183
  • +2/-0
Shel - list of last commands
« Reply #1 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"
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Shel - list of last commands
« Reply #2 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

Offline byte

  • *
  • 2,183
  • +2/-0
Shel - list of last commands
« Reply #3 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:
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline edb

  • *
  • 548
  • +0/-0
Shel - list of last commands
« Reply #4 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.
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Shel - list of last commands
« Reply #5 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