Why Run Shell in Emacs?

By Xah Lee. Date: . Last updated: .
emacs shell 2014-08-22
emacs M-x shell

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

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. Emacs: Run Shell in Emacs
  2. Why Run Shell in Emacs?
  3. Emacs: Difference between shell, term, eshell
  4. Emacs: M-x eshell
  5. Emacs: View Linux man Page
  6. Emacs: Interactive Abbrev
  7. Emacs: File Manager, dired
  8. Emacs: Batch Rename Files
  9. Linux: Basic Shell Commands
Liket it? Put $5 at patreon. Or Buy Xah Emacs Tutorial. Thanks.