Search Results

Search: Posts Made By: Andrek
12,535
Posted By Andrek
try this method, This way you can forget about...
try this method, This way you can forget about hard coding your numeric of "3" so you know where to stop on your loop.

This adds the ability to add as many dymanic vars as you want.

Enjoy!

#...
3,399
Posted By Andrek
Reading HP-UX crypt file on LINUX REHL 4
Hi,
I have a process that creates a file on a HP-UX server (11.11) using the HP-UX Command crypt.

This gets transfred to a LINUX server (REHL 4u4 AP) where crypt is not installed.

I have been...
Forum: Linux 10-24-2007
9,671
Posted By Andrek
Hi Porter - Thanks of the start in trouble...
Hi Porter - Thanks of the start in trouble shooting. I have a few areas to double check first.
FYI I an nfs mounting by IP.
Ihave check the target server and nfsd is running and I have re-exported...
Forum: Linux 10-22-2007
9,671
Posted By Andrek
NFS not mounting during kickstart
Hi,
Re-building linux server from a kickstart image on cdrom.
We have a kickstart server.
the cdrom contacins the kickstart ks.cfg file and does a NFS mount from an IP to load the iso images and...
Forum: Linux 10-22-2007
6,728
Posted By Andrek
Thanks for the reply. Sorry unable to response...
Thanks for the reply.
Sorry unable to response before.
Anyway - Running Red Hat Enterprise Rel4 Update4
Need to move away from SUN towards HP/Linux.
Postfix was chosen by our previous SNR Admin...
Forum: Linux 09-03-2007
6,728
Posted By Andrek
Migrating from SENDMAIL on SUN SOLARIS to POSTFIX on Linux
Migrating from sendmail on SUN Solaris to POSTFIX on Linux.
I have been asked to migrate our sendmail to postfix on Linux and would appreciate and information. Hints and tips on the process...
2,319
Posted By Andrek
If tar reads from tape sucessfully it returns a...
If tar reads from tape sucessfully it returns a exit code of 0 (zero) if not it returns a non zero ( >0 )

After each tar check the exit code and if non zero end the loop.

BETTER run some tests...
4,218
Posted By Andrek
Use "awk" if you want. Basiclly it's what ever...
Use "awk" if you want.
Basiclly it's what ever works for you.
What UNIX are you using?
3,453
Posted By Andrek
Simple 1)write a script called "servershutdwn"...
Simple
1)write a script called "servershutdwn" that asks the quetions.
Log the results away in a log file, then executes the real shut down command.
2) do what we do. - All "re-boots" are...
3,453
Posted By Andrek
Give the root password to only two people- you...
Give the root password to only two people- you and one other you trust
That way only you can shutdown the server.
7,497
Posted By Andrek
Try a quick fix! if you MUST have "-a xx AND -b...
Try a quick fix!
if you MUST have "-a xx AND -b zz" on the command line then add this to your code.....

if [ $# != 4 ]
then
echo "Usage; `basename $0` -a value -b value'
exit 9
fi
...
7,335
Posted By Andrek
Hi Andryk, Could not locate the doc you...
Hi Andryk,
Could not locate the doc you mentioned in your reply on my server or on the internet.

I did find this HP Document that outlines the steps need.

heres the link:
...
7,335
Posted By Andrek
I don't have this file? If this doc describes...
I don't have this file?
If this doc describes how to setup and create "ONLINE" igniteUX images, then thats what I can do. What I need is to convert the saved "Online" image to a physical tape in...
7,335
Posted By Andrek
Create an Ignite image on tape from Online IgniteUX image
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.

That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need...
3,848
Posted By Andrek
You have two possible solutions.... 1) ...
You have two possible solutions....

1)
/home/aixuser/scomp ${I} &
This will run your command in the back ground then continue with execution of the script.
Problem - If you log out of the...
Forum: HP-UX 02-07-2007
6,921
Posted By Andrek
Hi Mahesh kr Sharma, The file on HP-UX needs...
Hi Mahesh kr Sharma,

The file on HP-UX needs to be a simple flat text file.

You can not save your excel spread sheet with all the tab sheets.

The only way would be to....
Save each tab...
Forum: HP-UX 02-07-2007
6,921
Posted By Andrek
To the best of my knowledge there is no spread...
To the best of my knowledge there is no spread sheet type software in HP-UX.

best thing to do is manage your out put as a text file with comma delimited field separators (on HP-UX) and then ftp...
2,846
Posted By Andrek
No need for a script. try the "pr" command...
No need for a script.
try the "pr" command (HP-UX)

if your file name is "myfile" and you want 8 column out put

pr -8k myfile | more

otherwise its the "paste -s myfile" command

Good luck
2,081
Posted By Andrek
sftp has a log file that you should be able to...
sftp has a log file that you should be able to look at just like the ftp log file. Off the top of my head, I can't think where it is.
2,056
Posted By Andrek
Possible sol 1 if you set the $? to a variable...
Possible sol 1
if you set the $? to a variable after at the END then it may provide you with the result 0=pass or >0 fail. However I think the result may be from the sql block not the sql script.
...
1,660
Posted By Andrek
Try changing the last few lines to.... Echo...
Try changing the last few lines to....

Echo "Dear All\nHere is the list etc etc \n\n" > result2.txt
cat result.txt | sort | cut -c 35-70 >> result2.txt
cat result2.txt | mailx -s "Missing tap...
6,689
Posted By Andrek
Just trying to get what your on about... You...
Just trying to get what your on about...

You run Script C, which runs Script A which runs Script B
How Script B echos either a W or a H when complete.

And you want to know this when script c...
5,726
Posted By Andrek
Try replaceing the sendmail command with...
Try replaceing the sendmail command with /usr/bin/mailx (toaddress)
you can add a subject if you wish ie
/usr/bin/mailx -s "your subject" me@myhost.com

also you could use ls -1 to force a single...
3
1,615
Posted By Andrek
The miunte section of the cron allows you to add...
The miunte section of the cron allows you to add any value from 0 -> 59, so if you want to run every 5 minutes starting at say the 4 minute mark just use.

4,9,14,19,24, etc etc

You need to tell...
2,547
Posted By Andrek
OOPS - The codes not quite right. ...
OOPS - The codes not quite right.

#!/usr/bin/sh
row=1
list=1
IFS=";"
while read a b c d; do
echo "$a $b $c $d list[$list] row[$row]"
row=`expr $row + 1`
if [ $row -eq 6 ]
then
row=1...
Showing results 1 to 25 of 121

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