Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
shell count number of columns
user11634197
Programming language:
Shell/Bash
2021-07-03 16:03:57
-1
Q:
shell count number of columns
can
Code:
Shell/Bash
2021-03-22 15:53:25
awk '{print NF}' filename | sort -nu | tail -n 1
-1
Tags
number
shell
columns
count
Related
see total space available in shell
bash calculate the mean of a column
shell count number of lines
count specific number in array powershell
count number of lines in directory linux
bash count lines
bash count the number of lines that meet condition
bash print count of unique words in column
shell count lines output
New to Communities?
Join the community