UGC-NET | UGC NET CS 2017 Jan – III | Question 74

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: (B)


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.