How can you find the phone number for Ace Electronics in a file named phone that contains a list of names and phone numbers? Which command can you use to display the entire file in alphabetical order? How can you dis- play the file without any adjacent duplicate lines? How can you display the file without any duplicate lines?

What will be an ideal response?


$ grep "Ace Electronics" phone
$ sort phone
$ uniq phone
$ sort -u phone

Computer Science & Information Technology

You might also like to view...

When editing someone else's comment, it is a good practice to:

A) contact the lead author and discuss any proposed changes to the comment. B) ask the person for his or her permission before making any changes to the comment. C) make the changes to the document and notify the person of your changes. D) add your name or initials to any changes that you make to the comment.

Computer Science & Information Technology

Changing the ________ of a border determines its thickness

Fill in the blank(s) with correct word

Computer Science & Information Technology

When using the CORREL function, a value of .00007 would indicate:

A) an inverse relationship. B) no relationship. C) a strong relationship. D) a weak relationship.

Computer Science & Information Technology

A situation where two software packages use resources in incompatible ways is called a(n) ____.

A. conflict B. IRQ problem C. performance problem D. inconsistency

Computer Science & Information Technology