Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » help in writing a borne shell script
Search Topic:
Uniqs:
78
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Linux alternatives for web design »
« sun folks - hardware problem  
AuthorAll Replies


ayy3

@btcentralplus.com

help in writing a borne shell script

Hi everyone,

Kindly assist in providing solution to this script.

Create a file with x amount of lines in it.

script 1
Write a script that takes two arguments. The first being a line of text, the second being your newly created file. The script should take the first argument and insert it into the very top (the first line) of the named in your second argument.
Note: The file must retain the original name

2)Take a copy and amend the above script so that it now inserts the first argument into the middle of the file.
Forums » Tech and Talk » OS and Software » All Things UnixLinux alternatives for web design »
« sun folks - hardware problem  


Thursday, 10-Dec 17:01:53 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [200] Sprint Sued For Distracted Driving Death
· [131] AT&T Launching New 24 Mbps U-Verse Tier
· [85] AT&T Hints At Usage-Based iPhone Data Pricing
· [82] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [71] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [66] Sprint Poised For A Turnaround?
· [51] The Future Of Wi-Fi Is Bright
· [50] Average American Consumes 34 Gigabytes Daily
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
Most people now reading
· [WIN7] Well, I was dumb, but do I have recourse? [Microsoft Help]
· New Mediacom Email [Mediacom]
· Windows 7 boot manager editing questions [Microsoft Help]
· malware has been found hidden inside an Ubuntu screensaver [Security]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· 60GB would only last us two days! [TekSavvy]
· Icecrown 5-man strats [World of Warcraft]
· Snow on Roof [Home Repair & Improvement]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]