Question 7

Given a file called birthdays containing lines like:
YYYY-MM-DD Name 1983-06-02 Tim
1995-12-17 Sue
Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?

Correct Answer:C

Question 8

Which of the following commands is used to update the list of available packages when using dpkg based package management?

Correct Answer:A

Question 9

What output will the following command produce? seq 1 5 20

Correct Answer:A

Question 10

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

Correct Answer:AC

Question 11

Which command chain will count the number of regular files with the name of foo.txt within
/home?

Correct Answer:B

Question 12

Which command makes the shell variable named VARIABLE visible to subshells?

Correct Answer:B

START LFCS EXAM