Changes

Jump to: navigation, search

Tutorial2: Unix / Linux File Management

8 bytes added, 11:29, 27 August 2020
KEY CONCEPTS
[[Image:directory-structure-1.png|thumb|right|350px|In Unix / Linux (as opposed to MS Windows), there are no drive letters (such as '''C:''', or '''D:''').<br><br> All files and directories appear under a single ancestor directory called "the '''root''' directory".<br><br>A path points to a file system location by '''following the directory tree hierarchy''' expressed in a string of characters in which path components, separated by a delimiting character, represent each directory. The '''delimiting character''' is most commonly the slash ("'''/'''").]]
The Unix/Linux file system is '''hierarchical''', similar to other operating systems such as<br>'''Windows''', '''Mac OSX''', etc.
Files are organized in '''directories'''. Directories may contain sub-directories.
In Unix / Linux (as opposed to MS Windows), there are no drive letters (such as C:, or D:). All files and directories appear under a single ancestor directory called the "'''root directory'''".
Learning how to issue Linux commands for navigating the Linux filesystem and manipulating directory and files are '''essential skills''' for Linux users and administrators.
In the Linux (Unix) OS, the "'''root directory'''" / is the starting directory, and other "child directories", "grandchild directories", etc. are can be createdas needed. The hierarchical structure resembles an "upside- down tree". There is actually a command called '''tree''' that can display a "'''tree diagram'''"!
<br><br>
=== Directory Pathnames ===
A '''pathpathname''', is used to specify a the general form of the name location of a file or directory, specifies a '''unique location''' in a within the file system.<br>A path pathname points to a file system location by '''following the directory tree hierarchy''' expressed in a string of characters in which path components, separated by a delimiting character, represent each directory. The '''delimiting character''' is most commonly the slash ("'''/'''").
Reference: https://en.wikipedia.org/wiki/Path_(computing)
When you log into your Matrix account, you are automatically directed to your '''home''' directory. This directory is where the user can store files, and create subdirectories to organize their files.
We will now learn to create and manage subdirectories within <u>your</u> home directory.
13,420
edits

Navigation menu