View on GitHub

reading-notes

Observations and questions from reading assignments.

The Command Line

Home

The command line, or terminal is a text based interface to the system that allows us to enter commands by typing them on the keyboard. Opening a terminal varies depending on the operating system, but is fairly easy.

There’s vast array of commands within the terminal but some of the most commons are as follows:

Command Line 1

There are two types of paths available for use; absolute and relative. Absolute paths specify a location (file or directory) in realtion to the root directory. They are easily identified by the / at the beginning. Relative paths specify a location (file or directory) in relation to the current location in the system. These do no begin with a slash.

Command Line 2

Command Line 3

Other systems like Windows are case insensitive, when it comes to referring to files. Linux makes it possible to have multiple files of the same name with different cases.

Command Line 4

Note about hidden files - Using the command line option -a lets us view hidden files within a target directory.

Command Line 5

Command Line 6