Skip to Main Content
Ubuntu: Up and Running
book

Ubuntu: Up and Running

by Robin Nixon
April 2010
Beginner content levelBeginner
464 pages
12h 7m
English
O'Reilly Media, Inc.
Content preview from Ubuntu: Up and Running

Alternative Shells

Unless you have changed it, until now you have been using Ubuntu’s version of the Bash program called Dash (the Debian Almquist shell). Dash is based on the Ash shell by Kenneth Almquist and is almost identical to Bash in use—but is much smaller and faster.

Other shells are also available. For example, advanced users may sometimes encounter the slight differences between Dash and Bash, and so can choose to use Bash itself by entering chsh (for “choose shell”), entering your password, and then pressing Enter to accept the default new shell of /bin/bash. To change back, enter chsh again, enter your password and select /bin/sh for your default shell. If you wish to be certain that you are using Dash, you can enter chsh and select /bin/dash as your shell.

You can view the list of available shells by entering the following command:

cat /etc/shells

If you are a seasoned Linux user and prefer to use a shell that isn’t shown, from the desktop you can select System Administration Synaptic Package Manager and search for the term shell to list all those available. Normally, though, most users will want to stick with using the default shell.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu Made Easy

Ubuntu Made Easy

Rickford Grant, Phil Bull
Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull
CentOS Quick Start Guide

CentOS Quick Start Guide

Shiwang Kalkhanda

Publisher Resources

ISBN: 9781449382827Errata Page