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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -