Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-14-2006, 03:15 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Bash 2 or 3... what is it ??

Hi !

So... I've just installed Linux and I've got some problems to run a software. The hotline told me the error came from a too recent "bash" (looks like I've got the "bash3", and the program was developed for "bash 2").

What is exactly the bash ?
What are the main differences between the version 2 and 3 ?

Thanks !!
Old 06-14-2006, 03:23 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, and welcome to lq!

bash --version

man bash for details ;}

Old 06-14-2006, 03:26 AM   #3
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Such a questions should be asked to Google first.
Old 06-14-2006, 03:27 AM   #4
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51

Welcome to LQ. Bash is the command line environment program where executeble programs are run from the command line. To determine which version you have, open a terminal and type:

bash --version

It will return the version number of your bash. The current version is 3.1.xx (depending on your distro.) What distro are you using and what are you trying to install?

Old 06-14-2006, 07:20 AM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
First time I've heard of SW being dependent on a version of bash....

What is this "hotline" that told you this?
Old 06-14-2006, 07:30 AM   #6
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
I promise there is no conspiracy here!! On more than one occassion, I have tried to provide a link for someone and it took them directly to a Microsoft site! What is going on with my browser? Have I been hijacked?!!

Sorry for the bum steer...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Sleep vs crontab and bash serial port nutthick Programming 4 06-01-2006 02:42 AM
(bash) echo "#!/bin/bash" event not found - trying to generate profiles automatically jimieee Programming 9 05-03-2006 10:24 AM
Bash: Print usage statement & exit; otherwise continue using Bash shorthand operators stefanlasiewski Programming 9 02-07-2006 05:20 PM
$LINENO can't be modified in bash 3.0, while it can be in bash 2.05b Darwish Linux - Software 1 11-07-2005 02:57 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration