Differences between version 2 and previous revision of Aliases.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Sunday, November 19, 2006 5:04:47 pm | by BenStaz | Revert |
Older page: | version 1 | Last edited on Sunday, November 19, 2006 5:03:51 pm | by BenStaz | Revert |
@@ -19,10 +19,10 @@
This alias will only last while you have this terminal window open if you want a permanent one, read on :)
!UBUNTU
-First we edit your ~/.bashrc file.
-*sudo nano ~/.bashrc
+First we edit your ~
~/.bashrc file.
+*sudo nano ~
~/.bashrc
Now scroll down to find:
<verbatim>
#if [ -f ~/.bash_aliases ]; then
@@ -32,8 +32,8 @@
Uncomment these three lines (or if they don't exist add them). Now save.
Now do:
-*nano ~/.bash_aliases
+*nano ~
~/.bash_aliases
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 reboot and open a terminal. Hopefully your aliases will work like a charm.