Summary

You now have completed six hours of UNIX instruction, and you are armed with enough commands to cause trouble and make UNIX do what you want it to do. In this hour, you learned the differences between cp and mv for moving files and how to use mv to rename both files and directories. You also learned how to create directories with the mkdir command and how to remove them with the rmdir command. And you learned about the rm command for removing files and directories, and how to avoid getting into too much trouble with it.

Finally, if you were really paying attention, you learned how to identify which login shell you're using (csh, ksh, or sh) and how to change from one to another using the chsh command.

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.