My team does not have root access however many a times my members logon to the unix server and fire the rm command mistakenly on wrong folder and later realise that they have made a mess.
The rm -i option prompts for a confirmation before actually deleting the files/folders.
I want to force the -i option to all my team members when they fire the rm command inorder to address the concern.
Can you please let me know how can that be addressed?
Hi,
this is usually done by an alias which can be defined in the global profile (/etc/profile for Bourne shell and its descendants like bash, ksh,...).