A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. 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:$ head-3 shortlist | tr ‘[a-z]’ ‘[A-Z]’
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: