Skip to content

Instantly share code, notes, and snippets.

@askucher
Created August 25, 2015 11:17
Show Gist options
  • Select an option

  • Save askucher/7dcade2f5001ce669590 to your computer and use it in GitHub Desktop.

Select an option

Save askucher/7dcade2f5001ce669590 to your computer and use it in GitHub Desktop.
nixar.count

Операция

$ cat filename | wc -l  #=> 5

###Вывести количество строк в файле

Вход

line 1
line 2
line 3
line 4
line 5

Операция

$ cat filename | count  #=> 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment