What are the options of wc command?



What are the options of wc command?..

Answer / Girvinder Kour

The 'wc' (word count) command in Linux has several options to help you analyze text files. The most common ones include:n- '-l': line countn- '-w': word countn- '-m': byte count ('-c' is an alias for this option)n- '-n': character count

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

What is mkdir p linux?

1 Answers  


Who is unix command?

1 Answers  


How do I run a script in linux?

1 Answers  


What are the commands used in command prompt?

1 Answers  


Brief about finger username?

1 Answers  


How would you find whether a remote server is up or not?

8 Answers   HP,


How do I change shell in linux?

1 Answers  


What are two subtle differences in using the more and the pg commands?

2 Answers   Airtel,


How do you open a command prompt when issuing a command?

1 Answers  


I want to see how many interfaces(ethernet cards) are working using single command?

8 Answers  


How many types of commands are there in linux?

1 Answers  


Hi All of Unix/Linux professional Q.Why soft link file not open by cat command. Ihave make following symbolic link but when i open with #cat linkfilename it does not oped please see the following code and try to answer. # ln -s file1 ~/mydir/filea [root@dhcppc0 ~]# cd mydir [root@dhcppc0 mydir]# ls -l total 4 lrwxrwxrwx 1 root root 5 2010-04-04 09:04 filea -> file1 [root@dhcppc0 mydir]# cat filea cat: filea: No such file or directory

2 Answers  


Categories