I'M trying to edit my back.bashrc file with the following aliases, but it want let me save it, only Save As. Also, I don't really know where in the file I could place these lines.

alias rm-'rm -i'
alias cp='cp -i'
alias mv=mv -i'

Thanks

Put those lines anywhere in the file. But you can just edit the .bashrc file and add that stuff in. Use vi or something at the command line.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.