Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

echo wc command

wc file.txt
10		20		500 	file.txt
lines	words	bytes	file_name
wc -l file.txt # Outputs only lines (-l)
wc -w file.txt # Outputs only words (-w)
wc -c file.txt # Outputs only bytes (-c).
 
PREVIOUS NEXT
Tagged: #echo #wc #command
ADD COMMENT
Topic
Name
2+2 =