Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Chapter 3 – Exploring Linux Filesystem

Rating
-
Sold
-
Pages
9
Uploaded on
23-02-2024
Written in
2023/2024

Summary of Chapter 3 of the Linux+ CompTIA book. Topics discussed are: - Linux Directory Structure. - Viewing Files and Directories. - Displaying contents of text files. - Searching for text in text files - Editing text files - Review questions

Show more Read less
Institution
Course

Content preview

3. Exploring Linux Filesystems
The Linux Directory Structure
• A structure that organizes files is necessary to make it easier to find and manipulate data
and run programs
• Linux uses a logical directory tree to organize files into directories
• When a user stores files in a certain directory, files are physically stored in the filesystem
of a certain partition.
• The absolute pathname to a file or directory is the full pathname of a certain file or
directory starting from the root directory
• Linux structure contains a single root (referred to using /), with different filesystems on
hard drive partitions mounted to different directories on the directory tree.


Changing Directories

• When logged in, you are placed in your home directory
o a place unique for the user for storing personal files
o regular users usually have a home directory named after their user account under
the /home directory.
o Regardless of your user name, you can always use the ~ metacharacter to refer to
the home.
• You can use `pwd` (print working directory) command to confirm the system directory
you’re currently in.
• You can use the cd (change directory) command with an argument to change directory.
o If destination not specified, it returns you to your home directory
• A relative pathname is the pathname of a target file or directory relative to you current
directory in the tree.
o To refer to a directory one step back on the tree (parent directory) use two dots ...
• BASH shell uses Tab-completion feature when typing pathnames as arguments to
commands.

, Viewing Files and Directories
File types

• A linux system can have several types of files:
o text files
o binary data files
o executable program files
o directory files
o linked files
o special device files
o Named pipes and sockets
• Most files that contain configuration information are text files.
• A program is typically associated with several supporting binary data files
o store information such as common functions and graphics
• Linked files are files associated with another.
o they can represent the same data
o they can point to another files (also known as shortcut file)
• Special device files are less common than other file types
o represent different devices on the system
• Named pipe files identify channels that pass info from one process in memory to another.
• A variant of the pipe file is a socket file.
o allows a process on another computer to write a file on the local computer while
another process read from that file.


Filenames

• Files are recognized by their filenames
o can include up to 255 characters
o rarely longer than 20 characters
• Filenames that start with a period (.) are hidden files.
• The characters at the end of the filename indicate the file type

Connected book

Written for

Institution
Course

Document information

Summarized whole book?
No
Which chapters are summarized?
Chapter 3
Uploaded on
February 23, 2024
Number of pages
9
Written in
2023/2024
Type
SUMMARY

Subjects

$6.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
kennethherrera

Get to know the seller

Seller avatar
kennethherrera Keiser University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions