It is currently Tue, 17 May 2022 01:25:22 GMT



 
Author Message
 how to run *.sh scripts
i am trying to install the microsoft frontpage2000 extension on my apache
1.3 webserver. the instructions for the extensions says to run
"fp_install.sh". i am logged on as root, but i do not understand how to
"run" this script.

help is greatly appreciated.

thank you,
mark



 Wed, 18 Jun 1902 08:00:00 GMT   
 how to run *.sh scripts

[root@toybox root]#./fp_install.sh

or full path to file from any shell prompt. If the file was downloaded,
you'll need to make it executable with 'chmod -x'.

--
Hal B
hburgiss@_spamx_bellsouth.net
--



 Wed, 18 Jun 1902 08:00:00 GMT   
 how to run *.sh scripts
./fp_install.sh


 Wed, 18 Jun 1902 08:00:00 GMT   
 how to run *.sh scripts
thanks hal.

that worked like a champ.

-mark

news:slrn8jbq8v.1kk.hburgiss@localhost.localdomain...



 Wed, 18 Jun 1902 08:00:00 GMT   
 how to run *.sh scripts
The reason why you dont have the current dir "."  in your path is
that if somebody put put for example "ls" in his home dir, which are
in fact a script "rm -rf /" then you would execute that script berore
your real ls (if you have put . before /bin in you path).
If you plan to put . in your(as a user) path (never as root) put
it at the end.
still people can put scripts that destroy your data.
Some idiots put scrips like sl (easily typed) which are
executed when you brain is working to fast ; ).    

-------------------------------
Ola Hamfors
m96_...@nada.kth.se
-------------------------------



 Wed, 18 Jun 1902 08:00:00 GMT   
 
   [ 5 post ] 

Similar Threads

1. changing UID within running sh-script: HOW?

2. How to run sh script on apache

3. Making a Tomcat script (.sh) run during Linux Init

4. Why DO I hae to us e sh to run a Shell script

5. command to run script in sh?

6. running a sh script on different Unix box?

7. Running a script using sh and ksh

8. Geting SH to wait for script to run before continuing

9. bagpipe 3.0 - run part of a pipeline in the background (sh script)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software