The title basically says it all. My .bashrc looks like this:
alias ls="clear ; ls -l --color --group-directories-first"
alias rm="rm -i"
alias mv="mv -i"
The -i
parameter for the rm
command works just fine.
I'm using the latest (as of yesterday) Linux Mint (Rebecca), 32-bit, Cinnamon, running in VMWare 10 on a Windows Vista Dell XPS 420 etc etc ask me if you need more info about all that.
So, Cyrus posted the correct answer in a comment, but not as an answers, so I'll post it here so the question can be closed. -i
only prompts if a file is about to get overwritten. In other cases there's no need to prompt. Thanks, Cyrus!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.