show all terminal typed commands
what is the command to show all terminals commands, so it would have every users and every terminals and ssh connections commands? and what was command to take in use stopped process, and what is command for listing the stopped processes?
|
:confused: you mean commands that have been issued, or all possible commands?
you can use "history" (or read ~/.bash_history ?) for the former. the latter, try looking here: http://www.allcommands.com/index.php...%2520list.html to view processes, try running "ps aux" |
what is the command to show all terminals commands, so it would have every users and every terminals and ssh connections commands?
Can I ask why you want to do this? |
to know what people have been doing on specific server at on one glance.
|
You mean builtin-in-shell commands?
just read the bash manpage |
no, i mean the ones all users have typed to shell, example history, but it doesnt seem to show all commands different users have typed.
|
That's always stored in ~/.bash_history, but there's a limit to it, as defined by the env variable $HISTSIZE, that defaults to 500 lines
There's no simple other way to track all commands, and it's always possible for users to `unset HISTFILE`. There are patches for bash I believe that log everything that is input to bash.. IIRC something like BOFH bash patch ;-). |
All times are GMT -5. The time now is 04:29 PM. |