When you do, UNIX displays your current working directory name, preceded in logical order by the names of all the directories and subdirectories between it and the root directory. You can customize the ls output to meet your needs. For example, the -a option causes the ls command to display all the contents of a directory. To illustrate, list all the files contained in your current working directory. Try it now, adding the pwd command so you can monitor the change.
Test is an empty directory.
If you type ls -a, you'll see that Test contains only the . As stated earlier, these files refer to the current directory and the parent directory, respectively. There is, however, a better way to return to your home directory. No matter what your current working directory is, you can always return to your home directory. You are not limited to moving only one level at a time when using the cd command.