Quantcast
Channel: N.J 180 Degree » Unix/Linux
Viewing all articles
Browse latest Browse all 9

Shell script for safely delete a file

$
0
0
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…

Viewing all articles
Browse latest Browse all 9

Trending Articles