Hi,
is there a log, which saves what commands where executed in the shell e.g. via ssh?
Hi,
is there a log, which saves what commands where executed in the shell e.g. via ssh?
Yeah, history.
Go to a terminal and simply type "history" If you want to make it easier to read:
If you want to search for something (example "banana")Code:history | less
Code:history | grep banana
in which file is it stored? and how can i configure it?
Another way to work with the history is to use the file ~/.bash_history, it is where history gets its data from.
Solved, just wanted to know how i can set nr of commands.
Bookmarks