The Linux Directory Commands?

There are five(5) main Directory Commands in Linux:

pwd: Displays the path of the present working directory.

Syntax: $ pwd


ls: This Linux command lists all of the files and directories in the present working directory. These are several options and combinations for this command, which will by discussed, with examples, on separate pages.

Syntax: $ ls


cd: Used to change the present working directory.

Syntax: $ cd <path to new directory>


mkdir: Creates a new directory

Syntax: $ mkdir <name (and path if required) of new directory>


rmdir: Deletes a directory

Syntax: $ rmdir <name (and path if required) of directory>

No Results Found

The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.