Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

101-500 Exam Dumps - LPIC-1 Exam 101, Part 1 of 2, version 5.0

Go to page:
Question # 25

Which of the following are valid stream redirection operators within Bash? (Choose two.)

A.

<

B.

#>

C.

%>

D.

>>>

E.

2>&1

Full Access
Question # 26

Which of the following vi commands deletes two lines, the current and the following line?

A.

d2

B.

2d

C.

2dd

D.

dd2

E.

de12

Full Access
Question # 27

What is true regarding the command

ls > files

if files do not exist?

A.

The output of ls is printed to the terminal

B.

files is created and contains the output of ls

C.

An error message is shown and ls is not executed

D.

The command files is executed and receives the output of ls

E.

Any output of ls is discarded

Full Access
Question # 28

Which program runs a command in specific intervals and refreshes the display of the program’s output? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 29

The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?

A.

job –b dmaint

B.

dbmaint &>/dev/pts/null

C.

nohup dbmaint &

D.

bg dbmaint

E.

wait dbmaint

Full Access
Question # 30

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

A.

fmt –f 1,4 /etc/passwd

B.

cut –d : -f 1,4 /etc/passwd

C.

sort –t : -k 1,4 /etc/passwd

D.

paste –f 1,4 /etc/passwd

E.

split –c 1,4 /etc/passwd

Full Access
Question # 31

Consider the following directory:

drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales

Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

A.

chmod g+s sales

B.

setpol –R newgroup=sales sales

C.

chgrp –p sales sales

D.

chown --persistent *.sales sales

E.

chmod 2775 sales

Full Access
Question # 32

Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?

A.

0750

B.

0027

C.

0036

D.

7640

E.

0029

Full Access
Go to page: