Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I empty a folder on logout using gnome in fedora 4

Status
Not open for further replies.
Dec 18, 2002
59
GB
Hi gurus,
I want to remove/empty files from a folder in my home when logging out using gnome, I added rm -rf /folder/* in the .bash_logout but it has no effect. Your help would be appreciated.
 
is the absolute path correct for /folder/* or
are you really trying to remove
~/folder/*
 
Sorry Yes the path is from home ~/folder/*,
please note that it works from an ssh session to the machine but I want it to work under gnome session. Any ideas how I can get the gnome to read .bash_logout file or is there another file that gnome looks at when logging out?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top