Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

show specific lines in file linux

$ cat sample_file.txt | awk 'NR==9'     #[Prints 9th line]
 
PREVIOUS NEXT
Tagged: #show #specific #lines #file #linux
ADD COMMENT
Topic
Name
8+2 =