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)?

Answer Posted / meeran

awk '/^$/' filename

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is bash history?

934


What is bash eval?

1019


How do I save a powershell script?

1156


What is the meaning of $1 in shell script?

1120


What is the lifespan of a variable inside a shell script?

1662


Calculate a real number calculation directly from the terminal and not any shell script.

1227


How to print pid of the current shell?

1000


Suppose you execute a command using exec, what will be the status of your current process in the shell?

1080


What is echo in shell?

1115


Is bash an operating system?

991


How to find duplicate record in file using shell script?

1410


What is the syntax of "nested if statement" in shell scripting?

1101


What does echo mean in scripting?

1011


Explain about echo command?

1105


Why do we use shell scripting?

999