Aliases You Didn’t Know You Wanted: Options `-iv`

Photo by Hello I'm Nik 🎞 on Unsplash

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"