What is the purpose of the tar command?
Which of the following is a valid UNIX directory? Choose only ONE answer.
Question 2 options:
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.
Question 3 options:
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:
Question 7 (5 points)
The more command has which of the following benefits over the cat command? Choose only ONE answer
Question 7 options:
output is paginated
allows for display of files larger than 1MB
has an option to include the file header
allows you to concatenate two files together
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:
Question 10 (5 points)
How would you search for a string in the vi editor? Choose only ONE answer.
Question 10 options:
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:
The current value of your shell’s identifier
Your username and group membership
A shortcut for including the date (timestamp) in a file name
A list of which users can create files in the current directory
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:
chmod 777 file
chmod 4600 file
chmod 640 file
chmod 700 file
chmod 644 file
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:
find / -name
Question 20 (5 points)
What is the purpose of the tar command? Choose only ONE answer.
Question 20 options:
Encrypt files for secure transfer between servers
Remove a collection of files & replace them with a tar ball
Bundle many files into a single file for easy storage or transfer
Ensure that a file cannot be deleted by anyone other than the file owner (or root
The post What is the purpose of the tar command? appeared first on graduatepaperhelp.
Hi there! Click one of our representatives below and we will get back to you as soon as possible.