Command to output file content line by line
Hi,
Is there a command that will output a requested line number of a file? |
I don't know of a specific command (there probably is one somewhere), but you can use:
Code:
head -n 100 filename | tail -n 1 |
Hi,
Try this: sed -n 100p filename Arvind |
All times are GMT -5. The time now is 10:35 PM. |