Question

In: Computer Science

using Linux please fill in the blanks : telnos files:

 

using Linux please fill in the blanks :

telnos files:

telnos

telnos2

Hale Elizabeth Bot   744-6892
Harris Thomas Stat 744-7623
Davis Paulette Phys 744-9579
Cross Joseph   MS    744-0320
Holland Tod    A&S   744-8368

Hale Elizabeth Bot   744-6892
Harris Thomas Stat 744-7623
Davis Paulette Phys 744-9579
Holland Tod    A&S   744-8368

telnos3

telnos 4

Hale Elizabeth Bot   744-6892
Harris Thomas Stat 744-7623
Smith John     Comsc 744-4444
Davis Paulette Phys 744-9579
Cross Joseph   MS    744-0320
Holland Tod    A&S   744-8368

Hale Elizabeth Bot   744-6892
Smith John     Comsc 744-4444
Davis Paulette Phys 744-9579
Cross Joseph   MS    744-0320
Holland Tod    A&S   744-8368

The file books contains the following information:

Subject

Book Title

Author's

Last Name

Author's

First Name

Pub.

Date

Price

UNIX:

Introduction to UNIX:

Wrightson:

Kate:

2003:

45.00:

UNIX:

Just Enough UNIX:

Anderson:

Paul:

2003:

39.00:

UNIX:

Bulletproof UNIX:

Gottleber:

Timothy

2002:

48.00:

UNIX:

Learning the Korn Shell:

Rosenblatt:

Bill:

1994:

35.95:

UNIX:

A Student's Guide to UNIX:

Hahn:

Harley:

1993:

24.50:

UNIX:

Unix Shells by Example:

Quigley:

Ellie:

1997:

49.95:

UNIX:

UNIX and Shell Programming:

Forouzan:

Behrouz:

2002:

80.00:

UNIX:

UNIX for Programmers and Users:

Glass:

Graham:

1993:

50.00:

SAS:

SAS Software Solutions:

Miron:

Thomas:

1993:

25.95:

SAS:

The Little SAS Book, A Primer:

Delwiche:

Lora:

1998:

35.00:

SAS:

Painless Windows for SAS Users:

Gilmore:

Jodie:

1999:

40.00:

SAS:

Getting Started with SAS Learning:

Smith:

Ashley:

2003:

99.00:

SAS:

The How to for SAS/GRAPH Software:

Miron:

Thomas:

1995:

45.00:

SAS:

The Output Delivery System:

Haworth:

Lauren:

2001:

48.00:

SAS:

Proc Tabulate by Example:

Haworth:

Lauren:

1999:

42.00:

SAS:

SAS Application Programming:

Dilorio:

Frank:

1991:

35.00:

SAS:

Applied Statistics & SAS Programming:

Cody:

Ronald:

1991:

29.50:

issue the command:

        sort -n -t: +4 books

What is the result? ________________________________________________________________________________________________________________________________________________

Try another sort using the books file. Sort on the price field in reverse. Type in the following:

        sort -nr -t: +5 books

What was the result? _______________________________________________________________________________________________________________________________________________

Type in:

        sort -t: +0 +1 books > newbooks

What does the sorted file look like now?

__________________________________________________________________________________________________________________________________________________________________

. Issue the command:

               grep -n H telnos

What was printed? ________________________________________________________________________________________________________________________________________________________________________________________________________________________

Issue the command:

              grep -ni m telnos

What was printed this time?___________________________________________________________________________________________________________________________________________________________________________________________________________________

Solutions

Expert Solution

Answer 1
*************

Answer 2
***************

-n, --numeric-sort

-r, --reverse order

Answer 3
*************

-t, --field-separator=SEP

ascending order by 0th column then sort 1st column and create a new file for that sorted data and store result

Answer 4
*************

-n H

where ever found the H character gives the line number

Answer 5
*************

-n, --line-number
-i, --ignore case with character m

Thanks


Related Solutions

C++ Fill in the blanks please You are required to fill in the blanks in this...
C++ Fill in the blanks please You are required to fill in the blanks in this program. Consider that: -In main, the variables price and quantity were given the names of p (double) and q (int), respectively. -In the getData function, the parameters associated with the main variables p and q were called pp and pq, respectively. // Prototype: Do not include the names // of the variables in the prototype void getData (FILLTHEBLANK , FILLTHEBLANK); int main () {...
please fill in the blanks using c program or lunix with the answers being highlighted 1....
please fill in the blanks using c program or lunix with the answers being highlighted 1. You will now need four files. These are telnos, telnos2, telnos3, telnos4. These files are all short files that contain names, departments, and telephone numbers. This is what they look like. telnos telnos2 Hale Elizabeth Bot   744-6892 Harris Thomas Stat 744-7623 Davis Paulette Phys 744-9579 Cross Joseph   MS    744-0320 Holland Tod    A&S   744-8368 Hale Elizabeth Bot   744-6892 Harris Thomas Stat 744-7623 Davis Paulette Phys...
Please fill in the blanks: __________________ - Liabilities = Owner’s Equity. Please express the equation for...
Please fill in the blanks: __________________ - Liabilities = Owner’s Equity. Please express the equation for the Income Statement: ____________________ - ________________ = Net Income. Please express the equation for the Statement of Retained Earnings: BB + or - ______________________ - Dividends +or- = _____________________. Please express the equation for the Balance Sheet: ________________________ = ____________________________ + _________________________. What are the three types of cash flows listed in the Statement of Cash Flows? _________________________, __________________________, _________________________. What are the four...
Fill in the blanks: Consider the following equilibrium and fill in the blanks with either increase...
Fill in the blanks: Consider the following equilibrium and fill in the blanks with either increase or decrease. I2(s) + 5F2(g) ⇌ 2IF5(g) A decrease in volume results in a Blank 1 in pressure which will Blank 2 the amount of IF5.
This question contains multiple fill in the blanks. Please choose from the following words to fill...
This question contains multiple fill in the blanks. Please choose from the following words to fill in the appropriate blanks: mitosis, identical, synapsis, separation, different, meiosis. Words may be used more than once or not at all. NOTE: Enter your answers in all lower case letters exactly as they are shown above. During (a)____, chromosome number is reduced to haploid complements. This is achieved by (b)_____ of homologous chromosomes and their subsequent (c)_____. It would seem to be more mechanically...
Please fill in the blanks in the following table:          Present                Future        &n
Please fill in the blanks in the following table:          Present                Future                   Interest                   Time to          Value                   Value                      Rate                     Maturity          $20,000                                                6%                      34 years                                    $200,000                    7%                      12 years          $55,000          $111,419.91                                             18 years          $90,000          $207,408.40                 11%                           
fill in the blanks please a) Already outstanding securities are traded in the ______________markets. b) An...
fill in the blanks please a) Already outstanding securities are traded in the ______________markets. b) An IPO is a ____________________ market transaction. c) Firms raise capital by selling newly issued securities in the ___________markets. d) New York Stock exchange is an example of a ____________________ market. e) The ___________ of the securities traded differentiates the money market from the capital market. f) The primary goal of a financial manager should be ___________________ g) Markets for short-term debt securities are called...
answer all 5 please as this is in steps. 1. Fill in the Blanks A corporation...
answer all 5 please as this is in steps. 1. Fill in the Blanks A corporation has 10,000 bonds outstanding with a 6% annual coupon rate, 8 years to maturity, a $1,000 face value, and a $1,100 market price. MV of debt is The company’s 100,000 shares of preferred stock pay a $3 annual dividend, and sell for $30 per share. Market value of preferred shares is The company’s 500,000 shares of common stock sell for $25 per share and...
Please fill in the 3 blanks in the spreadsheet and then answer the two following question....
Please fill in the 3 blanks in the spreadsheet and then answer the two following question. The following information is from Bluff Run Golf Courses. The company runs three courses and the July income statement for each course is as follows: A. Find the missing value for outings revenue, wages, and operating income. BLUFF RUN GOLF COURSES Income Statement Month Ending July 31, 2018 Blue Course   Black Course   Gold Course   Greens fees revenue    $62,500    $89,000    $42,900   ...
PLEASE Fill in the blanks: 1) The group responsible for overseeing the corporation's activities is /are...
PLEASE Fill in the blanks: 1) The group responsible for overseeing the corporation's activities is /are the ________. 2) A corporation is responsible for its own acts and debts because it is considered a ________. 3) The number of shares that a corporation's charter allows it to sell is the ________ stock. 4) ________ bonds can be exchanged for a fixed number of shares of the issuing corporation's common stock. 5) ________ bonds have an option exercisable by the issuer...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT