Hi folks. I know this is going to be one of those ones where I just need to stick a bracket or a single quote somewhere to fix, but it's killing me to try and work out why it's failing.
This is the part of my script that isn't working properly:
And this is the message when you run it:
As you can see, for some reason if is performing the "find" command before it performs the "ssh" bit. It works fine if I use single quotes instead of double quotes around the commands, but then obviously ignores the $HOURMINVAR variable so it uses the incorrect values for the "touch" part.
So...is there a way I can send the variable using a single quote around the whole command - or can anyone see where I am going wrong with the "find" command when wrapped in double quotes?
I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them)
Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Guys,
Help me out in getting the RPC resource values of the system.
By running the ipcs command i get the HEXA values of the IPC(Inter Process Communication) values in the system like
q 12760 0x10fe4d88 --rw-rw-rw- a-1982 cts
m 686089 0x10fe4d48 --rw-rw-rw- a-1982 ... (2 Replies)
i am beginig with unix
c code for sun remote procedure call to do the following:
1- The clients reads in a variable length array from the command line
2- The client offers a menu for the user to choose what to do with the array:
a. Sort the array
b. Add the array
c. Find max
d. Find... (1 Reply)
i am beginig with unix
c code for sun remote procedure call to do the following:
1- The clients reads in a variable length array from the command line
2- The client offers a menu for the user to choose what to do with the array:
a. Sort the array
b. Add the array
c. Find max
d. Find... (1 Reply)
i am beginig with unix
c code for sun remote procedure call to do the following:
1- The clients reads in a variable length array from the command line
2- The client offers a menu for the user to choose what to do with the array:
a. Sort the array
b. Add the array
c. Find max
d. Find... (1 Reply)
am beginig with unix
c code for sun remote procedure call
You are to write a program using RPC facility to do the following:
1- The clients reads in a variable length array from the command line
2- The client offers a menu for the user to choose what to do with the array:
a. Sort the array... (1 Reply)
Not sure on the description, but here is a quick rundown.
I have 2 servers, we'll call them
serverA
serverB
On serverB, I am calling a script that inside it has the following:
ssh srvdsadm@serverB sudo -u dsadm /opt/apps/DataStage/scripts/autoDeploy.sh ${projName} ${subProjVar}... (1 Reply)
Hi,
Is it possible to call a remote function in another daemon? Here is the setup:
I have two daemons daemon A with function "s" and daemon B with function "k". I need a way function "s" from daemon A to call a function "k" from daemon B and pass some arguments. When the request is ... (13 Replies)
Hi guys,
I have a scenario where i want to run a script from Node A. It ssh's into Node B and runs some awk commands there plus deposiriting the output on Node B.
Challenge is that the awk commands run properly when executed locally on Node B but fail when within the script on Node B. I do not... (0 Replies)