Linux Study Prep
3 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the followingcommands should the administrator use to identify the correct version of this file?

  • telinit 1; restorecon -Rv /boot
  • rpm -qa | grep kernel; uname -a (correct)
  • yum -y update; shutdown -r now
  • cat /etc/centos-release; rpm -Uvh –nodeps
  • A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify tochange the port number to the desired value?

  • /etc/ssh/sshd_config (correct)
  • /etc/host.conf
  • /etc/hostname
  • /etc/services
  • A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Whichof the following commands should the administrator use for this task?

  • git reflog
  • git pull (correct)
  • git status
  • git push
  • More Like This

    Use Quizgecko on...
    Browser
    Browser