Chapter 1,2 - Installing Red Hat Enterprise Linux, Using Essential Tools Flashcards
What is Linux?
Linux is a free operating system. That means that the source code of all programs is available for free. However, some enterprise Linux distributions are sold as commercial products, with bundled support and maintenance, which is the case for RHEL 8
What are the two free alternatives to Redhat?
CentOS 8
Fedora
What is a Repository?
A repository is the installation source used for installing software. If you are using free software such as CentOS, correct repositories are automatically setup, and no further action is required. If you are using Red Hat Enterprise Linux with a subscription, you’ll need to use the Subscription Manager software to get
access to repositories.
What is the default file system RHEL 8 uses?
RHEL 8 by default uses the XFS file system. This file system cannot be shrunk; it can only be expanded. Therefore, it is sometimes a better choice to use Ext4.
What is a Shell?
The shell is the default working environment for a Linux administrator. It is the environment where users and administrators enter commands that are executed by
the operating system.
Which is the most common shell used?
Different shells for Linux are available, but Bash is the most common shell.
What are the 3 basic parts of a command?
the command, its options, and its arguments.
What are the 3 different kind of commands?
Aliases - An alias is a command that a user can define as needed
Internal Commands - An internal command is a command that is a part of the shell itself and, as such,
doesn’t have to be loaded from disk separately
External Commands - An external command is a command that exists as an executable file on the disk of the computer
Where are the external commands looked at when executed?
the $PATH variable.
To find out which exact command the shell is using and from where is it being loaded?
which command
What are the I/O redirection file descriptor numbers?
NAME - FILE DESCRIPTOR
STDIN - 0
STDOUT - 1
STDERR - 2
How do you redirect STDERR to the same destination as STDOUT?
2>&1
eg. ls whuhiu > errout 2>&1
What is a device file in Linux?
A device file on Linux is a file that is used to access specific hardware. eg.
HDD - /dev/sda, the console of your server is known as /dev/console or /dev/tty1
Which command to show a list of all commands in the Bash history?
history
How to execute a command with a specific number from history?
!number