![]() |
|
|
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 |
| Delete a portion of a line using shell scripting | Loy81 | Shell Programming and Scripting | 3 | 08-25-2008 02:54 PM |
| Need help in splitting a line into fields in shell scripting | punithavel | Shell Programming and Scripting | 2 | 06-25-2008 05:01 PM |
| How do i iterate thru each line of a file in shell scripting? | Ravi Varma | Shell Programming and Scripting | 2 | 09-06-2007 12:28 AM |
| End of Line in Shell Scripting | 33junaid | Shell Programming and Scripting | 2 | 08-12-2007 12:03 PM |
| who to deal with whole line in shell scripting | KSA | Shell Programming and Scripting | 2 | 08-02-2006 09:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
add a line at the end of a file using shell scripting
Hi All ,
I am new to shell scripting. i have a shell script(which is executed as a super user) , i want to it to do one more job for me. ie mounting a directory over other using lofs . i have done it manually using 1) using mount command mount -F lofs /export/home/dju /dju 2) putting an entry into the end of /etc/vstab file /export/home/dju - /dju lofs - yes - how can i do this in shell script . can somebody help me. Regards Aki |
|
||||
|
A command in a script is not different from a command you write at the command line, except you write it in a file instead, and chmod +x the file. You should probably also have an explicit #!/bin/sh at the top of the file.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|