LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Making mv -i the default when calling mv in the shell? (https://www.linuxquestions.org/questions/linux-desktop-74/making-mv-i-the-default-when-calling-mv-in-the-shell-522986/)

rylan76 01-26-2007 07:24 AM

Making mv -i the default when calling mv in the shell?
 
How can I set up bash so that whenever I type

mv <filename> <destfilename>

mv -i is actually executed, NOT just mv??

acid_kewpie 01-26-2007 07:27 AM

just use an alias in your .bashrc: alias mv='mv -i'


All times are GMT -5. The time now is 08:27 AM.