Why Run Shell in Emacs?

By Xah Lee. Date: . Last updated: .
emacs shell 2017 11 01 57491
Alt+x shell and Alt+x eshell and a buffer.

Advantage of Running Shell Inside Emacs

Using shell inside emacs is more convenient than using a terminal, because:

For how to use shell inside emacs, see Emacs: Run Shell in Emacs

emacs shell 2014-08-22
emacs M-x shell

Disadvantage of Running Shell in Emacs

Some of the interactive software problems above can be solved by Alt+x term. But i don't recommend it because that introduces other complexities. For one thing, your normal emacs keys don't work anymore.

I run common daily unix commands in emacs shell. But for installing something new (For example, ruby/python/js package manager), or some new 3rd party unix command i've never used before, i goto a dedicated terminal app to avoid complexity/confusion.

Run Common Linux Command in Emacs

For common commands, such as ls, cd, mkdir, find, grep, you should do them all in emacs.

I used dired for these.

[see Emacs: File Manager, dired]

Shell Topic

  1. Run Shell in Emacs
  2. Why Run Shell in Emacs?
  3. Difference between shell, term, eshell
  4. eshell
  5. View Linux man Page
  6. Interactive Abbrev
  7. File Manager, dired
  8. Batch Rename Files
  9. Linux: Basic Shell Commands
Patreon me $5 patreon

Or Buy Xah Emacs Tutorial

Or buy a nice keyboard: Best Keyboard for Emacs

If you have a question, put $5 at patreon and message me.