Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Return color labeling to the ls command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Return color labeling to the ls command
Authored by: iu-macboy on Oct 30, '03 08:21:48AM
for the tcsh shell, issue this command...

alias ll 'ls -alG'

Then type ll. Presto! You can do the same for the ls too...

alias ls 'ls -G'

To do this in bash, use...

alias ll='ls -alG' and alias ls='ls -alG', respectively.

---



[ Reply to This | # ]

Correction...
Authored by: iu-macboy on Oct 30, '03 09:47:18AM
the last line should be...

alias ll='ls -alG' and alias ls='ls -G'

---



[ Reply to This | # ]