Today we’ll look at aliasing two options, -i and -v, to three common Unix commands, cp, mv, and rm. TL;DR Add the following lines to the file where you keep your aliases: alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -iv" Be sure to source the file into an existing session…