Problem

In this hands-on project, you log in to the computer and create new directories. 1. Tur...

In this hands-on project, you log in to the computer and create new directories.

1. Turn on your computer. After your Linux system has loaded, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2. Log in to the terminal using the user name of root and the password of secret.

2. At the command prompt, type ls -F and press Enter. Note the contents of your home folder.

3. At the command prompt, type mkdir mysamples and press Enter. Next, type ls -F at the command prompt and press Enter. How many files and subdirectories are there? Why?

4. At the command prompt, type cd mysamples and press Enter. Next, type ls -F at the command prompt and press Enter. What are the contents of the subdirectory mysamples?

5. At the command prompt, type mkdir undermysamples and press Enter. Next, type ls -F at the command prompt and press Enter. What are the contents of the subdirectory mysamples?

6. At the command prompt, type mkdir todelete and press Enter. Next, type ls -F at the command prompt and press Enter. Does the subdirectory todelete you just created appear listed in the display?

7. At the command prompt, type cd .. and press Enter. Next, type ls -R and press Enter. Notice that the subdirectory mysamples and its subdirectory undermysamples are both displayed. You have used the recursive option with the ls command.

8. At the command prompt, type cd .. and press Enter. At the command prompt, type pwd and press Enter. What is your current directory?

9. At the command prompt, type mkdir foruser1 and press Enter. At the command prompt, type ls -F and press Enter. Does the subdirectory you just created appear listed in the display?

10. Type exit and press Enter 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