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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -