As the text states, having a newborn enter the household can be a trying time, to say the least! Here is an activity/discussion that will help you gain greater insight into both the pressures of the a

Which of the following is a valid UNIX directory? Choose only ONE answer. 

Question 2 options:

A) 

C:\My Documents\Music

B) 

\\epic.com\files\

C) 

/epic/prd04/er1/

D) 

/COMMON/files/

Question 3 (5 points)

 

Based on the provided screenshot, how much space is available for copying or creating files in the /ora_export directory? Choose only ONE answer.

As the text states, having a newborn enter the household can be a trying time, to say the least! Here is an activity/discussion that will help you gain greater insight into both the pressures of the a 1

 

 

Question 3 options:

(none)

11353100 KB

785620 KB

169088372 KB

76432 KB

Question 4 (5 points)

 

How can you get the total amount of space taken up by a directory and its subdirectories? Choose only ONE answer.

Question 4 options:

dir

df

ls

du

sdir

5. True or False: Using rm on a directory that contains files fails by default

6. True or False: The following command will rename a file in the current directory:

    mv oldName newName

Question 7 (5 points)

 

The more command has which of the following benefits over the cat command? Choose only ONE answer

Question 7 options:

A) 

output is paginated

B) 

allows for display of files larger than 1MB

C) 

has an option to include the file header

D) 

allows you to concatenate two files together

E) 

there is no advantage; more is an alias for cat

Question 8 (5 points)

 

Why would you use the head (or tail) command? Choose only ONE answer 

Question 8 options:

When you need to insert new lines at the beginning (or end) of a file

If you need to edit a file's header (or footer) information

To isolate which strings occur the most (or least) number of times in a file

To dump the contents of a file to the screen (or do so in reverse order)

All you need are the first (or final) X lines in a file

Question 9 (5 points)

 

Which of the following would allow you to replace multiple characters on a line of text within vi? Choose only ONE answer.

Question 9 options:

A) 

B) 

C) 

D) 

E) 

Question 10 (5 points)

 

How would you search for a string in the vi editor? Choose only ONE answer.

Question 10 options:

A) 

B) 

C) 

D) 

E) 

Question 11 (5 points)

 

The id command will provide you which of the following information? Choose only ONE answer.

The current value of your shell's identified

Question 11 options:

A) 

The current value of your shell's identifier

B) 

Your username and group membership

C) 

A shortcut for including the date (timestamp) in a file name

D) 

A list of which users can create files in the current directory

E) 

A prompt to insert data into a text file

Question 12 (5 points)

 

Which of the following commands would give an owner full privileges and deny access to all other users? Choose only ONE answer.

Question 12 options:

A) 

chmod 777 file

B) 

chmod 4600 file

C) 

chmod 640 file

D) 

chmod 700 file

E) 

chmod 644 file





As the text states, having a newborn enter the household can be a trying time, to say the least! Here is an activity/discussion that will help you gain greater insight into both the pressures of the a 2

Question 14 (5 points)

 

What are all of these users doing?


Question 15 (5 points)

 

Suppose you wanted to find only the processes associated with your username. How can you figure this out? 

Question 16 (5 points)

 

Let's keep a finger on the pulse of the server, in terms of CPU usage. Display the busiest jobs, ranked with busier jobs nearer the top of the list. (Note: This command varies per OS. Google something to the effect of “system monitoring” or “monitor CPU usage”, plus the name of your OS, in order to find the relevant command.

Question 17 (5 points)

 

Suppose now that you need to transfer the files in your home directory to another location. (It could be another folder, another filesystem because this one is running out of space, another server because your administrator is doing a server migration, etc.) Start by moving into your home directory.

Question 18 (5 points)

 

Now create a tar ball out of the files in there. (If you have more than the ones listed below, add them all in as well.) Be sure to put your actual username instead below!

Question 19 (5 points)

 

Which of the following can help you find a command given keywords about its usage (assume you don't already know the command's name)? Choose only ONE answer.

Question 19 options:

A) 

apropos <keywords>

B) 

man <keywords>

C) 

find / -name <keywords>

D) 

grep <keywords> man

E) 

search <keywords> /etc/cmd/

Question 20 (5 points)

 

What is the purpose of the tar command? Choose only ONE answer.

Question 20 options:

A) 

Encrypt files for secure transfer between servers

B) 

Remove a collection of files & replace them with a tar ball

C) 

Bundle many files into a single file for easy storage or transfer

D) 

Compress files

E) 

Ensure that a file cannot be deleted by anyone other than the file owner (or root