O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tutorial: Getting Started with emacs

The emacs editor has many, many features, and there are many ways to use it. Its complete manual has more than 35 chapters. However, you can do a considerable amount of meaningful work with a relatively small subset of the commands. This section describes a simple editing session, explaining how to start and exit from emacs and how to move the cursor and delete text. Some issues are postponed or simplified in the interest of clarity. If you are using emacs in an X Window System environment, refer to “emacs and the X Window System” on page 520 as you read this section.

Starting emacs

To edit a file named sample as a text-based editor (without a GUI), enter the following command:

$ emacs –q -nw sample
						

This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required