Hard Links and File Systems

CozyEllipsis avatar
CozyEllipsis
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

What is a limitation of hard links?

They can only be created on a single filesystem.

What happens when a hard linked file is changed?

The hard link is broken.

In which directory are man pages typically found?

/usr/share/man/

What is the purpose of the /proc filesystem?

<p>To provide a virtual filesystem for system information.</p> Signup and view all the answers

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?

<p>cmdline</p> Signup and view all the answers

What is a characteristic of hard links?

<p>They can only be created for regular files.</p> Signup and view all the answers

What is the process ID number of the init process on a System V init based system?

<p>1</p> Signup and view all the answers

What is the command used to list all running processes on a Linux system?

<p>ps aux</p> Signup and view all the answers

Which of the following daemons is responsible for handling power management events on a Linux system?

<p>acpid</p> Signup and view all the answers

What is the function of the systemd system on a Linux system?

<p>To manage system initialization</p> Signup and view all the answers

What is the parent process of all processes on a System V init based system?

<p>/sbin/init</p> Signup and view all the answers

What is the purpose of the ACPI system on a Linux system?

<p>To manage power management events</p> Signup and view all the answers

Where is UEFI firmware typically stored?

<p>On the motherboard</p> Signup and view all the answers

What type of partition is required for UEFI to work?

<p>An EFI system partition</p> Signup and view all the answers

What is GPT related to?

<p>A partition table format for hard disks</p> Signup and view all the answers

What is the primary function of UEFI?

<p>To act as a firmware on a motherboard</p> Signup and view all the answers

Where is the EFI System Partition typically located?

<p>On a GPT disk</p> Signup and view all the answers

What file system can UEFI recognise on the EFI System Partition?

<p>FAT</p> Signup and view all the answers

What is the vi command to delete two lines, including the current line?

<p>2dd</p> Signup and view all the answers

What happens when the command dbmaint & is used to run dbmaint in the background?

<p>dbmaint is terminated immediately after logging out of the system</p> Signup and view all the answers

Which of the following commands lets dbmaint continue to run even when the user running the program logs out?

<p>nohup dbmaint &amp;</p> Signup and view all the answers

What is the purpose of the nohup command?

<p>to allow a command to continue running after logging out</p> Signup and view all the answers

Which of the following commands directly executes the instructions from the file /usr/local/bin/runme.sh without starting a subshell?

<p>source /usr/local/bin/runme.sh</p> Signup and view all the answers

What is the purpose of the source command in Bash?

<p>to execute a file's instructions in the current shell</p> Signup and view all the answers

What is the name of the file that stores Bash history?

<p>bash_history</p> Signup and view all the answers

Which of the following wildcards will match the filename ttyS0?

<p>tty?[0-5]</p> Signup and view all the answers

Which wildcard will NOT match the filename ttyS2?

<p>tty[A-Z]</p> Signup and view all the answers

What is the correct wildcard to match the filenames ttyS0 and ttyS1?

<p>ttyS[0-1]</p> Signup and view all the answers

What is the purpose of the file that stores Bash history?

<p>To store Bash history</p> Signup and view all the answers

Which wildcard will match the filenames ttyS0, ttyS1, and ttyS2?

<p>ttyS[0-3]</p> Signup and view all the answers

Use Quizgecko on...
Browser
Browser