Search Results

Search: Posts Made By: edcrosbys
6,574
Posted By edcrosbys
Cmd you run: sh -c 'test_cp | telnet' ...
Cmd you run:
sh -c 'test_cp | telnet'


#!/bin/ksh
dir_path=""/bp01/secftp/samsun/prfile/FTP/REFUND_RESTATEMENT_REPORTS/poirty/Production/Internal";

echo open $Infahost
sleep 1
echo...
5,652
Posted By edcrosbys
I would figure out what each of those switches...
I would figure out what each of those switches are doing in linux (man find).
Then look at the same man page on the aix server.
Compare the available options and see what is needed and what isn't....
114,528
Posted By edcrosbys
It takes a local variable and makes it global. ...
It takes a local variable and makes it global.

Try running a script that calls a function or another script. If the secondary script or function sets a LOCAL variable, it is gone when that...
2,425
Posted By edcrosbys
Why not setup a mail server in unix? Then it...
Why not setup a mail server in unix?
Then it could be sent straight there!!!
And then you could do something like below:
To point you in the right direction -
You can use /etc/mail/aliases to...
Forum: HP-UX 11-20-2007
3,148
Posted By edcrosbys
This is more in depth than someone can explain...
This is more in depth than someone can explain here. It would require knowing your SAN infrastructure and Symmetrix configuration.

Sorry I couldn't help, but I wanted to let you know why you might...
25,505
Posted By edcrosbys
Just to pass on snippets, here's what I use: ...
Just to pass on snippets, here's what I use:

perl -pe 's/\015\012/\n/g' - dos to unix -- just pipe through it
perl -pe 's/\n/\015\012/g' - unix to dos -- just pipe through it

cat filename...
10,813
Posted By edcrosbys
Just to add the code snippet out here, this is...
Just to add the code snippet out here, this is what I've used:

USERNAME=
PASSWORD=
UTLDIR=/dbs/UTLDIR/
TMPDIR=$UTLDIR/tmp
PROCESSEDDIR=$UTLDIR/PROCESSED

# Create the FTP file.
echo "open...
6,574
Posted By edcrosbys
What errors are you getting when you run the...
What errors are you getting when you run the script?
Have you run it by hand, or put set -x at the top?

It appears that you are not using scp at all, but using telnet to connect to a server to...
25,595
Posted By edcrosbys
not sure what OS you are using, but grep -l...
not sure what OS you are using, but grep -l (that's a lowercase L) will show just the filename, not the line that matches. Do a man on grep and it should tell you how to get just the name, or tell...
29,894
Posted By edcrosbys
X100!!! I've had this bite me before with...
X100!!!

I've had this bite me before with some programs that want a terminal to send data too... Root get's email garbage then.



Act like there is nowhere for it to read info from except...
3,292
Posted By edcrosbys
Text files can easily be sent as the body of an...
Text files can easily be sent as the body of an email as shown above. If you need to send something as an attachment, you have to encode it. I like mpack, but have used uuencode as well. Here's my...
9,925
Posted By edcrosbys
Try this: mv /tmp/filename.html...
Try this:
mv /tmp/filename.html /tmp/SomeImportantFile.test${x}.html
13,191
Posted By edcrosbys
I agree that you need sudo. This way you don't...
I agree that you need sudo. This way you don't need to switch user, you can give that user permissions to run xxx program with yz switches. The command then turns into

sudo chmod 777...
35,029
Posted By edcrosbys
Since you aren't worried about accessing the...
Since you aren't worried about accessing the First Set of Variables again, you can just source the second set... Using your example:

[set_1]
path=c://dataset/set1
v1= a.bin
v2= b.bin

[set_2]...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy