LFCS Linux Foundation Certified System Administrator

Loading demo links...

Showing 4–6 of 15 questions

Question 4

Which of the following commands will set the variable text to olaf is home? (Choose two)

Select all that apply, then click Submit answer.

  • text=olaf\ is\ home

  • text=$olaf is home

  • $text='olaf is home'

  • text=='olaf is home'

  • text="olaf is home"

Question 5

Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)

Select all that apply, then click Submit answer.

  • ssh --port 2222 example.com

  • ssh -p 2222 example.com

  • ssh -o Port=2222 example.com

  • ssh -o GatewayPort=2222 example.com

  • ssh example.com:2222

Question 6

Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

Select all that apply, then click Submit answer.

  • usermod

  • passwd

  • chattr

  • chage

  • chsh