Docsity

Batch File and Shell Script for Deleting Directories and Files in Windows and Linux, Assignments of Network security

Partial preview of the text

Download Batch File and Shell Script for Deleting Directories and Files in Windows and Linux and more Assignments Network security in PDF only on Docsity!

Workshop 1

A batch file deletes everything in “D:\temp\” (for windows) This batch file will delete everything in D:\temp\

The file request we hit any key to continue After the batch file was executed, all files were deleted I also make it run every 1 minute with the task schedule

And after the shell script file ran, everything was deleted