Emacs: eshell

By Xah Lee. Date: . Last updated: .

eshell is similar in purpose to unix's bash, but used inside emacs.

eshell is written entirely in elisp.

eshell supports most basic bash commands such as {cd, ls, cp, mkdir}.

One major advantage of eshell is that you can run basic linux commands in Microsoft Windows, without installing unix software such as Cygwin. [see Installing Cygwin Tutorial] Also, eshell is much faster to start.

Alt+x eshell to start it.

emacs eshell 2014-10-18
emacs Alt+x eshell

What is the Difference Between Eshell and Other Shell?

Emacs: Difference between shell, term, eshell

Advantages of Eshell Over a Regular Shell

[From NikkiA at reddit]

eshell Documentation

Alt+x info, then click on eshell.

emacs eshell 2021-03-24
emacs eshell 2021-03-24

Eshell is written by John Wiegley [http://newartisans.com/] . Thank you John.

How to set environment variable for just within eshell?

See Emacs: Set Environment Variables within Emacs

eshell Pains

Emacs: eshell pains

See also: Emacs Shell in Movie TRON

If you have a question, put $5 at patreon and message me on xah discord.
Or support me by Buy Xah Emacs Tutorial

Emacs Tutorial

Emacs Init

Emacs Keys


ELisp Examples

ELisp Write Major Mode

Emacs Tutorial

Quick Start

Manage Windows



Find Replace




Rectangle Edit

Line Wrap


View Special File

Working with Brackets

Org Mode


Emacs Efficiency