$sed -n 'np' file1.out
Based on the input of n like 1,2,3,....... we will get desired output
We can even use awk command as well
$awk 'NR==n{print;exit}' file.out
Based on the input of n like 1,2,3,....... we will get desired output
Based on the input of n like 1,2,3,....... we will get desired output
We can even use awk command as well
$awk 'NR==n{print;exit}' file.out
Based on the input of n like 1,2,3,....... we will get desired output
Comments