|Newer page:||version 7||Last edited on Tuesday, August 14, 2007 12:29:10 pm||by BenStaz|
|Older page:||version 6||Last edited on Monday, November 20, 2006 9:21:58 am||by CraigBox||Revert|
@@ -8,9 +8,9 @@
Of course there are much more useful aliases to be made than the one above!
Take for example:
+<tt>alias apt='sudo /etc/apt/sources.list'</tt>
Think about how many times you have edited this file. Wouldn't typing 'apt' be so much nicer?
This alias will only last while you have this terminal window open if you want a permanent one, read on :)
@@ -21,9 +21,9 @@
!Making aliases permanent
First we edit your ~~/.bashrc file.
Now scroll down to find:
#if [ -f ~/.bash_aliases ]; then
@@ -33,11 +33,11 @@
Uncomment these three lines (or if they don't exist add them). Now save.
Add all your aliases (in the same format as above) with each being on a separate line. Save when you are done.
Good stuff, now open a new terminal. Hopefully your aliases will work like a charm.