Which of the following can be included in a shell script to ask the user to type in a password and then store it in the variable named $password?

A. read -s -p “Please enter the password: “ password
B. read -p “Please enter the password: “ $password
C. read -p -s “Please enter the password: “ password
D. read -s -p “Please enter the password: “ $password

Answer: A

Computer Science & Information Technology

You might also like to view...

A zone transfer occurs over which of the following ports?

A. TCP 53 B. UDP67 C. UDP123 D. TCP 25

Computer Science & Information Technology

?In the background-attachment property, the scroll type creates a background that stays in place even as the element content is scrolled horizontally or vertically.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology