Course Overview

/

Deleting Files

Deleting Files

Deleting Files

Getting rid of files is an OS function needed to be known by any level of user and to remove files from a Unix/Linux OS using the command line interface is as simple as using the command "rm".

· Rm newfile.txt

If the file is protected or the root user created it the command "rm -rf" will need to be used, it will "force" the removal of the file.