Enable confirmation when overwriting file with CP on (Debian) shell

vi /root/.bash_profile

Add:

alias cp=’cp -i’
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp