I\'m trying to change the message of the day (MOTD) on my Ubuntu Amazon EC2 box so that it will display the git status of one of my directories when I SSH in.
The output
Pipe it to sed to insert 2 spaces at the beginning of each line.
sed
git status | sed 's/^/ /'