When using the command line as root in Debian I get last commands executed as root.
Where are those saved, what is the default file path and how can I find it?
thanks
debian-lenny
When using the command line as root in Debian I get last commands executed as root.
Where are those saved, what is the default file path and how can I find it?
thanks
Best Answer
If you're using bash (default shell in Debian) you can see all your recent history in the file
~/.bash_history
(so .bash_history file in your local user)Also from the command line you can type
history
and it'll also show you all your recent command history