Question
1. After your Linux system has been loaded, you are placed at a graphical terminal (tty1). Instead of logging in to this graphical terminal, press
1. After your Linux system has been loaded, you are placed at a graphical terminal (tty1). Instead of logging in to this graphical terminal, press CtrlAltF2 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!. Which prompt did you receive and why?
2. At the command prompt, type date and press Enter to view the current date and time. Now, type Date and press Enter. Why did you receive an error message? Can you tell which shell gave you the error message?
3. Switch to a different command-line terminal (tty5) by pressing CtrlAltF5 and log in to the terminal using the user name of user1 and the password of LNXrocks!. Which prompt did you receive and why?
4. At the command prompt, type who and press Enter to view the users logged in to the system. Who is logged in and on which terminal?
5. Switch back to the terminal tty2 by pressing CtrlAltF2. Did you need to log in? Are the outputs from the date and Date commands still visible?
6. Try typing in each command listed in Table 2-6 in order (pressing Enter after each) and observe the output. What did the last command (exit) do?
7. Switch to the terminal tty5 by pressing CtrlAltF5 and type exit to log out of your shell.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started