delete ".bash_history"
Hi All:
I want to delete all the files ".bash*" inside my folder. I've already delete ".bashrc" and ".bash_profile". However, everytime I logout. The system will update a ".bash_history" in my folder. How can I turn off this feature? (remember! my .bashrc and .bash_profile are not in the folder) Thanks. mok |
set the envirment variable HISTORY to 0 in /etc/profile.
|
Quote:
|
why exactly do you want to turn off this very useful feature?
e.g., forgot what command line you used last time you burned a cd? history | grep cdrecord |
Hey, I never knew about the "history" command..that's a kinda cool utility. thanks, agentforsythe!
|
yeah that command is good. If you run 'history' you see a list of commands with numbers next to them. If you want to run the command with the number 456 then you can just do:
!456 and it will run that command. Another great bash utility. |
All times are GMT -5. The time now is 08:48 AM. |