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...


How will you list only the empty lines in a file (using
grep)?

Answers were Sorted based on User's Feedback



How will you list only the empty lines in a file (using grep)?..

Answer / guest

grep "^$" filename

Is This Answer Correct ?    23 Yes 3 No

How will you list only the empty lines in a file (using grep)?..

Answer / junhua

sed -n '/^$/p' file

Is This Answer Correct ?    11 Yes 3 No

How will you list only the empty lines in a file (using grep)?..

Answer / meeran

awk '/^$/' filename

Is This Answer Correct ?    7 Yes 2 No

How will you list only the empty lines in a file (using grep)?..

Answer / kiran penujuri

find . -size 0 -print

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More Shell Script Interview Questions

How to print all the arguments provided to the script?

0 Answers  


How to declare functions in unix shell script?

4 Answers  


How do I run a script from command prompt?

0 Answers  


What are the advantages of using shell scripts?

0 Answers  


What is $1 in shell scripting?

0 Answers  


How will you pass and access arguments to a script in linux?

0 Answers  


What is inside a seashell?

0 Answers  


Explain about gui scripting?

0 Answers  


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

0 Answers  


give me some website where i can get unix and testing meterials

1 Answers  


What is subshell?

0 Answers  


What is use of "cut" command?

3 Answers  


Categories