1.

Write the command to print content of line 10 to 20 from input.txt to output.txt ?

Answer»

<P>This can be done USING 'sed' command :

# Here 'p' to PRINT and '-n' to not print each line

sed -n 10,20p input.txt > output.txt


Discussion

No Comment Found