Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2009, 08:31 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 26

Rep: Reputation: 1
Need help with BASH and DASH

I'm reading about "Bash" and "Dash"..?
In in a Google surf I read that Dash seriously messed-up someones Ubuntu OS...

I have a little red update-arrow on my desktop telling me I have a new update... It's Dash...
Is Dash a good thing, or a bad thing..?
Old 03-12-2009, 09:39 PM   #2
LQ Newbie
Registered: Nov 2005
Location: Venezuela
Distribution: Kubuntu
Posts: 4

Rep: Reputation: 0
Post dash is just another shell

dash is just another shell alternative to bash, like zsh and others. I don't think using it would cause any damage to your system, since in Ubuntu is sort of the default shell when you run scripts with the /bin/sh command (/bin/sh is just a symlink to /bin/dash.)

Since dash is a very lightweight shell, you must specify the bash shell in the script if said script uses any bash feature not available in dash, using a line like this:
as the first line of your script.


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
Type en-dash r-t Linux - General 5 04-04-2008 02:57 PM
Dash ignoring PATH? BuilderQ Linux - Software 3 12-18-2007 07:00 PM
dash logout script? Coviti Debian 2 09-24-2007 02:40 PM
What are those double-dash (--) options in man? Utah Linux - Newbie 4 06-04-2004 11:53 PM
Red Hat 8 Dash Character meshcurrent Linux - General 3 02-20-2003 01:51 AM

All times are GMT -5. The time now is 12:48 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