Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what does the command 'wc' do?

Answer Posted / amit

wc command generally used for count the no. of words(-w),
counts the no of lines(-l), count the no of character(-c)
example
wc -c<b
where b is the file. wc command check the character from
file b.similrly use the -l at the position of -c then it
counts the no of lines present in the file b.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the tee command?

1102


How do I use grep to search for a file?

1065


What does the command '$ls | wc –l > file1' do?

1240


Enlist some filename manipulation commands in unix.

1164


How do I search for text in vi?

1051


Explain command to view process running?

1146


Write a command to kill the last background job?

1107


Differentiate cat command from more command.

1158


Who invented grep?

1166


How can you see the command line history?

1145


What is rmdir command?

1119


What is s and g in sed command?

1120


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1409


How does the system know where one command ends and another begins?

2259


What's a command word?

1185