![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help me in sending parameters from sqlplus script to unix shell script | Hara | Shell Programming and Scripting | 2 | 01-29-2008 11:31 AM |
| Shell Script: want to insert values in database when update script runs | ring | Shell Programming and Scripting | 1 | 10-25-2007 12:06 AM |
| here document to automate perl script that call script | hogger84 | Shell Programming and Scripting | 3 | 10-22-2007 07:15 AM |
| returning to the parent shell after invoking a script within a script | gurukottur | Shell Programming and Scripting | 5 | 09-26-2006 04:05 AM |
| return valuse from child script to parent script | borncrazy | Shell Programming and Scripting | 1 | 08-20-2004 12:39 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Using a script?
I have never use a shell script.. I would like to use this one...
Copying files between 2 Unix server How do I set this up? Thanks. |
| Forum Sponsor | ||
|
|
|
|||
|
A script is simply a list of instructions that you may type at the keyboard, but put in a file with a very simple header ( "#!/bin/sh" ). They are then made executable using "chmod +x script-name".
These are normally stored in a well choosen directory and are run by type their pathname at the shell prompt. They can also be executed by other agents such as cron, or at startup/shutdown. A commonly used naming convention is they have the shell type as an extension, eg *.sh, *.ksh, *.csh etc. |
|
|||
|
Oops.. I just noticed the link I posted earlier was wrong. I'm trying to use the script found in this thread:
Recursive FTP -- here at last. My shell is bash. Does that mean I need to change the first line in the script? |
|||
| Google UNIX.COM |