Differences between current version and predecessor to the previous major change of Aliases.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

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 nano /etc/apt/sources.list'</tt> 
+<tt>alias apt='sudo vim /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. 
-*<tt>sudo nano ~~/.bashrc</tt> 
+*<tt>sudo vim ~~/.bashrc</tt> 
 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. 
 Now do: 
-*<tt>nano ~~/.bash_aliases</tt> 
+*<tt>vim ~~/.bash_aliases</tt> 
 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.