The ____ option of the paste command is used to specify a different separator as a delimiter. correct answers -d
The ____ option of the find command displays files that have been changed within the last n days. correct answers -mtime n
UNIX/Linux store data, such as letters, product records, ...
ITN 171 EXAM 2 (chapters 3-6) 100% CORRECT
ANSWERS!!
The ____ option of the paste command is used to specify a different separator as a delimiter.
correct answers -d
The ____ option of the find command displays files that have been changed within the last n
days. correct answers -mtime n
UNIX/Linux store data, such as letters, product records, or vendor reports, in flat ASCII files.
correct answers True
The ____ command is used to look for patterns in files. correct answers awk
A sorting ____ is a field position within each line. correct answers key
When you are moving files, using the -o option with the mv command can be a good idea so
that you don’t unexpectedly overwrite a destination file with the same name. correct
answers False
The paste command normally sends its output to ____. correct answers stdout
Moving and renaming a file are essentially the same operation. correct answers True
The command > accountsfile ____. correct answers creates an empty file called
accountsfile
When you no longer need a directory, you can use command ____ to remove it. correct
answers rmdir
System administrators and programmers refer to standard output as ____. correct answers
stdout
System administrators and programmers refer to standard input as ____. correct answers stdin
You can use the ____ command to create empty files. correct answers touch
When you no longer need a file, you can delete it using the ____ command. correct answers
rm
When you use the paste command, by default, the pasted results appear in columns separated
by commas. correct answers False
To move a file, you use the ____ command along with the source file name and destination
name. correct answers mv
The command rmdir can be used to delete a directory that is not empty. correct answers False
, The cp ____ option creates a symbolic link or name at the destination rather than a physical
file. correct answers -s
The join command is used to associate information in two different files on the basis of a
common field or ____ in those files. correct answers key
To run the myscript shell script located in the current directory, you should enter: ____.
correct answers ./myscript
Character special files are used by input/output devices for communicating one character at a
time, providing what is called ____ data. correct answers raw
If you execute ____, the contents of file1 are sorted and the results are stored in file2. correct
answers sort file1 > file2
In UNIX/Linux, text files and binary files are considered to be ____ files. correct answers
regular
When you use cat to combine two files into a third file, the first line of the output contains the
first line of the first file followed by the first line of the second file. correct answers False
You can complete a project using awk that you cannot complete using a combination of
paste, cut, sort, and join. correct answers True
To redirect the list of the files in a directory to a file called homedir.list, you enter ____.
correct answers ls > homedir.list
You can use the ____ operator to redirect commands or program error messages from the
screen to a file. correct answers 2>
1-this option prevents the touch command from creating a file, if it does not already exist
2-when deleting a directory with rm, this option is used to recursively delete its files and
subdirectories
3-option of the cp command that provides a warning before an existing file with the same
name is overwritten
4-option of the mv command that overwrites a destination file with the same name, if the
source file is newer than the one in the destination
5-is an option of the find command
6-can be used with cat to combine the contents of two files
7-combines files side by side
8-option of the cut command used to indicate that a specific character separates the fields
9-option of the sort command used to indicate that a specific character separates the fields
correct answers 1- -c
2- -r
3- -i
4- -u
5- -name
6- gt;
7- paste
8- -d
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ProPerfomer. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £8.84. You're not tied to anything after your purchase.