Znajdź ile linii w pliku Linux
wc -l <filename>
Angelos Panos
wc -l <filename>
Write a bash script to print a particular line from a file:
awk = $ awk '{if(NR==LINE_NUMBER) print $0}' file.txt
sed = $ sed -n LINE_NUMBERp file.txt