Assuming you need lines 32 to 34 out of a large file.
using awk
1
awk 'FNR>=32 && FNR<=34' <nameofthefile>
using sed
1
sed -n '32,34p;45q' <nameofthefile>
Assuming you need lines 32 to 34 out of a large file.
using awk
1
awk 'FNR>=32 && FNR<=34' <nameofthefile>
using sed
1
sed -n '32,34p;45q' <nameofthefile>
A new version of content is available.