|OA| Objective Assessment| Actual Questions and
Answers Latest Updated (Graded A+)
Correct 81
Incorrect
D281 Linux Foundations
1 of 81
Term
Which of the following commands finds all lines in the file operating-
systems.txt which contain the term linux, regardless of the case?
A. igrep linux operating-systems.txt
B. less -i linux operating-systems.txt
C. grep -i linux operating-systems.txt
D. cut linux operating-systems.txt
E. cut [Ll] [Ii] [Nn] [Uu] [Xx] operating-systems.txt
,Give this one a try later!
E D
C A
Don't know?
2 of 81
Term
What is true about a recursive directory listing?
A. It includes the content of sub-directories.
B. It includes the permissions of the directory listed.
C. It includes details of file system internals, such as inodes.
D. It includes ownership information for the files.
E. It includes a preview of content for each file in the directory.
Give this one a try later!
B A
E CE
Don't know?
, 3 of 81
Term
Which of the following tasks can the command passwd accomplish?
(Choose two.)
A. Change a user's username.
B. Change a user's password.
C. Create a new user account.
D. Create a new user group.
E. Lock a user account.
Give this one a try later!
ABE BD
BE DE
Don't know?
4 of 81
Term
Which of the following commands extracts the contents of the
compressed archive file1.tar.gz?
A. tar -czf file1.tar.gz
B. ztar file1.tar.gz
C. tar -xzf file1.tar.gz
, D. tar --extract file1.tar.gz
E. detar file1.tar.gz
Give this one a try later!
D E
B C
Don't know?
5 of 81
Term
The file script.sh in the current directory contains the following
content:#!/bin/bashecho $MYVARThe following commands are used
to execute this script:MYVAR=value -./script.shThe result is an empty
line instead of the content of the variable MYVAR. How should MYVAR
be set in order to make script.sh display the content of MYVAR?
A. !MYVAR=value
B. env MYVAR=value
C. MYVAR=value
D. $MYVAR=value
E. export MYVAR=value
Give this one a try later!