LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-01-2003, 04:40 AM   #1
swmok
Member
 
Registered: Jul 2003
Posts: 152

Rep: Reputation: 30
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
 
Old 12-01-2003, 05:52 AM   #2
gkoutsog
Member
 
Registered: Sep 2003
Location: Greece
Distribution: RedHat,Mandrake
Posts: 38

Rep: Reputation: 15
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
 
Old 12-01-2003, 10:17 AM   #3
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
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]?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
$LINENO can't be modified in bash 3.0, while it can be in bash 2.05b Darwish Linux - Software 1 11-07-2005 03:57 PM
How to delete files that won't delete? di11rod Linux - Security 7 10-19-2005 10:14 PM
bash script to delete files c0d3 Programming 9 12-05-2004 11:45 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 07:42 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 03:46 AM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration