• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

Linux Chapter 5 Review Questions 2023.

Document preview thumbnail
Preview 1 out of 2 pages

Linux Chapter 5 Review Questions 2023.You use the ____ command to search for a specified pattern in a file, such as a particular word or phrase. - ANSWER grep The ____ option of the diff command shows lines surrounding the line that differs. - ANSWER -c When you create a shell script to run in Bash, you can immediately run the script by typing ____ and then the name of the script. - ANSWER sh The ____ function within the awk command is used to format output. - ANSWER printf The ____ option of the grep command displays only lines that do not contain the search pattern. - ANSWER -v The ____ option of the diff command does not compare for blank lines. - ANSWER -B When using the printf function, ____ indicates that the output is to appear in decimal digits. - ANSWER %d The ____ redirects the output of one command to the input of another command. - ANSWER pipe operator (|) ____ is NOT a selection command. - ANSWER sed The ____ option of the diff command ignores blanks that repeat. - ANSWER -b By default, each page in the output of pr has a ____-line header, which, by default, contains the current file's name, its last modification date, the current page, and a trailer consisting of blank lines. - ANSWER five Bash is a freeware derivative of the Bourne and ____ shells. - ANSWER Korn The ____ command removes duplicate lines from a file. - ANSWER uniq By default, pr formats the specified files into single-column pages of ____ lines. - ANSWER 66 The ____ option of the uniq command instructs it to generate as output only the lines of the source file that are not duplicated successively. - ANSWER -u To append new lines in sed, you must use the ____ command - ANSWER a You use the ____ character in script files to mark comments. - ANSWER pound (#) The ____ command locates identical lines within two identically sorted files. - ANSWER comm One way to run a shell script is to make it executable by using the x permission and then typing ____ prior to the script name when you run the script itself. - ANSWER ./ The ____ option of the diff command is used to display the differences side-by-side in columns. - ANSWER -y compares sorted files and shows differences - ANSWER comm selects lines or rows - ANSWER grep counts characters, words, or lines in a file - ANSWER wc selects columns (fields) - ANSWER cut compares and selects differences in two files - ANSWER diff formats and prints - ANSWER pr


Document information

Uploaded on
May 29, 2023
Number of pages
2
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$9.09

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ROSEGRADES
3.4
(35)
Sold
235
Followers
87
Items
12135
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.