In: Computer Science
CompTIA Linux+ Guide to Linux Certification (4th Edition)(Please do not do it in a mac and add pictures of the machine.)
Project 2-6 In this hands-on project, you properly shut down your Linux system.
1. Press CtrlþAltþF2 to switch to a command-line terminal (tty2), and then log in to the terminal using the user name of root and the password of LNXrocks!.
2. At the command prompt, type poweroff to shut down your Linux system immediately. Which commands from Table 2-9 can also be used to shut down your Linux system?
Part 1:
As per the question, to enter the system username: root and password: LNXrocks! is entered while prompted.
Else, if there is no prompt for the username and password, enter sudo to enter the Linux system in admin mode, then the username and password will be prompted to continue. [Sudo command is used whenever we want to use the admin privilages, eg: for installing a software, to update the system etc].
Part 2:
The commands that can be used to shutdown the system ( except poweroff ) are:
Please check the bold in shutdown section for the exact answer to the question. Added extra information for a cummulative learning.
Hope this solution helps.