Problem

In this hands-on project, you explore some command-line terminals on a Linux system and...

In this hands-on project, you explore some command-line terminals on a Linux system and enter some basic commands into the BASH shell.

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 Ctrl+Alt+F2 to switch to a command-line terminal (tty2) and then log in to the terminal using the user name root and the password secret. 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 Ctrl+Alt+F5 and log in to the terminal using the user name user1 and the password secret. 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 Ctrl+Alt+F2. 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-7 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 Ctrl+Alt+F5 and type exit to log out of your shell.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 2