Linux System Administration Commands and Configuration, Exams of Advanced Education

A wide range of linux system administration topics, including the location of example dns configuration files, the order of bash initialization files, the binary files used by journald, the different rpm verification codes and their descriptions, the permissions that can be applied to principals via nfsv4 acls, the facilities supported by rsyslog, the types of virtual network switch configurations supported by libvirt, and various commands for managing virtual machines, tar archives, selinux, cron, yum, and more. Detailed answers to numerous linux administration-related questions, making it a valuable resource for system administrators and linux enthusiasts.

Typology: Exams

2023/2024

Available from 09/30/2024

Examproff
Examproff 🇺🇸

3

(2)

8.3K documents

1 / 39

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Red Hat Certified Systems Administrator
(EX200) - RHEL7 (Comprehensive)
After initiating the creation of a new partition, what are the partition types and
corresponding keys to enter in order to create them? - ANS-p - primary
l - logical
e - extended
As the root user, what command would you execute to display the home directory for
the "sphincter2000" user? - ANS-echo ~sphincter2000
How much memory does RHEL7 support on a single host? - ANS-3TB
In what directory can example DNS configuration files be found? -
ANS-/usr/share/doc/bind-*/sample/etc
In what directory is the database that commands such as whatis and apropos utilize for
man page information? - ANS-/var/cache/man
In what order are bash initialization files loaded? - ANS-/etc/profile, /.bash_profile,
/.bashrc, and /etc/bashrc.
The subdirectory that contains journal logs is named after the hosts 128-bit machine ID,
which is stored in what file? - ANS-/etc/machine-id
True or false, hard symbolic links can traverse across different filesystems? - ANS-
False, only symbolic links can cross different filesystems
True or false, one must uncompress a g'zipped file before viewing it with the "less"
utility? - ANS-False. Less is able to directly view a g'zipped file.
True or false, you can shrink an XFS filesystem - ANS-False, you cannot shrink an XFS
filesystem
True or false, you must specify the "acl" mount option when you desire to use ACL's on
an XFS filesystem? - ANS-False, XFS supports ACL's by default
wget placeholder - ANS-
What actions would you perform in order to reset the root password on a RHEL7
system? - ANS-- Append "rd.break" to the respective kernel entry in GRUB2
- Boot system
- mount -o remount,rw /sysroot
- chroot /sysroot
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download Linux System Administration Commands and Configuration and more Exams Advanced Education in PDF only on Docsity!

Red Hat Certified Systems Administrator

(EX200) - RHEL7 (Comprehensive)

After initiating the creation of a new partition, what are the partition types and corresponding keys to enter in order to create them? - ANS-p - primary l - logical e - extended As the root user, what command would you execute to display the home directory for the "sphincter2000" user? - ANS-echo ~sphincter How much memory does RHEL7 support on a single host? - ANS-3TB In what directory can example DNS configuration files be found? - ANS-/usr/share/doc/bind-*/sample/etc In what directory is the database that commands such as whatis and apropos utilize for man page information? - ANS-/var/cache/man In what order are bash initialization files loaded? - ANS-/etc/profile, ∼/.bash_profile, ∼/.bashrc, and /etc/bashrc. The subdirectory that contains journal logs is named after the hosts 128-bit machine ID, which is stored in what file? - ANS-/etc/machine-id True or false, hard symbolic links can traverse across different filesystems? - ANS- False, only symbolic links can cross different filesystems True or false, one must uncompress a g'zipped file before viewing it with the "less" utility? - ANS-False. Less is able to directly view a g'zipped file. True or false, you can shrink an XFS filesystem - ANS-False, you cannot shrink an XFS filesystem True or false, you must specify the "acl" mount option when you desire to use ACL's on an XFS filesystem? - ANS-False, XFS supports ACL's by default wget placeholder - ANS- What actions would you perform in order to reset the root password on a RHEL system? - ANS-- Append "rd.break" to the respective kernel entry in GRUB

  • Boot system
  • mount -o remount,rw /sysroot
  • chroot /sysroot
  • passwd
  • touch /.autorelabel
  • reboot What are isolated switches? - ANS-Isolated switches allow guests to communicate with one another and with the host, but not to external networks, and uses NAT and forwarding What are routed switches? - ANS-Routed switches connect directly to the physical host's network, allow guests to communicate directly to external hosts. What are the binary files located that journald utilizes? - ANS-/run/log/journal/ What are the different codes and their description that can be output from an RPM verification regarding the type of file? - ANS-c - Configuration file d - Documentation file g - Ghost file l - License file r - Readme file What are the different codes and their descriptions that can be output from an RPM verification regarding any variances detected? - ANS-S - File size is different M - Permissions or file type is altered 5 - MD5 checksum doesn't match D - If the file is a device file and the major or minor number has changed L - If the file is a symbolic link and the referenced path has changed U - User ownership has changed G - Group ownership has changed T - Timestamp has changed P - Capabilities have changed . - If not changed have been detected What are the eleven permissions that can be applied to a principal via NFSv4 ACL's? - ANS-r - Read file or list directory w - Write to a file or create a new file in a directory a - Append data to a file or create a subdirectory x - Execute a script or change a directory d - Delete the file or directory t - Read the attributes of the file or directory T - Write the attributes of the file or directory c - Read the ACLs of the file or directory C - Write the ACLs of the file or directory y - Synchronize the file or directory What are the facilities supported by Rsyslog? - ANS-auth, authpriv, cron, daemon, kern, lpr, mail, news, syslog, user, uucp, and local0 through local

swap - Manages swap devices or files for memory paging target - Manages target units of systemd, which are used for grouping units and as well- known synchronization points during start-up path - Manages paths monitored by systemd, for path-based activation timer - Manages timers controlled and supervised by systemd, for timer-based activation snapshot - Snapshot units are not configured via unit configuration files, rather they store the current state of all units and can be restored at a later date. slice - Can be used to group units and hierarchially manages resources of a group of processes scope - Scope units are not configured via unit configuration files, rather are created programmatically using the bus interfaces of systemd, and manage a group of system processes What are two types of virtual network switch configuations that are supported by libvirt?

  • ANS-isolated and routed What AutoFS configuration files provide auto-mounting and auto-unmounting of CIFS filesystems? - ANS-/etc/auto.smb What AutoFS configuration files provide auto-mounting and auto-unmounting of removable filesystems? - ANS-/etc/auto.misc What AutoFS script is executed to obtain a list of NFS servers and shares available from them? - ANS-/etc/auto.net What command would you enter within less in order to search forward for the string "Nacho Momma" - ANS-/Nacho Momma What command would you enter within less in order to search in reverse for the string "Back that thang up" - ANS-?Back that thang up What command would you execute to "freshen" the package /home/whizkid/gnome- session-3.8.4-11.el7.x86_64.rpm? - ANS-rpm -F /home/whizkid/gnome-session-3.8.4- 11.el7.x86_64.rpm What command would you execute to "scanalyze" the /var/log/audit/audit.log file and automatically provide human-friendly details and suggested fixes for any SELinux- related rejections / denials? - ANS-sealert -a /var/log/audit/audit.log

What command would you execute to (A) Fill partition /dev/sdb1 with random data? (B) Test 10240 blocks at a time? (C) Display the progress of the command? (D) Do so with a "random" test pattern? and (E) Produce verbose output? - ANS-badblocks -c 10240 -s -t random -v -w /dev/sdb What command would you execute to activate all partitions that are marked as "swap" in /etc/fstab? - ANS-swapon -a What command would you execute to activate network interface bond2? - ANS-ifup bond What command would you execute to add 200G to the logical volume "lvShelvey" within the "vgTree" volume group? - ANS-lvextend -L +200G /dev/vgTree/lvShelvey What command would you execute to add a connection named "con_artist" associated with interface eno16777736 with an IPv4 address of 10.19.1.2 and a subnet mask of 255.255.192.0 using the Network Manager CLI? - ANS-nmcli con add con-name con- artist ifname eno16777736 type ethernet ip4 10.19.1.2/ What command would you execute to add a permanent rule to the firewall to allow FTP traffic to pass through? - ANS-firewall-cmd --permanent --add-service=ftp && firewall- cmd --reload What command would you execute to add an entry for host "tpformybhole" and MAC address 12:34:56:78:90:AA to the ARP cache? - ANS-arp -s tpformybhole 12:34:56:78:90:AA What command would you execute to add physical volume /dev/sdc2 to the vgFiji volume group? - ANS-vgextend vgFiji /dev/sdc What command would you execute to add the blumpkie.pie.net-virt.img disk image to the blumpkin.pie.net host as disk vdc and ensure that it's persistent? - ANS-virsh attach- disk blumpkin.pie.net --source blumpkin.pie.net-virt.img --target vdc --persistent What command would you execute to add the files "thing1" and "thing2" to the existing tar archive "feline_in_a_fedora.tar", while preserving their ownership/permissions and with verbose output? - ANS-tar -rpvf feline_in_a_fedora.tar thing1 thing What command would you execute to all Systemd units, both active and inactive? - ANS-systemctl --all What command would you execute to append the files "flippety.txt" and "floppety.conf" to the existing tar archive file "hippety_hoppety.tar" only if the files are newer than the ones already present in the archive? - ANS-tar -uvf hippety_hoppety.tar flippety.txt floppety.txt

What command would you execute to create a new virtual network from a definition contained within the file /home/stanky/rhcsa7.xml? - ANS-virsh net-define /home/stanky/rhcsa7.xml What command would you execute to create a tar archive named "lickety.tar" containing the file "split.aar" and ensuring to not preserve extended file attributes as well as ownership/permissions? - ANS-tar --no-xattrs -cf lickety.tar split.aar What command would you execute to create a tar archive named "pit.tar" containing the file "sticky.jar" and preserve SELinux context as well as ownership/permissions? - ANS- tar --selinux -cpf pit.tar sticky.jar What command would you execute to create a volume group named vgBeeGees that consists of physical volumes /dev/sdb2 and /dev/sdb3? - ANS-vgcreate vgBeeGees /dev/sdb2 /dev/sdb What command would you execute to create a volume named rhcsa7_vol with a size of 25G within a storage pool named rhcsa7_pool? - ANS-virsh vol-create-as rhcsa7_pool rhcsa7_vol 25G What command would you execute to create physical volumes from partitions /dev/sdb and /dev/sdb3? - ANS-pvcreate /dev/sdb2 /dev/sdb What command would you execute to create virtual machines and install RHEL in them? - ANS-virt-install What command would you execute to deactivate swap on the /dev/vgKeyParty/lvswap_partners volume with verbose output? - ANS-swapoff -v /dev/vgKeyParty/lvswap_partners What command would you execute to define a new storage pool as type "dir" with a source path of "- - - -" and a target path of the /var/lib/libvrirt/rhcsa7_pool directory? - ANS-virsh pool-define-as rhcsa7_pool dir - - - - /var/lib/libvirt/rhcsa7_pool What command would you execute to delete the physical volumes /dev/sdc and /dev/sdd2? - ANS-pvremove /dev/sdc /dev/sdd What command would you execute to determine if the ntpd package is installed on your system? - ANS-rpm -q ntp What command would you execute to disable autostart of the KVM virtual machine no.mo.autostart? - ANS-virsh autostart --disable no.mo.autostart What command would you execute to disable the Apache service? - ANS-systemctl disable httpd

What command would you execute to display a list of present virtual networks? - ANS- virsh net-list What command would you execute to display a summary of all installed and available package groups from configured Yum repositories? - ANS-yum group summary What command would you execute to display all available or specified block devices on a system? - ANS-lsblk What command would you execute to display all backup superblocks for the /dev/vgNeedy/lvTwelve? - ANS-dumpe2fs /dev/vgNeedy/lvTwelve | grep -i 'superblock' What command would you execute to display all configuration files within the rsyslog package? - ANS-rpm -qc rsyslog What command would you execute to display all dependencies for the quota package? - ANS-rpm -qR quota What command would you execute to display all documentation files within the NetworkManager package? - ANS-rpm -qd NetworkManager What command would you execute to display all existent storage pools? - ANS-virsh pool-list What command would you execute to display all journal error messages that occurred between 11/15/2015 and 11/15/2015? - ANS-journalctl --since 2015-11-15 --until 2015- 11-16 -p err What command would you execute to display all journal log messages from the previous boot? - ANS-journalctl -b - What command would you execute to display all journal log messages in verbose format? - ANS-journalctl -o verbose What command would you execute to display all journal warning messages that have been generated today? - ANS-journalctl --since=today -p warning What command would you execute to display all LVM Volume Groups as well as the Logical Volumes and Physical Volumes that are within them? - ANS-vgdisplay -v What command would you execute to display all mounted cgroup filesystems in tree form? - ANS-findmnt -t cgroup What command would you execute to display all packages, both installed and available for installation from all configured Yum repositories? - ANS-yum list

What command would you execute to display information about PCI buses and the devices attached to them with the most verbose output possible? - ANS-lspci -vvv What command would you execute to display information about the ncurses package file located at /home/nutter/mutter-3.8.4-16.el7.x86_64.rpm? - ANS-rpm -qip /home/nutter/mutter-3.8.4-16.el7.x86_64.rpm What command would you execute to display information about the ncurses package? - ANS-rpm -qi ncurses What command would you execute to display only kernel-generated journal messages?

  • ANS-journalctl -k What command would you execute to display resource consumption by cgroup, which is constantly updated? - ANS-systemd-cgtop What command would you execute to display SELinux user information for yourself? - ANS-id -Z What command would you execute to display statistics for all of your network interfaces? - ANS-ip -s link What command would you execute to display swap usage summary by device? - ANS- swapon -s What command would you execute to display that last ten journal messages, and continuously display them as they're being generated? - ANS-journalctl -f What command would you execute to display the amount of physical memory is installed, used, and free in human-readable format? - ANS-free -h What command would you execute to display the amount of time it had taken to start each service during the last system boot? - ANS-systemd-analyze blame What command would you execute to display the cgroup hierarchy of Systemd processes? - ANS-systemd-cgls What command would you execute to display the contents of at job id 5? - ANS-at -c 5 What command would you execute to display the current time along with related information? - ANS-timedatectl What command would you execute to display the default niceness value? - ANS-nice

What command would you execute to display the hostname and other pertinent information? - ANS-hostnamectl What command would you execute to display the last twenty Yum transactions? - ANS- yum history What command would you execute to display the physical extent size used on vgBeeGees? - ANS-vgdisplay vgBeeGees | grep 'PE Size' What command would you execute to display the terminal name we are currently logged on to? - ANS-tty What command would you execute to display the total amount of time that the last boot process had taken? - ANS-systemd-analyze What command would you execute to display the umask in symbolic notation? - ANS- umask -S What command would you execute to display virtual memory statistics in a table format? - ANS-vmstat -s What command would you execute to display virtual memory statistics? - ANS-vmstat What command would you execute to display which package contains the file /etc/sysconfig/sshd? - ANS-rpm -qf /etc/sysconfig/sshd What command would you execute to display your last working directory? - ANS-echo ~- What command would you execute to download the zsh package if available from a configured Yum repository and save it in the /var/plump_package? - ANS- yumdownloader zsh -d /var/plump_package What command would you execute to drop into a shell for managing KVM virtual machines? - ANS-virsh What command would you execute to enable password shadowing at the group level if it wasn't already enabled? - ANS-grpconv What command would you execute to enable password shadowing if it wasn't already enabled? - ANS-pwconv What command would you execute to extract all files from the zip-3.0- 10.el7.x86_64.rpm file in your current working directory while creating all directories as needed? - ANS-rpm2cpio zip-3.0-10.el7.x86_64.rpm | cpio -id

What command would you execute to install the "Infrastructure Server" package group?

  • ANS-yum group install "Infrastructure Server" What command would you execute to install the "mariadb-server" package from one of the configured Yum repositories, while bypassing the confirmation prompt for installation? - ANS-yum install -y mariadb What command would you execute to install the /home/bagpoop/tagsoup-1.2.1- 8.el7.noarch.rpm package with verbose output and hash marks for a progress indicator, while overwriting the existing installed version of the tagsoup package? - ANS-rpm -ivh --replacepkgs /home/bagpoop/tagsoup-1.2.1-8.el7.noarch.rpm What command would you execute to install the /tmp/phony/chrony-1.29.1- 1.el7.centos.x86_64.rpm package with verbose output and hash marks for a progress indicator? - ANS-rpm -ivh /tmp/phony/chrony-1.29.1-1.el7.centos.x86_64.rpm What command would you execute to install the appropriate package for the graphical Disk Utility application? - ANS-yum install gnome-disk-utility What command would you execute to install the appropriate package in order to create and manage LUKS encrypted filesystems? - ANS-yum install cryptsetup-luks What command would you execute to install the appropriate package that contains the sealert utility? - ANS-sudo yum install setroubleshoot-server What command would you execute to install the necessary packages for cron via Yum?
  • ANS-yum install -y cronie crontabs What command would you execute to install the RPM package that contains the "semanage" utility? - ANS-yum install policycoreutils-python What command would you execute to install the sssd-1.12.2-58.el7_1.17.x86_64.rpm package from FTP server wide.open.com within the "pub/packages" directory with verbose output and hash marks for a progress indicator? - ANS-rpm -ivh ftp://wide.open.com/pub/packages/sssd-1.12.2-58.el7_1.17.x86_64.rpm What command would you execute to interactively clone a KVM virtual machine? - ANS-virt-clone --prompt What command would you execute to launch a console-based utility to configure iptables? - ANS-system-config-firewall-tui What command would you execute to launch a GUI to manage LVM? - ANS-system- config-lvm

What command would you execute to launch a network configuration GUI? - ANS-nm- connection-editor What command would you execute to launch a network configuration TUI? - ANS- system-config-network What command would you execute to launch the Disk Utility application? - ANS- palimpset What command would you execute to launch the graphical Disk Utility application? - ANS-gnome-disks What command would you execute to launch the graphical Kickstart Configurator and load the /root/anaconda-ks.cfg file? - ANS-system-config-kickstart /root/anaconda-ks.cfg What command would you execute to launch the graphical utility for management of virtual machines? - ANS-virt-manager What command would you execute to launch the Network Manager Text UI? - ANS- nmtui What command would you execute to list ACL information for the /home/is/where/you/make/it file without header information? - ANS-getfacl -c /home/is/where/you/make/it What command would you execute to list ACL information for the /home/is/where/you/make/it file? - ANS-getfacl /home/is/where/you/make/it What command would you execute to list all active Systemd units? - ANS-systemctl What command would you execute to list all files within the python package? - ANS-rpm -ql python What command would you execute to list all installed and available package groups from configured Yum repositories? - ANS-yum group list What command would you execute to list all installed packages that are eligible for an update? - ANS-yum list updates What command would you execute to list all installed packages that start with the string "sssd"? - ANS-yum list installed sssd* What command would you execute to list all installed packages using the Yum utility? - ANS-yum list installed

What command would you execute to list the local KVM hypervisor's abilities? - ANS- virsh capabilities What command would you execute to list UUID's for all block devices on a system? - ANS-blkid What command would you execute to list what packages contain a file named "perl", regardless of path? - ANS-yum provides */perl What command would you execute to list what packages require the glibc package in order to function properly? - ANS-rpm -q --whatrequires glibc What command would you execute to list whether or not the php package is installed or available from any configured Yum repositories? - ANS-yum list php What command would you execute to load the kvm module? - ANS-modprobe kvm What command would you execute to log on to the /smbyeahyouknowme share on Samba server 172.16.1.19 as user "opp"? - ANS-smbclient //172.16.1.19/smbyeahyouknowme -U opp What command would you execute to manually modify the corresponding .xml file for the hostname risky.business.com? - ANS-virsh edit risky.business.com What command would you execute to map all newly created users to the SELinux user "unconfined_u"? - ANS-semanage login -m -S targeted -s "unconfined_u" -r s0- s0:c0.c1023 default What command would you execute to map all newly created users to the SELinux user "user_u"? - ANS-semanage login -m -S targeted -s "user_u" -r s0 default What command would you execute to map the Linux group "pahhhty" to the SELinux user "guest_u"? - ANS-semanage login -a -s guest_u %pahhhty What command would you execute to map the Linux user "lockdown" to the SELinux user "user_u"? - ANS-semanage login -a -s user_u lockdown What command would you execute to modify the ACL for the file /opt/no_soup_for_you so as to remove all permissions for the "loser" user? - ANS-setfacl -m u:loser:--- /opt/no_soup_for_you What command would you execute to modify the ACL for the file /tmp/ani to grant the "drummer" user read and execute permissions? - ANS-setfacl -m drummer:r-x /tmp/ani

What command would you execute to modify the ACL for the file /tmp/look_but_cant_touch to have a mask that only allows read permissions? - ANS- setfacl -m mask:r-- /tmp/look_but_cant_touch What command would you execute to mount the CentOS6.iso to the directory /mnt/centos? - ANS-mount -o loop CentOS6.iso /mnt/centos What command would you execute to only display journal messages for PID 1773? - ANS-journalctl _PID= What command would you execute to only display journal messages for the /sbin/dnsmasq executable? - ANS-journalctl dnsmasq What command would you execute to only display the last fifteen journal messages for the NetworkManager unit? - ANS-journalctl -u NetworkManager -n 15 What command would you execute to open the LUKS encrypted volume /dev/sdb3 and associate with the Device Mapper name of "luksForYuks"? - ANS-cryptsetup luksOpen /dev/sdb3 luksForYuks What command would you execute to perform a filesystem check against /dev/vgNeedy/lvTwelve and specify to use the backup superblock located at position 32768 in order to repair the primary superblock? - ANS-fsck -b 32768 /dev/vgNeedy/lvTwelve What command would you execute to perform a syntax check of /etc/rsyslog.conf? - ANS-rsyslogd -N 1 What command would you execute to perform a verification against all files within the openssh-server package? - ANS-rpm -vV openssh-server What command would you execute to permanently export all CIFS shares from SAMBA as read-only? - ANS-setsebool -P samba_export_ro= What command would you execute to power off the system? - ANS-systemctl poweroff What command would you execute to prevent the crond service from starting at system boot? - ANS-systemctl disable crond What command would you execute to prevent users from executing scripts in their home directories and/or the /tmp directory via a SELinux Boolean value? - ANS- setsebool allow_user_exec_content off What command would you execute to query all packages installed on your system? - ANS-rpm -qa

What command would you execute to remove the "vgTeaLeaf" volume group? - ANS- vgremove vgTeaLeaf What command would you execute to remove the SELinux user mapping for the Linux group "byebye"? - ANS-semanage login -d %byebye What command would you execute to remove the vdd and vde1 physical volumes from the "vgLeafy" volume group? - ANS-vgreduce vgLeafy /dev/vdd /dev/vde What command would you execute to revert /dev/vda2 from ext3 to ext2? - ANS-tune2fs ^O has_journal /dev/vda What command would you execute to route all traffic destined for 10.2.20.0 with a subnet of 255.255.255.192 to egress from network interface eth2? - ANS-ip route add - net 10.2.20.0 netmask 255.255.255.192 dev eth What command would you execute to route all traffic destined for 172.16.16.0/24 to egree from the network interface with IP 192.168.1.100? - ANS-ip route add 172.16.16.0/24 via 192.168.1. What command would you execute to run the "updatedb" command with a nice value of -2? - ANS-nice -2 updatedb What command would you execute to run the KVM virtual machine manager? - ANS- virt-manager What command would you execute to schedule an execution of the bash script /var/run/teed.sh four hours from now using the at utility? - ANS-at -f /var/run/teed.sh now + 4 hours What command would you execute to search all SELinux-related messages with the string "sshd"? - ANS-ausearch -m avc -c sshd What command would you execute to see if the rsyslog service is running? - ANS- systemctl is-active rsyslog What command would you execute to see whether or not the sshd service is enabled? - ANS-systemctl is-enabled sshd What command would you execute to set automatic start-up of the storage pool named rhcsa7_pool? - ANS-virsh pool-autostart rhcsa7_pool What command would you execute to set automatic start-up of the virtual network named rhcsa7_xml? - ANS-virsh net-autostart rhcsa7_xml

What command would you execute to set the CPUShares property for the rsyslog service to 2048?? - ANS-systemctl set-propery rsyslog CPUShares= What command would you execute to set the date "07/04/1776" after which the "clingy- barnacle" user's account would be expired? - ANS-chage -M 1776-07-04 clingy- barnacle What command would you execute to set the default systemd target to the functional equivalent of runlevel 3? - ANS-systemctl set-default multi-user What command would you execute to set the default systemd target to the functional equivalent of runlevel 5? - ANS-systemctl set-default graphical.target What command would you execute to set the hostname to i.can.has.cheezburger? - ANS-hostnamectl set-hostname i.can.has.cheezburger What command would you execute to set the system's date and time to 08:46:30 on September 11th, 2001? - ANS-timedatectl set-time "2001-09-11 08:46:30" What command would you execute to set the system's date to July 4th, 1776? - ANS- timedatectl set-time 1776-07- What command would you execute to set the system's time to 4:19 PM? - ANS- timedatectl set-time 16: What command would you execute to set the third GRUB menu entry as the default one for ensuing system boots? - ANS-grub2-set-default 2 What command would you execute to set the timezone to "Africa/Lusaka"? - ANS- timedatectl set-timezone Africa/Lusaka What command would you execute to set up a swap area on drive /dev/sdc2? - ANS- mkswap /dev/sdc What command would you execute to set up a swap area on file /tmp/wife/swap? - ANS-mkswap /tmp/wife/swap What command would you execute to set your default editor to vi? - ANS-set -o vi What command would you execute to shut down interface eno16777736 using the Network Manager CLI? - ANS-nmli con down eno What command would you execute to simply list any and all available package updates without actually taking any action? - ANS-yum check-update