Skip to Main Content
Linux Pocket Guide
book

Linux Pocket Guide

by Daniel J. Barrett
February 2004
Beginner content levelBeginner
200 pages
5h 40m
English
O'Reilly Media, Inc.
Content preview from Linux Pocket Guide

File Creation and Editing

emacs

Text editor from Free Software Foundation

vim

Text editor, extension of Unix vi

umask

Set a default mode for new files and directories

soffice

Office suite for editing Microsoft Word, Excel, and PowerPoint documents

abiword

Edit Microsoft Word documents

gnumeric

Edit Excel spreadsheets

To get far with Linux, you must become proficient with one of its text editors. The two major ones are emacs from the Free Software Foundation, and vim, a successor to the Unix editor vi. Teaching these editors fully is beyond the scope of this book, but both have online tutorials, and we list common operations in Table 1-1. To edit a file, run either:

$ emacs myfile
$ vim myfile

If myfile doesn’t exist, it is created automatically. You can also quickly create an empty file (for later editing) using the touch command (see File Properties):

$ touch newfile

or write data into a new file by redirecting the output of a program (see Input/output redirection):

$ echo anything at all > newfile

In case you share files with Microsoft Windows systems, we will also cover Linux programs that edit Microsoft Word, Excel, and PowerPoint documents.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Pocket Guide, 2nd Edition

Linux Pocket Guide, 2nd Edition

Daniel J. Barrett
Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins

Publisher Resources

ISBN: 9780596806347Errata Page