A directory is a file that points to the locations of other files and directories. It is an intermediate node in the filesystem tree. This is called your current directory or working directory . Simply type pwd . This allows you to move up and down the directory tree.
Every user has a home directory .
This directory contains all of your personal files and subdirectories. If you type cd with no directory name after it, you are moved to your home directory. To find out the name of your home directory, type cd followed by pwd . You are considered the owner of all files and subdirectories in your home directory. This means that you have total, unrestricted access to these files.