Hour 6. Creating, Moving, Renaming, and Deleting Files and Directories

In this hour, you learn the basic UNIX file-manipulation commands. These commands will explain how to create directories with mkdir, remove directories with rmdir, use cp and mv to move files about in the file system, and use rm to remove files. The rm command has its dangers: You learn that there isn't an “unremove” command in UNIX and how to circumvent the possible dangers that lurk in the program.

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.