










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











โ CNAME record (canonical name record) Answer: Creates an alias from one domain name to another, essentially pointing to another record โ MX Record (Mail Exchange Record) Answer: Specifies the mail server responsible for accepting emails for a domain. โ NS Record (Name Server Record) Answer: Indicates which DNS server is authoritative for a domain. โ PTR Record (Pointer Record) Answer: Used for reverse DNS lookups, mapping an IP address to a domain name. โ SOA Record (Start of Authority Record)
Answer: Contains administrative information about the DNS zone. โ SRV record (service record) Answer: Specifies the location of servers for specific services within a domain. โ TXT Record (Text Record) Answer: Stores arbitrary text information, often used for things like email authentication or domain verification โ /dev/sd* Answer: The disk names in Linux are alphabetical. /dev/sda is the first hard drive (the primary master), /dev/sdb is the second etc. The numbers refer to partitions, so /dev/sda1 is the first partition of the first drive. โ Linux Drivers Answer: software components that enable the operating system to interact with hardware devices
โ stdin (Standard Input) Answer: the file descriptor 0, and it allows programs to receive input from the user or other sources. โ stdout (Standard Output) Answer: is represented by the file descriptor number 1. The default file descriptor where a process can write output. โ stderr (Standard Error) Answer: is a dedicated stream used by programs and commands to send error messages and diagnostic information. 2 โ Linux and Hard Drives Answer: 1. Partition of drive needs to be manually mounted in order to use it.
Answer: SATA, SAS, and sometimes USB buses โ the 3 components that make up any Linux distribution Answer: kernel, the shell, and the programs โ Debian Family Answer: Debian and Ubuntu Server (stable), Ubuntu/Mint (desktop/consumer), KALI (ethical hacking/pentesting) โ Red Hat Family Answer: Fedora (upstream distro) > RHEL > CentOS, Oracle Linux, Scientific Linux (all downstream distros) โ Ubuntu: Releases Answer: published twice yearly in April and October (e.g., Ubuntu 22.04, Ubuntu 22.10)
โ Package Management Tools Red Hat Answer: : Low-level is rpm; High-level are yum, dnf โ SuSE Answer: is a Slack-based distro but shares some elements of Red Hat (e.g., rpm package format for interoperability via the zypper pacakge manager) โ /proc Answer: a virtual filesystem that provides an interface to kernel data structures and system information โ /sys Answer: also known as sysfs, is a virtual filesystem that provides an interface to the kernel for accessing and managing hardware and device information.
โ /dev Answer: a directory that contains special or device files, which are interfaces to hardware devices and other system resources โ psuedo-virtual filesystems Answer: are special file systems that don't store data on physical storage devices like hard drives โ /boot Answer: a directory that contains files necessary for the system to boot โ /etc/hosts Answer: is a local file that maps hostnames to IP addresses โ /etc/resolv.conf Answer: is a configuration file that tells the system how to resolve domain names into IP addresses
โ shell uses spaces Answer: to determine where one command or argument ends and another begins โ "wrap" a long command Answer: by using the backslash character () as a line continuation character. โ nodes Answer: linked pages for the info command โ absolute path Answer: a complete path from the root directory (/) to a specific file or directory โ relative path Answer: is a path relative to the current working directory.
โ File Hierarchy Standard (FHS) Answer: a set of guidelines that define the directory structure and contents of Unix-like operating systems, particularly Linux โ PPID Answer: parent process ID โ PID Answer: Process ID โ tar - c Answer: Create a new archive โ tar - x
Answer: zip compresses files by default โ find Answer: locates files based on file names, ownerships, and other permissions at the file system level โ grep Answer: - locate files containing specific strains and display the lines that contain those strains into our file or to the screen. Grep searches is going to search for patterns within the conscious of files โ locate Answer: to find files and directories quickly โ sudo updatedb Answer: Command to update the locate database
โ echo Answer: utility used to display text or other content to the terminal. โ /usr/share/doc Answer: Directory containing additional documentation files, such as readme files and support for third-party software. โ Tar Answer: (Tape archiver) - used to archive various data files into a single file (archive file) while the original files remain on the disk โ Tarball Answer: a file that contains an archive of other files and directories, often compressed for easier storage and transfer. โ GZIP (.gz)
Answer: Displays all files in a directory as well as all files in all subdirectories in the directory. Accomplished using the - R option to the ls command. โ Absolute references Answer: ยท relative to the root directory
โ rm - r newfolder Answer: will delete recursive delete. Will delete everything in the folder โ? Answer: it stands for a single character โ * Answer: match any character or none at all โ [] Answer: only matches charaters enclosed inside square brackets, they will only match any character inside the letters โ Case sensitivity is