LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-10-2003, 05:33 AM   #1
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
systemwide bash login shell cleanup file


Is there a way to implement a systemwide bash cleanup file as there exists a systemwide initialization file (/etc/profile).

I do know about the user's .bash_logout file but I'd like to not use if for this task ...
 
Old 05-10-2003, 07:43 AM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
i think .bash_logout is the file you use for this, but I am not hundered percent if there is any other file.
 
Old 05-10-2003, 08:35 AM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Original Poster
Rep: Reputation: 46
I do not think that there's another file. The only way I can think of is if you write a wrapper around bash and use that as shell. I'd rather like to stay away from that of course ...

If anybody knows a way to do this besides that one plz post :-)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH Shell Scripting -- foreach file in folder??? AC97Conquerer Programming 11 07-06-2011 12:25 AM
login directly to bash shell openart Linux - Newbie 5 10-27-2004 08:05 AM
Rare problem - cant login into bash shell Xris718 Linux - General 2 07-16-2004 01:07 AM
starting bash as a login shell every time slackwarefan Slackware 3 04-30-2004 02:55 PM
How to login to bash shell inarin Linux - Newbie 1 10-07-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:12 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
Open Source Consulting | Domain Registration