I have some Amazon EC2 instances that run Ubuntu 10.04.1 LTS.
Every time I connect to those instances I run a couple of simple commands, like a
cd <repository>, a
git status etc.
How can I add them to a script / to which script should I add them so they would be automatically ran every time, on SSH connect?