customising terminal startup

lazer1 lazer1 at blueyonder.co.uk
Mon Apr 20 20:33:46 UTC 2009


when I open a terminal on recent Ubuntus (eg 7 and 8)


I always begin with the commands:


PS1="$ "

cd /media/SOMEDRIVE/somedirectory


as I dont need to be reminded of the current path as I can find that with 


pwd

and a current path prompt grates on my nerves!



and I like to go directly to a project directory.


How can I make such commands be done automatically whenever I start a terminal
(shell)?









More information about the ubuntu-users mailing list