LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices

Reply
 
LinkBack Search this Thread
Old 08-31-2008, 08:50 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 292

Rep: Reputation: 35
Question mac osx and bash


Hi ,

I have read in the book "Ubuntu Linux Tool Box" by Christopher Negus
and Francois caen that: bash is the shell used by default by most modern linux systems and quite few other operating systems such as Mac OSX.

1 To what extent these statements are true especially regarding Mac OSX
2 why Mac OSX is providing a bash shell ?

Last edited by XavierP; 08-31-2008 at 10:31 AM. Reason: Moved to Other *Nix
 
Old 08-31-2008, 03:20 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: OS X, OpenBSD, Ubuntu
Posts: 1,507

Rep: Reputation: 45
1. bash is the default shell for most Linux distros and also for Mac OS X. It is not the default shell for *BSD, for example.
2. A lot of things can be done on a shell level in Mac OS X, it's not a GUI-only system.
 
Old 08-31-2008, 11:45 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Code:
[chort@horus4 chort]$ uname -a
Darwin horus4.smtps.net 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
[chort@horus4 chort]$ echo $SHELL
/bin/bash
Bash is the shell that most novice users are likely to be familiar with, hence why OS X uses it (instead of say, ksh).
 
Old 09-02-2008, 05:07 PM   #4
sundialsvcs
Senior Member
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 3,685

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
For all the "pretty Macintosh picture" that OS/X works so hard to create, underneath that cover there beats the strong heart of ... Unix. Shell and all.
 
Old 09-27-2008, 11:38 AM   #5
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Rep: Reputation: 31
On the other hand, the stock Darwin is missing a lot...

...for all the talk of OS X's command-line power "under the hood", the standard install is missing a lot of common *nix apps. I discovered this when I tried to use the "make install" command in Terminal.

Luckily, this is easily fixed.

If you download Rudix from Apple's website (here's the link http://www.apple.com/downloads/macos...rce/rudix.html), you get WAY more of the common *nix apps, and your Mac Command-Line will hummmmmmm....

Apple has more *nix goodness at http://www.apple.com/downloads/macosx/unix_open_source/.

For even more *nix goodness, download MacPorts (http://www.macports.org) and/or Fink (http://www.finkproject.org), package managers that are very very very similar to Debian's package manager.

For a MacPorts GUI there's Porticus (http://porticus.alittledrop.com).

For a Fink GUI you can choose between FinkCommander (free http://finkcommander.sourceforge.net/) or Phynchronicity (not free http://www.codebykevin.com/phynchronicity.html).

Last edited by roystonlodge; 09-27-2008 at 03:15 PM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mac osx leopard Polanski Linux - Software 1 11-03-2007 01:12 AM
Mac OSX-Like Linux? Launchpad_72 Linux - Newbie 18 07-17-2007 12:25 AM
Mac Osx Sucks! Squall General 18 04-19-2004 12:28 AM
Mac OSX friekman Linux - Newbie 2 08-14-2003 08:56 PM
Mac OSX 10.2 jpc82 Linux - General 14 12-03-2002 10:22 AM


All times are GMT -5. The time now is 02:38 PM.

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