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 I insert a line "abcdef" at every 100th line of a file?

Answer Posted / pix

sed '100iABCDEF' file1

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a command line shell?

1054


What is the first line in a shell script?

1108


Which is better perl or shell scripting?

994


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

1352


What are the advantages of shell script?

1029


Is shell a scripting language?

1016


How do I save a powershell script?

1154


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

2136


What is a shell environment?

997


What is shell variable?

920


How do we create command aliases in a shell?

1001


Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.

2475


Explain about sourcing commands?

1101


What are filters explain sort with all the options available?

1344


Why is it called a shell?

932