Navigating system directories
One of the foundational aspects of working in a Linux environment is the ability to navigate the file structure and directories from the command line.
If you’re familiar with a filesystem on any computer, you’re already familiar with this concept. For example, a Windows OS might have a directory (folder) called Desktop
, Pictures
, Downloads
, or Documents
. These are all directories. Figure 6.1 shows an example directory called Physics
, which has three text files and a directory called Assignments
.
Figure 6.1: Example directory titled Physics
A directory is a folder, virtual box, container, or organizational structure used to hold and organize files and other directories. Figure 6.1 illustrates the UI program that allows everyday Windows users to navigate their filesystems. However, the CLI, shown in Figure 6.2, enables us to navigate and automate file management using commands.
Figure...