Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Time to move on?
Date: Tue, 24 Mar 2009 05:21:03
Message-Id: 49C86DB7.2070503@gmail.com
In Reply to: Re: [gentoo-user] Time to move on? by Hilco Wijbenga
1 Hilco Wijbenga wrote:
2 > 2009/3/23 Dale <rdalek1967@×××××.com>:
3 >
4 >> Oh, OK. <Dale waves hand over head.> If it is set up to add that
5 >> option, how do you tell it not to use it?
6 >>
7 >
8 > alias ls='/bin/ls --color'
9 > alias l='ls -l'
10 >
11 > With these aliases in your .bashrc (or whatever is appropriate in your
12 > environment), you can now use 'ls' and 'l'. Of course, you already had
13 > 'ls' (namely /bin/ls).
14 >
15 > If you simply type 'ls' then you are using the alias and you get
16 > colour output. If you don't want colour output you use '/bin/ls' (the
17 > actual binary). Typing 'l' basically runs '/bin/ls --color -l'. If you
18 > don't want that then you don't use 'l'.
19 >
20 >
21 >
22
23
24 Oh, Cool.. I see now. So basically you sort of change the command as
25 well. Now that command that someone else posted makes sense too.
26
27 Thanks.
28
29 Dale
30
31 :-) :-)