How to run my make file in Kornshell


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to run my make file in Kornshell
# 1  
Old 11-22-2010
How to run my make file in Kornshell

Hello Forum Memebers,


I have file with exension of .shsrc ie(startA.shsrc) .while iam trying to make ,its getting Ksh not found.
file:startA.shsrc
error:KSH not found

the content about shell declaration in the korn shell is below.

Code:
 
#=============================================================================
# Shell script rule
#=============================================================================
%.sh: %.shsrc
        @echo ""
        @rm -f $@
        @echo "Building Shell Script $@."
        @cp $< $@
        chmod a+x $@
#====================================================


I am looking forward from you.


Thanks & Regards
Rajkumar.G

Last edited by pludi; 11-22-2010 at 09:02 AM..
# 2  
Old 11-22-2010
What did you type and what was the exact output (including any error messages).
# 3  
Old 11-22-2010
I have file with exten .shsrc and i not able to run in korn shell

I have file called startA.shsrc, I am trying to to do below thing.

make startA.shsrc and it showing KSH not found.so how to handle this file.
# 4  
Old 11-22-2010
Is this your full code?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Make script that run with argument if not run from configuration file argument

Hello, Is there any method thorugh which script can take argument if pass otherwise if argument doesn't pass then it takes the argument from the configuration file i.e I am workiing on a script which will run through crontab and the script will chekout the code ,zip and copy to the... (3 Replies)
Discussion started by: rohit22hamirpur
3 Replies

2. Shell Programming and Scripting

How to make this run in multiple threads

Hi, I have a list of URLs in a csv file which I'm checking for page status. It just prints the URL and the status as output. This works perfectly fine. I'm looking to run this in multiple threads to make this process faster. I'm pretty new to Perl and I managed to complete this. It would be... (9 Replies)
Discussion started by: kzenthil
9 Replies

3. Shell Programming and Scripting

Kornshell grabbing value from file

I have a script right now that I run a command which outputs just one word to a file. Well I need to grab that value and use it in another line of code so... touch oraclesid.txt echo $ORACLE_SID > oraclesid.txt #grab that value sqlplus v500/v500@<value> how do I grab that value from the... (6 Replies)
Discussion started by: Blogger11
6 Replies

4. UNIX for Dummies Questions & Answers

Help with make, how to run it...!

I have windows xp sp3, and i have a make file called Makefile, (no extension), and i don't know how to run it. Also it has the commands (underline means it has something there) COMPILE_JAVA = javac -source 1.4 RUN_JAVA = java -enableassertions test: _______________ ... (1 Reply)
Discussion started by: omega666
1 Replies

5. SuSE

Suse 11 - How to run 'make'

I just installed gcc using Yast. When I run 'make', the command is not found. What should I do? #which gcc /usr/bin/gcc (2 Replies)
Discussion started by: fld2007
2 Replies

6. Shell Programming and Scripting

How to make a script to run everytime a new file is copied into a directory??

Hi folks I have a unix script script1 in a directory folder1 and also I have few input log files in this directory. My input log files will be copied into this directory folder1 from the portable thumb drive. Now what I want is I need to run this script1 whenever any new file is copied... (2 Replies)
Discussion started by: ks_reddy
2 Replies

7. Shell Programming and Scripting

How to make a script (Bash, KornShell, etc.) executable by mouse clicking?

Hello everybody, Is there any way to make a script (Bash, KornShell, etc.) executable by mouse clicking? For example you have a file myscript.sh, you run: $ chmod u+x myscript.sh Therefore it becomes executable and all you need is to run from the terminal: $./myscript.sh... (2 Replies)
Discussion started by: dariyoosh
2 Replies

8. Shell Programming and Scripting

run and make an executable file

as i said before i'm a beginner in shell programming and i have two questions: how to run an executable file in shell scripts like for example let's say the file called "prog.exe", what's the shell command to run this file? also how can i make the shell file an executable file (if it is... (5 Replies)
Discussion started by: _-_shadow_-_
5 Replies

9. Shell Programming and Scripting

Make program only run by root

Hi all, i hope i got this in the right place, what i am trying to do is make a program only run by root, ie for instance user fred is logged in and uses firefox, what id like to do is change that so that when fred wants to use firefox he will be asked to enter root password before he is allowed to... (14 Replies)
Discussion started by: dave123
14 Replies

10. UNIX for Dummies Questions & Answers

how do i make this run 3com

i got a 3com hub tr modle i can't talk to it how do i do this to set ip up so i can talk to it the address that was on it is 170.104.81.54 can any body help me or tell what this hub is used for and i all so have over 1000 madge nic cards 100/16/4 if any body need them will sell and got a... (2 Replies)
Discussion started by: amicrawler2000
2 Replies
Login or Register to Ask a Question