© Harley Hahn 2016

Harley Hahn, Harley Hahn's Emacs Field Guide, 10.1007/978-1-4842-1703-0_12

12. Shell Commands; Help and Info; Programs and Games

Harley Hahn

(1)Santa Barbara, California, USA

12.1 Section 12.1: Entering Shell Commands

There are several ways you can use shell commands without having to leave the Emacs environment. These tools are summarized in Figure 12-1.

A385558_1_En_12_Fig1_HTML.gif
Figure 12-1. Running shell commands.

To enter a single shell command, type M-! followed by the command. For example, to display a list of all the userids currently logged into your system, you could use either M-! users or M-! who. (users and who are Unix commands.)

When you run ...

Get Harley Hahn's Emacs Field Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.