DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+6 =
Submit