Topic5: New Questions Mix Flashcards
Abuelas House on Atlantic Avenue
1: Stair Landing
file name c.txt be created with same indode number as a.txt
ln a.txt c.txt
2: Door to Julios Room
output displayed when user fred executes echo ‘fred $USER’
fred fred
3: Julios Room Closet
files exist in standard GRUB 2 install.
/boot/grub/i386-pc/1vm.mod
/boot/grub/linux/vmlinuz
4: Julios Room Bed
faulty kernel module causing issues with nic card - what action ensures that module is not loaded automatically when system boots
adding blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf
5: Julios Room Dresser
command installs GRUB 2 into MBR on third hard disk
grub-install /dev/sdc
6: Julios Room Radiator
command installs all packages with name ending with string foo
zypper install “*foo”
7: Abuela’s bedroom windows
cmd prints list of usernames (1st column) and primary group (4th column) from /etc/password file
cut -d: -f 1,4 /etc/passwd
8: Abuelas Room bed
true when a file system is not listed in /etc/fstab nor known to system and is mounted manually
cmd systemctl mountsync can be used to create a mount unit based on the existing mount.
9: Abuela Room Sowing Machine
directories on 64 bit Linux system typically contain shared libraries
/usr/lib64/
/lib64/
10: Abuela’s Room Chairs
cmd must be entered before exiting vi to save the current file as filea.txt
:w filea.txt
11: Abuelas Room Bureau
program runs a command in specific intervals and refreshes the display of the program’s output
watch
12: Abuelas Room Mirror
true about boot sequence of PC using BIOS
some parts of boot process configured from BIOS
BIOS initiates boot process after turning the computer on
13: Middle Room Closet
given loga.log with timestamps of the format DD/MM/YYY:hh:mm:ss - which command filters out all log entries in the time period between 8:00 am and 8:59 am
grep -E ‘:08:[0-9]+:[0-9]+’ loga.log
14: Middle Room Liquor Cabinet
true regarding the command ls > files if it does not exist
The files is created and contains the output of ls
15: Middle Room Couch
contained on EFI System Partition
First Stage Boot Loader
16: Middle Room Otoman
when is content of Kernel Ring Buffer reset
kernel ring buffer is explicitly reset using the command dmesg –clear
When the system is shut down or rebooted
17: Middle Room Desk
when redirecting output of find to xargs cmd what option to find is useful if filename contains spaces
-print0