Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

command to ceck number of lines or words in a file

# The first number is for lines, the second is for words and the last is for size in bytes

wc <filename>
wc -l for just lines
wc -w for just words

#check man wc for other options
 
PREVIOUS NEXT
Tagged: #command #ceck #number #lines #words #file
ADD COMMENT
Topic
Name
8+1 =