How To Create Your Own Aliases



Aliases are great things to make life much easier when working in the terminal. If you are getting fed up with typing cd /home/me/Desktop/work all the time, then using an aliases, you can simplify that to just typing something like mywork.

so to add your own aliases, you need to add them directly into your .bashrc file.
The format of them should be: alias name='command'
For example, this could be: alias mywork='cd /home/me/Desktop/work'
Now once your terminal session has been restarted, when you type in the command mywork, the command will be executed.




Share your views...

1 Respones to "How To Create Your Own Aliases"

Stanwmusic said...

Great time saver!


1 December 2011 05:04

Post a Comment

 

About Me

Hey! I'm Jam, a part time web developer / blogger form the UK. I have a love for anything involving Artificial Intelligence, and robotics.

I'm also quite a fan of Ubuntu Linux! And I'm guessing you are since you're here? If you would like to contribute your own posts to this blog, then please get in touch!

Thinking about getting your own website? Click on the below link for great prices, and great designs!

Jam1e.co.uk

Our Partners

Would you like to see your link here? Contact us to find out how!

© 2010 Jam's Ubuntu Linux Blog All Rights Reserved Thesis WordPress Theme Converted into Blogger Template by Hack Tutors.info