The advantage of such a script is that the file can be recovered if the deletion was a mistake. The following bash shell script called “safdel.sh” using a turnkey menu to offer the following choices: The user enters the file name to be deleted. The name is checked to make sure the file exists and…
↧