AWS Flashcards
(141 cards)
Display system information
uname -a
Display kernel release information
uname -r
Show version of redhat installed
cat /etc/redhat-release
Directory contains static files required to boot the system, for example, the Linux kernel
/boot/
Contains device nodes that represent the following device types:
devices attached to the system;
virtual devices provided by the kernel.
/dev/
Directory is reserved for configuration files that are local to the machine. It should contain no binaries
/etc/
Directory controls which file systems export to remote hosts.
/etc/exports
This directory should only contain libraries needed to execute the binaries in /bin/ and /sbin/
/lib/
This directory contains subdirectories used as mount points for removable media.
/media/
This directory is reserved for temporarily mounted file systems, such as NFS file system mounts.
/mnt/
This directory is normally reserved for software and add-on packages that are not part of the default installation.
/opt/
This directory contains special files that either extract information from the kernel or send information to it.
/proc/
This directory stores binaries essential for booting, restoring, recovering, or repairing the system.
/sbin/
This directory contains site-specific data served by a Red Hat Enterprise Linux system. This directory gives users the location of data files for a particular service such as FTP, WWW, or CVS.
/srv/
This directory utilizes the new sysfs virtual file system specific to the 2.6 kernel. Contains information similar to that held by /proc/ but displays hierarchical view of device information specific to hot plug devices.
/sys/
This directory is for files that can be shared across multiple machines. It is usually on its own partition and is mounted read-only.
/usr/
This directory stores logs, variable data, spool directories, transient and temporary files.
/var/
Location of most files pertaining to RPM.
/var/lib/rpm/
Directory containing files used by the Package Updater, including RPM header information for the system.
/var/cache/yum/
or
/var/cache/dnf/
File systems available
EXT3, EXT4, GFS2, XFS, NFS
Types of Servers
Web, VNC, File server, LDAP, DHCP, Database, SMTP
Port number for SMTP?
25
What does ARP do?
ARP used to map IP address to respective MAC address
What is DNS?
DNS (Domain Naming Service) which translates host name to IP. Host name could be URL, domain name or FQDN (Fully Qualified Domain Name) of any physical/virtual machine. Reverse DNS translates IP to hostname.