LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   delete all .bash* (https://www.linuxquestions.org/questions/linux-software-2/delete-all-bash%2A-121523/)

swmok 12-01-2003 03:40 AM

delete all .bash*
 
Hi All:

I want to delete all the files ".bashrc", ".bash_profile" and ".bash_history".
The point is "make it clear for a plain/stupid user" cause they will ask
about files.

However, the ".bash_history" file is generated for every logout.
What should I do?

Thanks.

Mok

gkoutsog 12-01-2003 04:52 AM

They are stored in /etc/skel but the dir location depends on the distro.
Make a backup of those files and try to change them as you see fit for your users

andrewlkho 12-01-2003 09:17 AM

Although if they get confused / whatever by this .bash_history file, they're hardly going to be technical users. Therefore, why don't they just pass the ls command without the -a option, or are they a different kind of user [eg ftp users - some clients automatically see those files]?


All times are GMT -5. The time now is 06:48 PM.