linux - creating an alias and then store? -


i want create alias cp, mv, , rm commands somehow prompts user confirmation , store commands in bashrc file. how this? create alias , copy them or append them ~/.bashrc file?

yes, copy exact alias command in console, ~/.basrc file.

remember new alias take effect after relaunch terminal emulator (strictly speaking, bash process).

edit:

the obligatory link high-rated question on topic.


Comments