Visit The New, Modern Unix Linux Community


bash reinstall


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers bash reinstall
# 1  
Question bash reinstall

Is there any way how to reinstall bash without reinstaling the whole unix? Thanks
# 2  
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!
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #252
Difficulty: Easy
Network computer devices that originate, route and terminate the data are called server-only devices.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Reinstall old hard drives

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

2. Solaris

Reinstall Hardware sentry

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

3. UNIX for Dummies Questions & Answers

Reinstall sudo apt-get?

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

4. AIX

Uninstall and reinstall 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

5. Ubuntu

reinstall identical system?

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

6. UNIX for Dummies Questions & Answers

Reinstall Solaris?

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

7. UNIX for Dummies Questions & Answers

Reinstall recommendations?

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

8. Windows & DOS: Issues & Discussions

Reinstall

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

9. Solaris

Reinstall root partition

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

10. Linux

reinstall 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

Featured Tech Videos