Commands with options: (was: war story: parallel(1) command)

Chris F.A. Johnson chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org
Mon Jul 29 01:07:24 UTC 2013


On Sun, 28 Jul 2013, D. Hugh Redelmeier wrote:
...
> Fedora seems to provide an alias for ls that I detest (from
> /etc/profile.d/colorls.sh):
> 	alias ls='ls --color=tty' 2>/dev/null
>
> Why do I dislike this?
>
> - it wasn't what I'm used to
>
> - it was foisted on me without announcement

    Many distros set a number of aliases, some of them dangerous (e.g.
    alias rm='rm -i'). That's why I always have 'unalias -a' at the top
    of my .bashrc.

-- 
    Chris F.A. Johnson, <http://cfajohnson.com/>
    Author:
    Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list