Bích Ngọc
Member
How do I print a particular line in Linux?
Answer
Print a single specific line
The “head -x” part of the command will get the first x lines of the files. It will then redirect this output to the tail command. The tail command will display all the lines starting from line number x.
Answer
Print a single specific line
The “head -x” part of the command will get the first x lines of the files. It will then redirect this output to the tail command. The tail command will display all the lines starting from line number x.