15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NOTE It helps to visualize a directory tree as upside down, because in

geekspeak, the trunk, or root directory, is described as “above” the folders

that divide it, and those subfolders “below” root are spoken of as being

“above” the other subfolders inside them. For example, “The file is in the

Adobe folder under Program Files.”

When describing a drive in Windows, you use its letter and a colon. For

example, the hard drive would be represented by C:. To describe the root

directory, put a backslash (\) after the C:, as in C:\. To describe a particular

directory, add the name of the directory. For example, if a PC has a directory

in the root directory called Test, it is C:\Test. Subdirectories in a directory are

displayed by adding backslashes and names. If the Test directory has a

subdirectory called System, it is shown like this: C:\Test\System. This

naming convention provides for a complete description of the location and

name of any file. If the C:\Test\System directory includes a file called

test2.txt, it is C:\Test\System\test2.txt.

The exact location of a file is called its path. The path for the test2.txt file

is C:\Test\System. Here are some examples of possible Windows paths:

macOS and Linux also use paths. Folder names are separated by a forward

slash (/), however, instead of the backslash used by Windows. Also,

Windows and macOS are not case sensitive, while Linux is. For example, in

Linux it’s perfectly acceptable to have two folders called “Mike” and “mike”

inside the same folder. Windows does not allow this. Here are some

examples of macOS and Linux paths:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!