Computer Science - Linux - Discussion
Discussion Forum : Linux - Section 1 (Q.No. 1)
1.
What command is used to count the total number of lines, words, and characters contained in a file?
Discussion:
14 comments Page 2 of 2.
Swapneel said:
1 decade ago
wc -l filename : will give the no.of lines.
wc -w filename : will give the no.of words in the file.
wc -w filename : will give the no.of words in the file.
Manish said:
1 decade ago
[root@station2~]$wc install.log
Amar said:
1 decade ago
[root@station2~]$wc install.log
Raj Singh said:
1 decade ago
[root@station2 ~]$ wc install.log
806 1620 32292 install.log
806 1620 32292 install.log
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers