Linux / UNIX: Run Commands When You Log Out

in Categories , last updated November 23, 2010

I’ve written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX workstation using bash shell?

Bash String Concatenation

in Categories , , last updated November 18, 2010

How do I join two strings under BASH? I have two strings stored in two different variables (_p=/delta and _u=aqua) and how do I join this and assign it to another variable in bash?