Working with Files at the Unix Shell Prompt

When working with Unix, you will most likely find it easiest to work with tools at the shell prompt. Using commands such as touch and rm is very helpful, and these commands perform different niche-based functions in much the same way as the whereis command covered in the last lesson. In Unix, there are multiple ways to create a file and edit it.

The command line is your primary interface to the Unix file system as well as your primary tool for creating, deleting, and rearranging your files. In this part of the lesson, we will learn how to manipulate data within the Unix system with the touch command as well as with commands used to help you remove newly created data on your Unix system.

Get SAMS Teach Yourself Unix in 10 Minutes 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.