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

What is a command line shell?

990


What are the different variables present in linux shell?

1039


What is bash used for?

960


How to get script name inside a script?

957


Is shell a scripting language?

948


Is shell scripting easy to learn?

958


Is scripting and coding the same thing?

932


Is it possible to substitute "ls" command in the place of "echo" command?

998


What is the first line in every perl script called?

975


What is sed in shell script?

977


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

2093


What is the command to find out today's date?

1080


What are "c" and "b" permission fields of a file?

967


What can you do with powershell?

1060


What is the equivalent of a file shortcut that we have a window on a linux system?

1062