Linux/UNIX Single User Chapter 4 Quiz

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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.

-print

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


Kaugnay na mga set ng pag-aaral

Metabolism and Nutrition Assignment (Chapter 25)

View Set

Week 4: Systematic Review and Meta-Analysis

View Set

1304 ART HISTORY EXAM 4 - Review

View Set

PrepU Review Questions (Exam 4: Ch. 13, 15)

View Set

Penicillins, Cephalosporins, Macrolides, Tetracyclines, Aminoglycosides, Fluoroquinolones, Sulfonamides, Antituberculars, Antifungals, Peptides(Ch. 29-32 Exam 3)

View Set

Preguntas y respuestas - Questions and answers

View Set