Ensurepass

QUESTION 341 CORRECT TEXT

Within a script you need to create a loop. Following the for variable in list, the statements to be looped are found between the keywords ____ and done.

Answer: do


QUESTION
342

Which command allows you to make a shell variable visible to subshells?

A. export $VARIABLE

B. export VARIABLE

C. set $VARIABLE

D. set VARIABLE

E. env variable

Answer: B


QUESTION
343 CORRECT TEXT

In an xinetd config file, which attribute specifies which interface will be used to offer the service?

Answer:

INTERFACE

interface


QUESTION
344 CORRECT TEXT

You wish to add the user king to the system including his home directory. Type in the simplest command to do this including switches:

Answer: useradd -m king


QUESTION
345

The system utility that automatically creates new log files and moves old ones is called what?

A. newlog

B. mvlog

C. rotatelog

D. logrotate

Answer: D


QUESTION
346

User Bob Swanson (bswanson) has left Company.com.

His data has already been removed from his directory. How do you remove his account and directory?

A. rm -rf /home/bswanson

B. deluser /home/bswanson

C. uderdel -r bswanson

Answer: C


QUESTION
347 CORRECT TEXT

The ________ command is used to modify or set the password expiration for a user?

Answer:

chage

/usr/bin/chage

passwd

/usr/bin/passwd

usermod

/usr/sbin/usermod


QUESTION
348 CORRECT TEXT

You have an automated backup via tar to your tape drive /dev/st0 that runs each night.

You’ve decided to manually check last night’s tape. The command to list the contents of the tape is __________?

Answer: tartvf/dev/st0


QUESTION
349

Visit our reseller at www.company.com for lastest version and special price! A cronjob must run at least every 11 minutes. The job may take up to 7 minutes to complete, and there mustn’t be two jobs at the same time. Which crontab line solves the problem?

A. */8 * * * * myjob

B. */9 * * * * myjob

C. */10 * * * * myjob

D. */11 * * * * myjob

E. */12 * * * * myjob

Answer: C


QUESTION
350 CORRECT TEXT

You need to sync your hardware clock, which is on GMT, with your system clock, which you just updated with NTP. To do this, complete the following command: _________ -u –systohc

Answer:

hwclock

/sbin/hwclock

/usr/sbin/hwclock

Download Latest LPI 117-102 DUMPS Real Free Tests , help you to pass exam 100%.

Comments are closed.