On Sun, 6 May 2001, Diwakar Ranganathan wrote:

 |is there any other way to execute a (bash) shell
 |script other than ./scriptname or bash scriptname?
 |
 |do i have to place it in the directory where bash is?

place it in a directory in your path... normally you should have ~/bin in
your path and you can put all your scripts in that directory.. remember to
chmod +x them so that they are executable

now you will be able to run them by just typing scriptname on the command
line

Kingsly
                .:: Kingsly John                ICQ 14787510 ::.
               --------------------------------------------------
            .:: Linux 2.4.3 #10 Mon Apr 23 22:43:11 IST 2001 i686 ::.
            --------------------------------------------------------
           `:. Posted to the list on Sun May  6 20:26:46 IST 2001 .:'


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to