Visit Our UNIX and Linux User Community

Examples of writing shell scripts for AIX, it's urgent

Thread Tools Search this Thread
Operating Systems AIX Examples of writing shell scripts for AIX, it's urgent
# 1  
Old 04-15-2006
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  
Old 04-21-2006
well, AIX *is* UNIX so why wouldn't they work?




echo Hello World!

# 3  
Old 04-26-2006
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  
Old 05-16-2006
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.
# 5  
Old 06-21-2006
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.. Smilie

Last edited by me_haroon; 06-21-2006 at 07:38 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #232
Difficulty: Medium
The ARPANET project was formally decommissioned in 1994.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Writing Bash shell scripts corresponding to windows bat files

Experts, I am newbie in shell scripting. I want to write Bash shell scripts corresponding to windows bat files. I have installed cygwin at c:\cygwin and i am trying to crate the sh file using vi editor. i am not able to understand how to use linux/unix convention for the code. following is my... (15 Replies)
Discussion started by: rajuchacha007
15 Replies

2. Fedora

I need urgent help - Basic shell scripts but I'm clueless.

Hello. I am currently in a class dealing with shell scripts. I know some commands and get the basics of command line in Fedora 11. But the coding....I'm a bit lost. I was very ill for 2 weeks and missed a lot, much of which there are no notes provided. I'm not asking you to do my homework,... (1 Reply)
Discussion started by: Feuyaer
1 Replies

3. Shell Programming and Scripting

Changing the Bash Scripts to Bourne Scripts:URGENT

Hi, I have to write a program to compute the checksums of files ./ I wrote the program using bash and it took me forever since I am a beginner but it works very well. I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies

4. Shell Programming and Scripting

writing shell scripts of commands

can anyone help me in writing a shell script to visualize how simple commands work and on what logic. For Eg: ls command how it lists out all the files and directories, need to write a simple script based on the commands source code.:D (0 Replies)
Discussion started by: rahul_11d
0 Replies

5. UNIX for Advanced & Expert Users

Allocate memory for a shell script in Aix at runtime-urgent critical

How to allocate memory for a shell script on aix box at the time of execution i.e at runtime Are there any commands for AIX in specific Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies

6. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

Hi, Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies

7. Shell Programming and Scripting

Is writing shell scripts different than...

I am currently taking a linux shell scripting class and also a intro to programming class using QBASIC. Will this interfere with how i learn each one? Are they similar in some ways? I already took a unix course based on the commands and it was easy, but now i have to create programs. Also, how... (1 Reply)
Discussion started by: brentdeback
1 Replies

8. AIX

How to migrate UP-UX shell scripts to AIX 5.2

Hello, We would to migrate some shell scripts (korn shell) from HP-UX to AIX 5.2 I would know: - If the HP-UX scripts work as well in AIX? - If no, is there a migration tool to detect incompatible lines in scripts? - How do proceed? Our scripts do: - Loads data in Oracle... (1 Reply)
Discussion started by: P026687
1 Replies

9. Shell Programming and Scripting

Help on writing scripts!!??

Hello, I don't know anything about scripting, and I want help on writing a script, which can help me doing my research. Actually I have some ASCII format files formatted in a way looks like this 6 lines of text that is not important for me File_header_name_number_1 <--... (1 Reply)
Discussion started by: geoquest
1 Replies

10. UNIX for Dummies Questions & Answers

help for newbie writing shell scripts

Hi, I have just started a Systems Programming course and am required to write a c shell script as part of it. I have little to no clue about unix. The spec states that the script can be run only once on each host by a user, but the script can be run on different hosts by the one user. ... (2 Replies)
Discussion started by: richgi
2 Replies

Featured Tech Videos