1.

Which one of the following command will shutdown and reboot the system?(a) shutdown-g2(b) shutdown-g2i6(c) shutdown-g2-g0(d) shutdown -y -g0 -i6The question was asked in an online quiz.My doubt stems from Administrator Specific Commands and Privileges topic in portion Essential Shell Programming of Unix

Answer»

The correct choice is (d) shutdown -y -g0 -i6

To explain I would SAY: -y option is used with shutdown command for shutting the system IMMEDIATELY. Similarly, we can use the shutdown command to TURN the MACHINE off in various ways. To shut down and reboot the system, use the following command:



Discussion

No Comment Found

Related InterviewSolutions