
Linux
In Windows, you use this format to access a directory:
C:\Folder1\subfolder\file.txt
In Linux, this is the basic format:
/Folder1/subfolder/file.txt
You'll notice that the slashes are forward slashes in Linux versus backslashes in Windows. Also, there is no drive name (C:, D:, etc.) in Linux. At boot, the 'root partition' is mounted at /. All files, folders, devices and drives are mounted under /. Though it is not apparent from this example, it is important to note that files and folders in Linux are case sensitive. /Folder1/subfolder/file.txt is not the same as /folder1/subfolder/file.txt.
Copyright © 2026 eLLeNow.com All Rights Reserved.