Goals for this Hour

In this hour, you learn how to

  • Create new directories using mkdir

  • Copy files to new locations using cp

  • Move files to new locations using mv

  • Rename files using mv

  • Remove directories using rmdir

  • Remove files using rm

  • Minimize the danger of using the rm command

This hour introduces several tremendously powerful commands that enable you to create a custom file-system hierarchy (or wreak unintentional havoc on your files). As you learn these commands, you also learn hints and ideas on how best to use the UNIX file system to keep your files neat and organized. Not only are these simple UNIX commands, all new in this hour, found in all variants of UNIX, both BSD-based and System V-based, but they also can be brought onto DOS through utilities ...

Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.