History command
Is it possible to list the history for a specific user?
|
What, their bash history?
Yes: "less /home/username/.bash_history" |
Thanks oneandoneis2, and what if i want to clear it incase i dont want any one to view my last 100 commands.
|
- Whatever text editor you happen to like to prune specific entries.
- rm .bash_history - history -c |
if you have access to that users bash, then "histroy -c" would do the trick
|
Thanks guys.
|
All times are GMT -5. The time now is 03:31 AM. |