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

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

1.$ tr ‘[a-z]’ ‘[A-Z]’ shortlist | head-3

2.$ head-3 shortlist | tr ‘[a-z]’ ‘[A-Z]’

3.$ tr head-3 shortlist ‘[A-Z]’ ‘[a-z]’

4.$ tr shortlist head-3 ‘[a-z]’ ‘[A-Z]’

Posted Date:-2022-06-03 19:11:15


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!