Verbose Unix commands by default (rm/cp/mkdir/etc)

If you want to see output of what these commands is doing, you can add the optional "-v" flag.

Or, you can add this to your .bash_profile (or whatever shell you're using)

alias cp='/bin/cp -v'
alias mv='/bin/mv -v'
alias rm='/bin/rm -v'
alias mkdir='/bin/mkdir -v'
alias rmdir='/bin/rmdir -v'

 

November 16, 2011 at 2:03pm / Linux 

Comments On This Entry

I appreciate you taking to time to cotnrbuite That's very helpful.

Rochi @ 09:49:35 AM, Sunday, January 8, 2012

Compose New Blog Comment
    required = required field         warning HTML and URL's are not allowed

[back to main]