To create an empty file, move to your login directory and use the touch
command at the shell prompt. To try it, type:
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:
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.