Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

CompTIA Linux+ V8 Exam XK0-006 Question # 42 Topic 5 Discussion

CompTIA Linux+ V8 Exam XK0-006 Question # 42 Topic 5 Discussion

XK0-006 Exam Topic 5 Question 42 Discussion:
Question #: 42
Topic #: 5

A Linux administrator needs to create accounts for a list of new users. The user account names have been defined in the USER_LIST variable by executing the following:

USER_LIST= " alice bob charles "

Which of the following commands should the administrator use to successfully create the user accounts?


A.

echo " $USER_LIST " | while username; do useradd -m " $username " ; done


B.

echo " $USER_LIST " | until username; do useradd -m " $username " ; done


C.

select username in " $USER_LIST " ; do useradd -m " $username " ; done


D.

for username in $USER_LIST; do useradd -m " $username " ; done


Get Premium XK0-006 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.