You can also use “sed” or “awk” to print a specific line:
EXAMPLE:
sed -n '2p' myfile
PS:
As to “what’s wrong with my ‘head|tail'” command – shelltel is correct.
You can also use “sed” or “awk” to print a specific line:
EXAMPLE:
sed -n '2p' myfile
PS:
As to “what’s wrong with my ‘head|tail'” command – shelltel is correct.