Linux Command Line Tips

Some handy tips for working in the command line on Linux.

source ~/.bashrc Forces bash to reload the .bashrc file in your home directory. I used it when I have modified the .bashrc file e.g added a new alias or function

Echo’ing in colours. Good for scripts:
echo -e '\E[colour1;colour2Your Text.'
where colour1 is the background colour and colour2 is the font colour

Echo’ing in colour

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.