The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: calling script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-11-2008
c00kie88 c00kie88 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 63
calling script

Hi all,

The scenario is:

1. I created a script called hello
2. i created another script called blah which meant to use "hello" script.

How do i do it?

e.g. "blah" script
#!/bin/sh

test = /home/blah/hello

echo "please enter name"
read name
test $name

is it correct ? or i should put ./test $name instead?