Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line




Download 6,34 Mb.
Pdf ko'rish
bet7/203
Sana10.01.2024
Hajmi6,34 Mb.
#134102
1   2   3   4   5   6   7   8   9   10   ...   203
Bog'liq
Linux This Book Includes 4 Manuscripts The Underground Bible

Linux File System Structure
Files: Types
The basis of the Linux filing system will include the file, which is nothing
other than the structure used by the operating system to store information
on a physical device such as a hard drive, a floppy disk, a CD-ROM or a
DVD. Naturally, a file can contain any type of information that you would
ilke, from an image in PNG or JPEG format to a text or a web page in
HTML format. The file system is the structure that allows Linux to handle
the files it contains .
All Linux files have a name, which must comply with certain rules:
❖ 
A file name can be between 1 and 255 characters

You can use any character except the slash / and it is not
recommended to use the characters with special meaning in Linux,
which are the following: = \ ^ ~ '"` *; -? [] ()! & ~ <>
To use files with these characters or spaces you must enter
the name of the file between quotation marks
❖ 
Numbers can also be used if desired.

Uppercase and lowercase letters are considered different, and
therefore letter.txt is not the same as Letter.txt or letter.Txt
As in Windows, a certain "type" criterion can be used to mark the different
kinds of files using a series of characters at the end of the name that
indicates the type of file in question. So, the text files, HTML, PNG or
JPEG images have extensions .txt, .htm (or .html), .png and .jpg (or .jpeg)
respectively.
Despite this, Linux only distinguishes three types of files:
❖ 
Files or ordinary files are those mentioned above
❖ 
Directories (or folders), is a special file that groups other files in a
structured way


❖ 
Special files are the basis on which Linux sits since they represent
the devices connected to a computer, such as a printer. In this way,
enter information in that file is equivalent to sending information to
the printer. For the user, these devices have the same appearance and
use than ordinary files
Links
Links are an ordinary file type that have the goal to create a new name for a
determined file. Once the symbolic link is created, it allows access to the
file that links in the same way as if we had copied the contents of it to
another file, with the advantage that it has not really been copied. The
symbolic links are especially useful when you want a group of people to
work on the same file since they allow sharing the file but centralizing the
modifications.
As an example, you can assume the existence of a file called
balance.1999.txt, to which a link is created symbolic balance.txt. Any
access to balance.txt is translated by the system so that you access the
balance content.1999.txt.

Download 6,34 Mb.
1   2   3   4   5   6   7   8   9   10   ...   203




Download 6,34 Mb.
Pdf ko'rish

Bosh sahifa
Aloqalar

    Bosh sahifa



Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line

Download 6,34 Mb.
Pdf ko'rish