basics

Contents

Roadmap info from roadmap website

In Linux, navigation between directories and files is a fundamental, yet essential function that allows you to exploit the power of the command-line interface (CLI). Mastering the basic Linux navigation commands such as cdpwdls, and tree enables you to flawlessly move from one point to another within the filesystem, display the list of files & directories, and understand your position relative to other system components. These commands are advantageous not just to system administrators but to anyone interacting with Linux environments, hence familiarizing yourself with them is a critical step in building Linux proficiency.

Here is how you use these commands:

  • To change directories, use the cd command:
cd /path/to/directory
  • To print the current directory, use the pwd command:
pwd
  • To list the contents of a directory, use the ls command:
ls
  • The tree command displays directories as trees (system hierarchy):
tree
#ready #online #reviewed #linux #operative-system #basic