I'm not sure where *64241* is coming from. My folders does'nt really have any thing like that neither my code..
For this i just created a sample script to test..
Then,....
Then i run the test1.sh.x as below.. which runs fine on "Machine A"
Now, I move test1.sh.x to "Machine B" and execute test1.sh.x as below.. and it throws me these errors... ---------- Post updated 11-07-13 at 03:31 PM ---------- Previous update was 11-06-13 at 05:37 PM ----------
Thanks for your replies again.
The issue is resolved now..Looks like the issue was with my shell bash (Machine A) vs ksh (Machine B)
On Machine A, where the original .sh was compiled using shc
On Machine B, where it was throwing errors....
Changed it to bash as ..
Now it works fine.. :-)
EDIT: Resolved
Resolved by changing the first line to bash rather than csh, does bash and csh treat the brackets differently?
Hi all,
I'm doing to some basic stuff to teach myself "if"
I've written the following:
#!/bin/csh
echo "This script checks for the test file"
... (1 Reply)
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Hi, im asking for help with the next script:
echo ^;
then
if
then
printf "\033
query1.sh:
export TERM=vt100
export ORACLE_TERM=at386
export ORACLE_HOME=/home_oracle8i/app/oracle/product/8.1.7
export ORACLE_BASE=/home_oracle8i/app/oracle
export... (8 Replies)
Im trying to check if a series of directory exists and if not create them, and am having issues. All the instances of test return with the error "test:
#!/bin/bash
location_Parent=~/Documents/sight_of_sound
location_IMG=~/Documents/Sight_of_sound/IMG
location_AUD=~/Documents/Sight_of_sound/AUD... (4 Replies)
Greetings, using ksh on Solaris, I am trying to identify the current version of a package installed on multiple servers using if statement in a precursor to upgrading.
I have searched the forums and have found many hits, reviewed 3 pages and have tried the different variations noted there. Also... (3 Replies)
Hi,
No need to say I'm new to unix shell scripting.
I have a very simple script that goes this way:
for datos in `ls -rt $UNXLOG/26-Jan*`
do
export arch=`echo $datos |cut -d, -f1`
if
then
export linea1=`grep Debut ${arch}`
export horatot=`echo $linea1 |cut -d' ' -f5`
... (7 Replies)
Hi Masters,
Iam new to this Forum and this is my first post.
My question is:
I've some datafiles belongs the type (A, B, C) in the location 'export/home/lokiman '
dataA1.txt
dataB28.txt
dataC35.txt
1) I've to check the read permission for each file, if it not there then I've to... (1 Reply)