![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing runtime arguments to a shell script... | santy | Shell Programming and Scripting | 10 | 01-09-2009 10:47 PM |
| Is there a limit to the no. of arguments to a shell script ? | hidnana | Shell Programming and Scripting | 4 | 03-17-2008 12:19 PM |
| shell script takes long time to complete | ozzman | Shell Programming and Scripting | 12 | 02-05-2007 11:25 PM |
| Write a script that takes 2 arguments | mopimp | UNIX for Dummies Questions & Answers | 6 | 03-24-2006 06:16 PM |
| Shell script with arguments | sankar6254 | Shell Programming and Scripting | 3 | 12-22-2003 09:21 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to write a shell script tht takes two arguments.The first being a line of text,the second being your newly created file(x no
f lines and content of ur choice).The script should take the first argument and insert it into the very top(the first line)of the file named in your second argument. Note : the file must contain the original name. Last edited by bobby36; 04-05-2007 at 12:02 PM.. |
|
||||
|
Thanks Jim, I appreciate for your quick response.I know this is a basic script but I'm alien to scripting and more over I'm into testing so dont even know abcd of scripting.I was given a task in shell scripting to complete.
The off uses bash not ksh.So could you please write it in bash.I really appreciate for your help.I have got 5 more simple questions hope you will answer them aswell. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|