Red Hat Linux 7.1: The Official Red Hat Linux Getting Started Guide | ||
---|---|---|
Prev | Chapter 11. Managing Files and Directories | Next |
To create an empty file, move to your login directory and use the touch command at the shell prompt. To try it, type:
touch foo.bar |
Now, in your login directory, you've got an empty file called foo.bar.
Let's also create a new directory, using the mkdir command.
Move to your login directory and type:
mkdir tigger |
Now, you've created a directory called tigger in your login directory. Your new directory's absolute pathname is /home/yourlogin/tigger, and your home directory is the parent of tigger.