LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-18-2016, 07:24 PM   #1
brucewicks
LQ Newbie
 
Registered: Feb 2016
Posts: 8

Rep: Reputation: Disabled
Has anyone heard or tried the dash shell?


I never heard of it until now. It stands for Debian Almquist shell.

Has anyone used it? Is it as good as bash or compatible?
 
Old 02-18-2016, 07:52 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
It's the default shell in ubuntu, and is basically a stripped down, posixly correct bash, it also has a number of problems when used to compile from source, but as ubuntu tends to discourage that, most users wont find much of a problem, I personally dont use ubuntu except for testing in a vm, and I change the default to bash anyway.
 
Old 02-18-2016, 08:20 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
dash shell. yeah its just another terminal emulator, nothing special, just one more to toss up on the heep of terminal emulators.

terminator or terminology is what I use... mostly

Last edited by BW-userx; 02-18-2016 at 08:21 PM.
 
Old 02-19-2016, 02:25 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by BW-userx View Post
dash shell. yeah its just another terminal emulator, nothing special, just one more to toss up on the heep of terminal emulators.
this is just so wrong.
a shell is not a terminal emulator.
a terminal emulator is an app that emulates a terminal, usually in a graphical environment.
the shell is what the terminal executes when started.

dash is the default shell not only on ubuntu but also on debian.
it is more limited, but much faster than e.g. bash.
other shells are zsh, ksh, ash...

to find out what your sh is, type
Code:
ls -l /bin/sh
to find out what shell your terminal is using, type
Code:
echo $0

Last edited by ondoho; 02-19-2016 at 02:26 AM.
 
1 members found this post helpful.
Old 02-19-2016, 06:06 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by ondoho View Post
this is just so wrong.
a shell is not a terminal emulator.
a terminal emulator is an app that emulates a terminal, usually in a graphical environment.
the shell is what the terminal executes when started.

dash is the default shell not only on ubuntu but also on debian.
it is more limited, but much faster than e.g. bash.
other shells are zsh, ksh, ash...

to find out what your sh is, type
Code:
ls -l /bin/sh
to find out what shell your terminal is using, type
Code:
echo $0
but yeah you're using a terminal emulator to use the shell, the one in question is called 'dash'

so yeah it is just another terminal emulator that uses a shzyf whatever shell

Code:
chsh -s /bin/bash
now it is just another terminal emulator that uses bash shell

but if it rocks your world go with it ...

i bash btw

Learning the shell - Lesson 1: What is the shell?

Last edited by BW-userx; 02-19-2016 at 06:16 AM.
 
Old 02-19-2016, 01:21 PM   #6
brucewicks
LQ Newbie
 
Registered: Feb 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks to all.

I'll stayed with bash as I'm more use to it.
 
Old 02-19-2016, 01:28 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
you can if it is already install still use it for bash, just change its setting.
 
Old 02-19-2016, 01:30 PM   #8
brucewicks
LQ Newbie
 
Registered: Feb 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
OK, thanks
 
Old 02-19-2016, 01:31 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by BW-userx View Post
but yeah you're using a terminal emulator to use the shell, the one in question is called 'dash'

so yeah it is just another terminal emulator that uses a shzyf whatever shell

Code:
chsh -s /bin/bash
now it is just another terminal emulator that uses bash shell

but if it rocks your world go with it ...

i bash btw

Learning the shell - Lesson 1: What is the shell?
Why do you keep bringing up terminal emulators? This thread is not about terminal emulators. The OP never mentioned any terminal emulator. He asked about dash, which is a shell, which is a completely different thing.

Terminal emulators:
gnome-terminal
konsole
xterm
etc.

Shells:
sh
zsh
csh
tcsh
bash
dash
etc.

This thread is about shells.
 
Old 02-19-2016, 01:34 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Code:
[*] dash-0.5.8_6                 POSIX-compliant Unix shell, much smaller than GNU bash
in one of these wm I got it pops open a termianl with dash written on .. so color me ignorate to the whole of everything

Last edited by BW-userx; 02-19-2016 at 01:35 PM.
 
  


Reply



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
[SOLVED] Dash shell script variable expansion problems ;/ Kaurin Linux - Newbie 8 02-01-2013 02:18 PM
Gnome-Shell/Unity Dash like application for Gnome 2? anon02 Linux - Software 6 10-28-2011 09:34 AM
Gnome Shell installed via Fedora Repo's doesn't have Dash joker_dk Linux - Desktop 21 03-10-2011 06:25 PM
Ever heard of Alinux and HOW do you burn a 800mb CD I've never heard of one BiPolarPenguin General 4 12-19-2006 08:56 PM
LXer: Loan Linux Your Larynx - Let Your Voice Be Heard…No, REALLY Heard LXer Syndicated Linux News 0 01-29-2006 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration