• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Unix Basics for Mac OS X > Removing Files & Directories with rm & rm...

Removing Files & Directories with rm & rmdir

Unix includes two commands that you can use to delete files and directories: rm (remove) and rmdir (remove directory).

Caution

  • rm may be the most dangerous command in Unix. Because Unix doesn’t have a Trash that lets you recover mistakenly deleted files, when you delete a file, it’s gone forever.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint