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)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post
Last Updated :
29 Mar, 2018
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...