The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > 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 10:59 AM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-12-2006 03:27 AM
Is writing shell scripts different than... brentdeback Shell Programming and Scripting 1 10-28-2005 10:20 PM
Help on writing scripts!!?? geoquest Shell Programming and Scripting 1 03-03-2003 11:02 AM
help for newbie writing shell scripts richgi UNIX for Dummies Questions & Answers 2 04-27-2001 07:49 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-15-2006
me_haroon me_haroon is offline
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
  #2 (permalink)  
Old 04-21-2006
DogDay's Avatar
DogDay DogDay is offline
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---
  #3 (permalink)  
Old 04-26-2006
plcj58 plcj58 is offline
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.
  #4 (permalink)  
Old 06-21-2006
me_haroon me_haroon is offline
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 07:38 AM..
  #5 (permalink)  
Old 05-16-2006
johnf johnf is offline
Registered User
  
 

Join Date: May 2006
Location: England
Posts: 284
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0