Re: Common bash aliases

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: Main PLUG discussion list
Subject: Re: Common bash aliases
> > alias ls='ls -aF --color=always'

I commonly run "unalias ls" because in some environments I work in, the
consoles make it hard to read directory listings in many colors.

> alias rm='rm -i'
> alias cp='cp -i'
> alias mv='mv -i'


When adding to your Tips document, be sure to add a comment that many do
not like this forced confirmation prompting. It may cause bad habits --
where the admin assumes that will be prompted for confirmation before
unlinking, overwriting, or renaming files -- which is not true using
default rm, cp, and mv. As for me, I very frequently run "unalias" for
these.

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss