Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
print line from word file linux
VortexYT
Programming language:
Shell/Bash
2021-05-08 20:47:03
0
Q:
print line from word file linux
bob
Code:
Shell/Bash
2021-03-06 12:38:46
$>awk '{if(NR==LINE_NUMBER) print $0}' file.txt
0
Tags
line
file
int
linux
print
word
Related
how to search for a word in files in linux
delete lines text file linux
linux search for line in file
add a line at the end of a file linux
print first lines of file linux
find text in linux file
count number of lines in directory linux
delete first two lines of file linux
find text pattern in file linux
find text in any file linux
how many lines of code in linux
shell count lines output
count occurrences of word in file linux
bash print lines that dont have a word
linux remove lines from file
windows check line ending of file
read string by string in file in linux
linux show file line size
New to Communities?
Join the community