Linux Review Questions

Submitted by: Submitted by

Views: 177

Words: 976

Pages: 4

Category: Spirituality

Date Submitted: 11/15/2014 04:50 PM

Report This Essay

Chapter 1 Review Questions

1. Your boss drops by your office in a hurry to ask you to attend a meeting at 10:30 on Friday morning and you can’t find a pen to make a note as a reminder. What Linux command can you use to make a quick note to store in a file called Meeting?

2. Before you make the note in Question 1, you decide to determine Friday’s date, so that you can include it in your note. What Linux command can you use to quickly determine Friday’s date?

3. You have forgotten the purpose of the -n option in the cat command. Which of the following can you enter at the Linux command line to find out what the -n option does when used with cat?

4. Which shell is used by Linux as the default command interpreter?

5. You need to type in a line of text to the end of a file called Annual_Report. Which command enables you to add the text?

6. This is your first day on the job as a Linux server administrator and your boss gives you the password for root. What is root?

7. In your document files, you often put the date you created the file and the date you last modified it in the last two lines of the file. What command would you use to see the last few lines of the file called, project?

8. You have been entering lots of commands and now your terminal window is cluttered will all kinds of activity. What command can you use to clear your window of the clutter?

9. You enter Cal on the command line to view a calendar but only see an error message. Explain why you got the error message.

10. Explain how you can run more than one command on a single command line.

Hands-On Projects for Chapter 1

Project 1-1

List the files on the /sbin directory (see page 14 on Textbook)… What are most these files?

Project 1-2

Using “redirection” (see page 19 of Textbook) send the above file names to a file called my_linux_commands

Project 1-3

$ cat > file2 Enables you...