I've not gone to a particular list, but used google to pose the question
(you need to know what kind of script like ksh is Korn shell ) so "aix ksh
if then else statement" - to hopefully weed out so of the other script
types.
https://www.ibm.com/developerworks/aix/library/au-kornshellscripting/
stackoverflow.com is good
unix.com
I've had to weed thru and modify a number of scripts in last year on
aix/db2/websphere system
But you need to understand what it's doing in "unix" then convert that to
aix...
Jim Franz
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Lindstrom, Scott R.
Sent: Friday, April 28, 2017 9:39 AM
To: Midrange Systems Technical Discussion
Subject: RE: Recommended AIX lists
There is a lot of AIX that are different than other flavors of UNIX. For
example, AIX uses /etc/fstab rather than /etc/filesystems.
Much in the security area has files and commands that are different.
Many AIX commands are close to the system I naming conventions.
Scott
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John
Yeung
Sent: Friday, April 28, 2017 8:31 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Recommended AIX lists
On Fri, Apr 28, 2017 at 7:36 AM, Rob Berendt <rob@xxxxxxxxx> wrote:
I've got a greedy request. I want a script translated from UNIX to AIX.
This script was supplied to us by our auditors and I tried it but it
obviously was destined to fail on an AIX system. Auditors just say
this is the information they want, supply it.
It's been ages since I was fluent in any flavor of Unix, and even then I was
never an expert. But this has me intrigued. I wonder what is so specific to
AIX, and of interest to auditors, that the script wouldn't work. (I can
easily imagine a Unix guru creating scripts that by design only work on very
specific platforms. But I can equally imagine him (and yeah, when I imagine
a Unix guru, it's a guy) creating a script that purposely is widely
compatible with various platforms.)
How long is this script? Do you know what language it's written in?
("Language" in this case could mean bash or tcsh or other shell.)
Have you tried running it? How far do you get before it fails?
John Y.
As an Amazon Associate we earn from qualifying purchases.