Book Image

Linux Essentials - Second Edition

By : Christine Bresnahan, Richard Blum
Book Image

Linux Essentials - Second Edition

By: Christine Bresnahan, Richard Blum

Overview of this book

Linux Essentials, Second Edition provides a solid foundation of knowledge for anyone considering a career in information technology, for anyone new to the Linux operating system, and for anyone who is preparing to sit for the Linux Essentials Exam. Through this engaging resource, you can access key information in a learning-by-doing style. Hands-on tutorials and end-of-chapter exercises and review questions lead you in both learning and applying new information—information that will help you achieve your goals! With the experience provided in this compelling reference, you can sit down for the Linux Essentials Exam with confidence. An open-source operating system, Linux is a UNIX-based platform that is freely updated by developers. The nature of its development means that Linux is a low-cost and secure alternative to other operating systems, and is used in many different IT environments. Passing the Linux Essentials Exam prepares you to apply your knowledge regarding this operating system within the workforce.
Table of Contents (19 chapters)

Launching an Editor

If you’re comfortable with a GUI desktop environment, you can launch a GUI text editor by using the desktop environment’s menu system or by using a file manager to browse to a file that you want to edit and double-clicking that file. This approach works well for files that you own, but if you need to edit system files, you’re likely to lack permissions to save changes if you launch a text editor in this way.

Another approach is to launch the text editor from the command line. You can do this as a normal user, using your default privileges to edit text files you own. To edit system files, you’ll need to use superuser privileges. You can also select the editor that you want to use—you just need to know its filename, which you type to launch the editor:

$ nano

This example launches nano. When...