File & Directory

pdw: Shows the current working directory.

ls: List the files in the current directory.

    • ls -l: List file size and other info about each file.
    • ls -a: List hidden files.

cd: Change directory

cd \: Go to the root directory

cd : Go to the home directory

cd..: Go up one directory

cd egg: Change to the egg subdirectory

cd ~/Desktop: Change to the desktop directory in the home directory.