10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#!/bin/bash
FUN_ECHO(){
echo $1
}
FUN_ECHO "hi how are you ?"
This code will work fine.
BUT is it possible to make the following to work ?
FUN_ECHO "hi how are you ?"
FUN_ECHO(){
echo $1
}
I know that the code will be executed line by line. But i have a number of... (5 Replies)
Discussion started by: linuxadmin
5 Replies
2. Shell Programming and Scripting
I'm writing a VERY simple shell script. I need to call a makefile in a subdirectory. What's the command I need to use?
./dir/make and ./dir/makefile doesn't work.
Thanks in advance (1 Reply)
Discussion started by: yamahabob
1 Replies
3. Red Hat
please help me in this script
shell script :1
***********
>cat file1.sh
#!/bin/bash
echo "this is first file"
function var()
{
a=10
b=11
}
function var_1()
{
c=12
d=13 (2 Replies)
Discussion started by: ponmuthu
2 Replies
4. Shell Programming and Scripting
Hello All,
I have to import data from xml file to mysql database multi-time a day. I think it is better to write a tool to help this. So I write a web service in php. I don't know that if we can call a web service via shell script. If it can, I think we can create a cron job to help run it... (2 Replies)
Discussion started by: hapytran
2 Replies
5. Shell Programming and Scripting
Hi guys, please help me
I have a ksh script (second picture down), in that script I define the function DATECALC.
Now I want to use this function KSH in a program shell.
How can I call this ksh from my shell program?
My shell program is... in the first two lines I tried to call... (1 Reply)
Discussion started by: acevallo
1 Replies
6. UNIX for Advanced & Expert Users
I can't for the life of me remember what the name is for ">"
My mentor told it to me 20 years ago and I can't remember it now. I know we like to call it re-direct, but there was a name othere than that he used.
During a recent training session, someone cut and paste from a file that just happened... (8 Replies)
Discussion started by: theninja
8 Replies
7. Shell Programming and Scripting
Hi all ,
I need to call an executable (.exe) using shell script.
Actual need is i need to call that shell script and do an export of some tables
is there any way . the executable is datamover
Please let me know if there are any option !! (2 Replies)
Discussion started by: raghav1982
2 Replies
8. Shell Programming and Scripting
Hi All,
I am new to shell script, just wanted you guy to help.
How do i call a java program by using shell script, pls give some samle code for it,
thank you ver much. (2 Replies)
Discussion started by: aaabbb123123
2 Replies
9. Shell Programming and Scripting
Has anybody been able to execute a shell script call from a database trigger?
If so what are the steps to execute it? Do we have any specific packages in Oracle?
Reards,
Rahul. (1 Reply)
Discussion started by: rahulrathod
1 Replies
10. UNIX for Advanced & Expert Users
Hi there,
I got a big problem.
For one of our customers I did a website (php) that connects to another machine "A" (server) to machine "B" via expect.
Now he wants that after the the connection with "B" is established, a telnet connection to "C" is opened, and some commands are executed.... (2 Replies)
Discussion started by: Tubbietoeter
2 Replies