≡ Menu

~/.bash_logout

How to Run and Execute Command When I Log Out Of Linux Session?

I‘m using CentOS 7 server. I need to run a command when I logout using ssh or bash shell. So in Linux and Unix-like systems, how can I run a command to execute when I log out my session?
[click to continue…]

Ubuntu Set User Profile Under Bash Shell

Don’t Miss Any Linux Tips

Get nixCraft in your inbox. It's free: