NOS 120 midterm UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS
, cat > Meeting 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?
cal 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 the Friday's date?
Ctrl+b While you are typing a command, you misspell the name of a file you want to
specify with the command. Which of the following command line key
combinations enables you to go back and fix your error?
passwd You haven't changed your user account password for several months and now
decide to create a new password. Which of the following commands should you
use?
man cat 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?
System V Which of the following is the UNIX distribution originally developed through AT&T
Bell Labs?
Bash shell Which shell is used by Linux as the default command interpreter?
cat >> Annual_Report You need to type in a line of text to the end of a file called Annual_Report. Which
of the following commands enables you to add the text?
Log in remotely to another computer on a network. SSH can be used to ___________ _.
The administrative account that has complete access to This is your first day on the job as a Linux server administrator and your boss gives
UNIX/Linux system. you the password for root. What is root?
tail -n 2 project 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 can you use to
look at only the last two lines of the file called, project?
q You are working with a new colleague who has entered the man command, but
who does not know how to end the man session to return to the regular
command prompt. What keystrokes do you show your colleague to end the man
session? (Choose the best option .)
-less Which of the following are examples of Linux distributions? (Choose all that
-cat apply.)
The current logged in user When you enter the who command, what information do you see? (Choose all
that apply.)
, cat > Meeting 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?
cal 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 the Friday's date?
Ctrl+b While you are typing a command, you misspell the name of a file you want to
specify with the command. Which of the following command line key
combinations enables you to go back and fix your error?
passwd You haven't changed your user account password for several months and now
decide to create a new password. Which of the following commands should you
use?
man cat 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?
System V Which of the following is the UNIX distribution originally developed through AT&T
Bell Labs?
Bash shell Which shell is used by Linux as the default command interpreter?
cat >> Annual_Report You need to type in a line of text to the end of a file called Annual_Report. Which
of the following commands enables you to add the text?
Log in remotely to another computer on a network. SSH can be used to ___________ _.
The administrative account that has complete access to This is your first day on the job as a Linux server administrator and your boss gives
UNIX/Linux system. you the password for root. What is root?
tail -n 2 project 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 can you use to
look at only the last two lines of the file called, project?
q You are working with a new colleague who has entered the man command, but
who does not know how to end the man session to return to the regular
command prompt. What keystrokes do you show your colleague to end the man
session? (Choose the best option .)
-less Which of the following are examples of Linux distributions? (Choose all that
-cat apply.)
The current logged in user When you enter the who command, what information do you see? (Choose all
that apply.)