Sponsored Content
Operating Systems AIX Why can't you use bash shell in aix? Post 302246543 by gzs553 on Monday 13th of October 2008 10:41:22 PM
Old 10-13-2008
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?
Smilie
 

10 More Discussions You Might Find Interesting

1. AIX

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 (3 Replies)
Discussion started by: Eddie_The_Head
3 Replies

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. Shell Programming and Scripting

Different behavior between bash shell and bash script for cmd

So I'm trying to pass certain json elements as env vars and use them later on in a script. Sample json: JSON='{ "Element1": "file-123456", "Element2": "Name, of, company written in, a very weird way", "Element3": "path/to/some/file.txt", }' (part of the) script: for s... (5 Replies)
Discussion started by: da1
5 Replies

9. UNIX for Beginners Questions & Answers

In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed

In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed ? Is there any way to get the script names for the process command ? --- Post updated at 08:39 AM --- in KSH (Korn Shell), my command output shows the script names but when run in the Bash Shell... (3 Replies)
Discussion started by: i4ismail
3 Replies

10. 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
LIBBASH(7)							  libbash Manual							LIBBASH(7)

NAME
libbash -- A bash shared libraries package. DESCRIPTION
libbash is a package that enables bash dynamic-like shared libraries. Actually its a tool for managing bash scripts whose functions you may want to load and use in scripts of your own. It contains a 'dynamic loader' for the shared libraries ( ldbash(1)), a configuration tool (ldbashconfig(8)), and some libraries. Using ldbash(1) you are able to load loadable bash libraries, such as getopts(1) and hashstash(1). A bash shared library that can be loaded using ldbash(1) must answer 4 requirments: 1. It must be installed in $LIBBASH_PREFIX/lib/bash (default is /usr/lib/bash). 2. It must contain a line that begins with '#EXPORT='. That line will contain (after the '=') a list of functions that the library exports. I.e. all the function that will be usable after loading that library will be listed in that line. 3. It must contain a line that begins with '#REQUIRE='. That line will contain (after the '=') a list of bash libraries that are required for our library. I.e. every bash library that is in use in our bash library must be listed there. 4. The library must be listed (For more information, see ldbashconfig(8)). Basic guidelines for writing library of your own: 1. Be aware, that your library will be actually sourced. So, basically, it should contain (i.e define) only functions. 2. Try to declare all variables intended for internal use as local. 3. Global variables and functions that are intended for internal use (i.e are not defined in '#EXPORT=') should begin with: __<library_name>_ For example, internal function myfoosort of hashstash library should be named as __hashstash_myfoosort This helps to avoid conflicts in global name space when using libraries that come from different vendors. 4. See html manual for full version of this guide. AUTHORS
Hai Zaar <haizaar@haizaar.com> Gil Ran <ril@ran4.net> SEE ALSO
ldbash(1), ldbashconfig(8), getopts(1), hashstash(1) colors(1) messages(1) urlcoding(1) locks(1) Linux Epoch Linux
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy