Search⌘ K
AI Features

File System Navigation Commands

Explore fundamental Bash commands for navigating the file system, including how to display your current directory, change directories, list directory contents, and locate files. Understand the difference between built-in commands and utilities, and learn to use these commands within the Bash shell efficiently.

We'll cover the following...

Bash commands

We’re ready to learn our first Bash commands! The following are the steps to execute a shell command:

  1. Open the terminal window.
  2. Type the command there.
  3. Press “Enter.”

The shell will execute our command.

When the shell is busy, it cannot process our input. We can distinguish the shell’s state by the command prompt, a sequence of one or more characters. The default prompt is the # sign. If the shell prints the prompt, it’s ready to execute our command.

We can take the following actions to navigate the file system:

  • Display the current directory.
  • Go to a specified disk drive
...
Navigating the file system