Some more default aliases for bash
Bug #9349 reported by
Leo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Fix Released
|
Wishlist
|
Matthias Klose |
Bug Description
Just some aliases that would make life a little easier if they were default for
those times when one must delve into the horrid world of a terminal or console
*grin*
Make cding up a directory easier:
alias ..='cd ..'
alias cd..='cd ..'
Make df produce some human readable(Read: userfriendly) units:
alias df='df -h'
Guard against accidental loss of data by removing the wrong thing, copying over
somehting when you didn't really mean it, and likewise for moving.
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
To post a comment you must log in.
I'm strongly against the rm/cp/mv aliases as a default, and I think the DOS-ish
ones are probably not appropriaate either (they encourage bad habits).
It seems unnecessary to make df prettier when we offer a nice, graphical disk
usage display in the System Monitor application.
My general feeling on such changes is that users who are accustomed to the
command line should get what they expect from a Unix-like system, and users who
are not familiar with the command line should not need to venture into it :-)