The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




Thread: .logout
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 12-23-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Like jlliagre said, it depends on the shell. As far as I know, csh provides you with .logout that runs commands while logging out of a session, while bash provides you with .bash_logout. Ksh and sh do not provide this functionality.