BASH on AIX


 
Thread Tools Search this Thread
Operating Systems AIX BASH on AIX
# 1  
Old 02-10-2006
BASH on AIX

Hi everyone,

Currenntly I am using Korn Shell on an AIX server. I want to migrate to BASH shell. How do I go about it? And what are the impediments to getting bash on the server?

Your comments will be deeply appreciated.

Thanks
# 2  
Old 02-13-2006
Go here and download it.

http://www-03.ibm.com/servers/aix/pr.../download.html

I would not advise changing the shell of the root user to anything but the default ksh however. For other users it is probably harmless.
# 3  
Old 02-14-2006
thanks, mate
# 4  
Old 02-16-2006
Sitting in an environment with a load of software developers who first thing after logon enter "bash" on the commandline I'm not so sure if it is really recommendable.

Are there any significant advantages of bash over ksh? No, not really. Yes, you can use the cursor keys in bash out of the box whereas you can use them in ksh only after at least 5 minutes of configuration - big deal! I haven't seen anyone using any real differences in these two shells save for that.

The downside is, AIX is mostly built upon ksh and this won't change. When writing scripts you better assume as little as possible about the system your script will run on and that means you write scripts for AIX machines in ksh and nothing else. But writing scripts in one shell while you are using another will be more difficult than using the same shell for both purposes. One can't use the commandline to test something he wants to use in a script.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Customizing bash on AIX

AIX is really different from most distros I am used to. I am trying to set up my .bashrc so I did this in the file. I noticed when I ssh into the server or use the bash command for a new shell it was being ignored. #------------------------------------------------------------- # Source global... (2 Replies)
Discussion started by: cokedude
2 Replies

2. Shell Programming and Scripting

Parallel processing in AIX (bash shell scripting)

Hi all, I am struggling to build a utility which can do the parallel processing. I achieved same in Linux using xargs -P but same is not working on AIX. I am building file copy utility where I will have all required info in a file (like souce file info and target location details), now i need... (2 Replies)
Discussion started by: ankur singh
2 Replies

3. AIX

Bash does not work on AIX 7.2

We have a new LPAR with AIX 7.2. We want to work with bash, so installed bash from Perzl (bash_64-4.4.5.aix5.1.ppc.rpm). But after install bash does not work. If I call "bash", nothing happens. The xterm, where I started bash, is totally dead. I tried the bash from aixtools.net, too. Same... (4 Replies)
Discussion started by: BuSchu
4 Replies

4. UNIX for Dummies Questions & Answers

AIX bash script - exiting freezed telnet

Hallo all I'm writing a little shellscript in aix in order to test the correct connection to a specific ip-port. I'm using the sleep|telnet combination. All works great if connection is already open.. But if telnet connection are in trying state... It doesn't exit and all the rest of the script... (4 Replies)
Discussion started by: libeccio
4 Replies

5. AIX

Help migrating bash script to AIX machine

hey frnds I am trying to migrate a bash script over the AIX machine , but was getting error with ps and read commands, so I make the few changes in script and have also chnaged the shell from bash to ksh below is my script... (5 Replies)
Discussion started by: sumit_saxena
5 Replies

6. AIX

Installing bash on AIX 6.1

Hi, I am trying to install " bash 4.1 " on AIX 6.1 OS and with this gcc compiler file " gcc-4.2.0-3.aix5.3.ppc.rpm ". could help someone with below links if needed for future use..just in case Downloaded -----bash-4.1.tar.gz -------- file from below link ... (2 Replies)
Discussion started by: Rookie_newbie
2 Replies

7. AIX

Install bash on AIX

Hi, Im trying to install bash on AIX, I have rpm installed but get: rpm --install bash-3.0-19.3.ppc.rpm error: failed dependencies: libc.so.6 is needed by bash-3.0-19.3 libc.so.6(GLIBC_2.0) is needed by bash-3.0-19.3 libc.so.6(GLIBC_2.1) is needed by... (0 Replies)
Discussion started by: chris5126
0 Replies

8. UNIX for Dummies Questions & Answers

AIX bash history recall

Is it possible to use the keyboard UP ARROW in place of k to recall history? If so, how/what do I need to do change terminal emulation, etc.? TIA, George (7 Replies)
Discussion started by: gwfay
7 Replies

9. AIX

Why can't you use bash shell in aix?

Hey'all... I'm so use to using bash in unix, that aix is driving me batty on the command line using arrow keys and so forth. Even cuts and pastes are creating a problem using the esc k and set -o vi. Is there anything else that is abit safer or better...like bash? :rolleyes: (4 Replies)
Discussion started by: gzs553
4 Replies

10. AIX

Bash under AIX 5.3

Hi, I am newer in the AiX 5.3 world.I have experience in the linux OS.I want to use bash interpreter under AIX?Is it possible?If yes, How? For Information, I want to use history command under AIX,etc, things doesn't exit under AIX. Many Thanks in advance. (4 Replies)
Discussion started by: taupin
4 Replies
Login or Register to Ask a Question