Unix command to change the case of first three lines of file “shortlist” from lower to upper
- $ \$ \text{tr } ‘[a-z]’ ‘[A-Z]’ \text{ shortlist}$ ¦ $\text{head } – 3$
- $\$ \text{head} – 3 \text{ shortlist}$ ¦ $\text{tr} ‘[a-z]’ ‘[A-Z]’$
- $\$ \text{tr head} – 3 \text{ shortlist } ‘[A-Z]’ ‘[a-z]’$
- $\$ \text{tr shortlist head } – 3 ‘[a-z]’ ‘[A-Z]’$