The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
writing scripts ebethea27703 Shell Programming and Scripting 4 05-18-2006 06:59 AM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-11-2006 11:27 PM
Is writing shell scripts different than... brentdeback Shell Programming and Scripting 1 10-28-2005 06:20 PM
Help on writing scripts!!?? geoquest Shell Programming and Scripting 1 03-03-2003 08:02 AM
help for newbie writing shell scripts richgi UNIX for Dummies Questions & Answers 2 04-27-2001 03:49 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-15-2006
Registered User
 

Join Date: Apr 2006
Posts: 18
Examples of writing shell scripts for AIX, it's urgent

Please help me

1. Please give me the few examples of shell scripts written for AIX

2.I have scripts written on Unix, does that work for AIX, if not what are the changes to be carried out to run the scripts on AIX....

Please help me
Reply With Quote
Forum Sponsor
  #2  
Old 04-21-2006
DogDay's Avatar
Registered User
 

Join Date: Jun 2005
Location: /dev/null
Posts: 83
well, AIX *is* UNIX so why wouldn't they work?


example...

---begin---

#!/bin/sh

echo Hello World!

---end---
Reply With Quote
  #3  
Old 04-26-2006
Registered User
 

Join Date: Apr 2006
Posts: 5
It depends on what you are trying to do. Do you mean you have a data or information collection type script and want to run it on AIX? We would have to see the script.
Reply With Quote
  #4  
Old 05-16-2006
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
It also depends on if you are using any library calls in the scripts as the position of the libs is different in AIX. Most of the comman stuff is in the same place however it is always a good practise to predefine the absolute path ie /usr/bin/ls in the definitions section of any script. A last point is AIX default shell is KSH this means all others BSH SH etc will work but CSH scripts might have problems.
Reply With Quote
  #5  
Old 06-21-2006
Registered User
 

Join Date: Apr 2006
Posts: 18
Thanks for ur response..

Sorry for late response, actually this work was kept on hold for some time..

Now i am coming to actual point,
I am new to Unix and now the work is given to me..
Previosely the scripts were written for password ageing and is working fine. Here we were using the standard unix protocols, but it is now asked to impliment the same using IBM protocols.

"authentication and identification" of passwords need to use IBM protocols and not the "standard" Unix protocols. Essentially, the "UNIX" script will need to be revised to be an "AIX" script.

I dont know what are IBM protocols, and how does this diff from unix. If any one know how to impliment this, please let me know. I woluld be a very thankful.

If any further details needed please let me know..

Last edited by me_haroon; 06-21-2006 at 03:38 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0