1.

Unix command to change the case of first three lines of file “shortlist” from lower to upper

A. $ tr ‘[a-z]’ ‘[A-Z]’ shortlist | head-3
B. $ head-3 shortlist | tr ‘[a-z]’ ‘[A-Z]’
C. $ tr head-3 shortlist ‘[A-Z]’ ‘[a-z]’
D. $ tr shortlist head-3 ‘[a-z]’ ‘[A-Z]’
Answer» C. $ tr head-3 shortlist ‘[A-Z]’ ‘[a-z]’


Discussion

No Comment Found