where are a user's commands saved?
I read in my redhat9 book that in
Code:
/etc/profile /home/user1 and do a Code:
ls -al Where are the commands saved (I am logged in as "user1" and using the bash shell and the up arrow brings back the commands I have executed). Thanks. |
Try ~/.bash_history
Note that users can easily clear this list so it won't guarentee the files containing every command that has been run. |
You can also just type "history". "man history" will give you some interesting info on how to use this command.
|
All times are GMT -5. The time now is 06:07 AM. |