Podcast
Questions and Answers
What are the differences between hard disk drives and solid state disks? (Choose two correct answers)
What are the differences between hard disk drives and solid state disks? (Choose two correct answers)
How is the name of the IP address 198.51.100.165 stored on a DNS server?
How is the name of the IP address 198.51.100.165 stored on a DNS server?
Which of the following types of bus can connect hard disk drives with the motherboard?
Which of the following types of bus can connect hard disk drives with the motherboard?
Which Linux distribution allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as possible?
Which Linux distribution allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as possible?
Signup and view all the answers
What information can be displayed by top?
What information can be displayed by top?
Signup and view all the answers
Which of the following commands can be used to resolve a DNS name to an IP address?
Which of the following commands can be used to resolve a DNS name to an IP address?
Signup and view all the answers
What is true about the dmesg command? (Choose two correct answers)
What is true about the dmesg command? (Choose two correct answers)
Signup and view all the answers
Which of the following outputs could stem from the command last?
Which of the following outputs could stem from the command last?
Signup and view all the answers
What is the UID of the user root?
What is the UID of the user root?
Signup and view all the answers
Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?
Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?
Signup and view all the answers
What is true about the owner of a file?
What is true about the owner of a file?
Signup and view all the answers
Which of the following permissions are set on the /tmp/ directory?
Which of the following permissions are set on the /tmp/ directory?
Signup and view all the answers
Study Notes
Disk Types
- Hard disk drives (HDDs) have a motor and moving parts, and are prone to physical damage. Solid state drives (SSDs) do not have moving parts
- SSDs allow quicker access to stored data compared to HDDs
-
/dev/sda
is a typical hard disk device while/dev/ssda
is a typical solid state disk device. Though not all devices will follow this naming convention - SSDs can store data at a similar scale to HDDs but not significantly more
Reverse DNS
- Reverse DNS determines the hostname of a given IP address
- This is stored in the PTR record of a hostname.
- The IP address 198.51.100.165 is stored in the PTR record for 165.100.51.198.in-addr.arpa.
Motherboard Connections
- SATA is a bus used to connect hard disks to the motherboard
Linux Distributions
- CentOS is a Linux distribution that is similar to and compatible with Red Hat Enterprise Linux (RHEL)
- CentOS is commonly used where the RHEL license is not available
Linux Commands
-
top
command is used to display running processes, including information such as their CPU and RAM usage -
host
command resolves a DNS name to an IP address
Kernel Ring Buffer
-
dmesg
command displays the content of the Linux kernel's ring buffer - This ring buffer contains information about the kernel, including messages and errors
- The ring buffer is circular so older information can be overwritten if the buffer is full
Other Linux Commands
-
last
command presents login information, such as the time of the last login and the used terminal, among other things
UID of the User Root
- The user root has a User ID (UID) of 0.
Permission Modification
- The command
chmod 654 file.txt
sets the permissions on the filefile.txt
to-rw-r-xr--
. This means the owner can read and write, while others can only read and execute.
File Ownership
- Each file is owned by one user and one group
- The owner can change (and often has) full permissions to the file
- When a user is deleted, files owned by that user are not automatically removed
Directory Permissions
- The
/tmp/
directory has the permissionsrwxrwxrwt
. This means everyone has read, write, and execute permissions, and anyone can create files within the directory
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge on various aspects of Linux storage devices, reverse DNS, and motherboard connections. This quiz covers topics such as HDDs, SSDs, and Linux distributions like CentOS. Challenge yourself and see how well you understand these crucial concepts in Linux.