06-20-2005
What OS are you using? Bash is a package that is installed seperately; its not built into the OS. You can find out the details about the name of the package as follows:
on Sun: pkginfo | grep -i bash
remove it using: pkgrm <package name from prev command>
install it again: pkgadd (check the man page - quite a few options)
on HP-UX: swlist | grep -i bash
remove it using: swremove (check the man page for interactive details)
install it again: swinstall (check the man page- again can be interactive)
on Linux (I have only ever used rpms): rpm -qa | grep -i bash
remove it using: rpm -e <package name>
install it using: rpm -i <package name>
Cheers!
10 More Discussions You Might Find Interesting
1. Linux
I am trying to reinstall Linux on a machine which already has Linux. It's an Intel Machine (DELL). I want to boot it from the CD but for some reason, I don't get the F2 or F12 for setup. It directly takes me to the welcome thing.
What do I need to do (1 Reply)
Discussion started by: bandaru
1 Replies
2. Solaris
I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions?
Also, when I run format from single user mode I... (4 Replies)
Discussion started by: jbestor
4 Replies
3. Windows & DOS: Issues & Discussions
As a pet project we are trying to install Windows 95 on an OLD Laptop PC (Toshiba Satallite 110CS) Well Our first Debacle was Dos Died due to us Formatting the system (Well duh) How ever we have failed to beable to Get a Base install of dos to start Installing 95. We have No CD-ROM (Quaint we... (3 Replies)
Discussion started by: Alexodia
3 Replies
4. UNIX for Dummies Questions & Answers
I'm currently running 32-bit Xubuntu 8.10 and I'm thinking of changing over to 64-bit Ubuntu 9.04. Any recommendations on how to make this go more smoothly?
-----Post Update-----
Can I shuffle around the partitions and install it as a second OS? Is there a good way to do that? (2 Replies)
Discussion started by: CRGreathouse
2 Replies
5. UNIX for Dummies Questions & Answers
Hey!
I'm new here, and excuse my complete lack of knowledge as a total newbie.
I've recently started a new job managing a nightclub, and we have 3 sun terminals installed that customers are able to use in the lounge area. However, we can't seem to log onto them as the old tech guy left on bad... (5 Replies)
Discussion started by: snogthefrog
5 Replies
6. Ubuntu
I have my Ubuntu system nicely tailored to my needs, with specific software installed, and other things removed.
I'd like to build a new PC, and have the identical software configuration on it. Is there some easy way to export the list of installed software to a file? Then have the new machine... (3 Replies)
Discussion started by: lupin..the..3rd
3 Replies
7. AIX
Hi All,
Currently I have a machine running on AIX5.3 (standalone). I plan to remove this AIX5.3 and install with new AIX6.1. This is a testing server so no backup are required. I just want to know, what is the best way to do this. For your information, I'm still new in AIX, so i dont have much... (1 Reply)
Discussion started by: aremint
1 Replies
8. UNIX for Dummies Questions & Answers
I am using ubuntu11.10 and i was trying to do the update to 12.04, i found a post suggesting to use to solve part of the problem:
sudo apt-get remove ubuntu-keyring sudo apt-get --yes -q --allow-unauthenticated install ubuntu-keyringI ran the first command but not able to run the second or any... (0 Replies)
Discussion started by: CS_NA
0 Replies
9. Solaris
Hi Guys,
I need to reinstall hardware sentry for BMC patrol manager in solariws server.
I am trying to find the patrol version. please help me with the version number and reinstallation as i am new.
Uname -a:SunOS 5.10 Generic_142901-06 i86pc i386 i86pc
Thanks in advance!!! (0 Replies)
Discussion started by: Rockyc3400
0 Replies
10. Solaris
I have a T2000 Sun-Fire server. I have 2 sets of drives in a raid 1. Lets call them Set A and Set B. I had Set A installed and working. I needed a new install so I so build up Set B. After some time I wanted to put Set A back in the server. Now the system will not boot off of Set A. I tried to boot... (7 Replies)
Discussion started by: stu1811
7 Replies
LEARN ABOUT POSIX
libbash
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