Linux/UNIX Single User Chapter 4 Quiz
A sorting ____ is a field position within each line.
key
combines files side by side
paste
The paste command normally sends its output to ____.
stdout
You can use the ____ command to create empty files.
touch
this option prevents the touch command from creating a file, if it does not already exist
-c
The ____ option of the paste command is used to specify a different separator as a delimiter.
-d
option of the cut command used to indicate that a specific character separates the fields
-d
option of the cp command that provides a warning before an existing file with the same name is overwritten
-i
is an option of the find command
-name
When you use find, it is useful to note that some UNIX versions require the ____ option after the file name to display the names of files.
when deleting a directory with rm, this option is used to recursively delete its files and subdirectories
-r
The cp ____ option creates a symbolic link or name at the destination rather than a physical file.
-s
option of the sort command used to indicate that a specific character separates the fields
-t
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
-u
To run the myscript shell script located in the current directory, you should enter: ____.
./myscript
The command rmdir can be used to delete a directory that is not empty.
False
can be used with cat to combine the contents of two files
>
Moving and renaming a file are essentially the same operation.
True