Skip to content
Home » Write-ups » Navigating the Linux Filesystem from the Terminal Prompt

Navigating the Linux Filesystem from the Terminal Prompt

Watch the video.


Changing Directories:

– to the root of the filesystem:

# cd / 

– to a child directory:

# cd <directory name> or cd ./<directory name>

– to the parent directory:

# cd ..

– to the previous working directory:

# cd -


Clearing the terminal window:

# clear

or

Ctrl+L


Displaying the Present Working Directory:

# pwd


Listing a directory’s content:

# ls

or

# ls <path to directory>


Displaying information on a command:

# man <command>

or

# <command> --help

Leave a Reply

Your email address will not be published. Required fields are marked *