3 Basic Commands and Simple Shell Scripts Once you have your first Red Hat Enterprise Linux rhel



Download 1.85 Mb.
View original pdf
Page12/67
Date26.02.2024
Size1.85 Mb.
#63678
1   ...   8   9   10   11   12   13   14   15   ...   67
Pablo Iranzo Gómez, Pedro Ibáñez Requena, Miguel Pérez Colino, Scott McCarty - Red Hat Enterprise Linux 9 Administration-Packt Publishing (2022) -chap 3 82 - 180
The filesystem hierarchy
Linux has a standard, maintained by the Linux Foundation, that defines the filesystem hierarchy used in almost every Linux distribution, including RHEL. This standard is known as the FHS, or the Filesystem Hierarchy Standard. Let’s review the most important folders in the standard and the system itself here:

Using the command line, environment variables, and navigating through the filesystem
75
Table 3.2 – The most important folders in the filesystem

Basic Commands and Simple Shell Scripts
76
Tip
Previous versions of RHEL used to have bin for the essential binaries and /usr/bin for the nonessential ones. Now, the content of both resides in /usr/bin. They also used /var/
lock and /var/run for what is running in run. In addition, they used to have lib for the essential libraries and /usr/lib for the nonessential ones, which were consolidated into a single directory, /usr/lib. And last but not least, /sbin is the directory for the essential superuser binaries, and /usr/sbin is the directory for the nonessential ones, merged under
/usr/sbin.
When partitioning, we may well be asking ourselves, where does the disk space go?
These are the allocation values fora minimal installation of RHEL 9 and the recommendations:
Table 3.3 – The allocation values fora minimal installation of RHEL 9

Understanding IO redirection on the command line
77
It’s important to become familiar with the main directories in the system to make the best of them. It is recommended to navigate through the different system directories and look at what’s in them to become comfortable with the structure. In the following section, we will look at how to perform redirections on the command line to learn more about command and file interaction.

Download 1.85 Mb.

Share with your friends:
1   ...   8   9   10   11   12   13   14   15   ...   67




The database is protected by copyright ©ininet.org 2024
send message

    Main page