Black Friday Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Top Tips for Passing the LPI 010-160 Exam on Your First Try

Questions 11

Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?

Options:

A.

zip *.txt > poems.zip

B.

zcat *.txt poems.zip

C.

zip poems.zip *.txt

D.

zip cfz poems.zip *.txt

E.

cat *.txt | zip poems.zip

Buy Now
Questions 12

What is true about the su command?

Options:

A.

It is the default shell of the root account.

B.

It can only be used by the user root.

C.

It runs a shell or command as another user.

D.

It changes the name of the main administrator account.

E.

It locks the root account in specific time frames.

Buy Now
Questions 13

What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option name without any values or parameters.)

Options:

Buy Now
Questions 14

Which of the following commands creates an archive filework.tarfrom the contents of the directory./

work/?

Options:

A.

tar --new work.tar ./work/

B.

tar –cf work.tar ./work/

C.

tar –create work.tgz –content ./work/

D.

tar work.tar < ./work/

E.

tar work > work.tar

Buy Now
Questions 15

What is the return value of a shell script after successful execution?

Options:

A.

1

B.

0

C.

-1

D.

-255

E.

255

Buy Now
Questions 16

A user is currently in the directory/home/user/Downloads/and runs the command

ls ../Documents/

Assuming it exists, which directory’s content is displayed?

Options:

A.

/home/user/Documents/

B.

/home/user/Documents/Downloads/

C.

/home/user/Downloads/Documents/

D.

/Documents/

E.

/home/Documents

Buy Now
Questions 17

What is the UID of the user root?

Options:

A.

1

B.

-1

C.

255

D.

65536

E.

0

Buy Now
Questions 18

What information can be displayed bytop?

Options:

A.

Existing files, ordered by their size.

B.

Running processes, ordered by CPU or RAM consumption.

C.

User accounts, ordered by the number of logins.

D.

User groups, ordered by the number of members.

E.

User accounts, ordered by the number of files.

Buy Now
Questions 19

Which of the following commands shows the absolute path to the current working directory?

Options:

A.

who

B.

cd ..

C.

pwd

D.

ls -l

E.

cd ~/home

Buy Now
Questions 20

Most commands on Linux can display information on their usage. How can this information typically be displayed?

Options:

A.

By running the command with the option /? or /??.

B.

By running the command with the option ?! or ?=!.

C.

By running the command with the option /doc or /documentation.

D.

By running the command with the option -h or --help.

E.

By running the command with the option -m or --manpage.

Buy Now