Skip to Main Content
Running Mac OS X Tiger
book

Running Mac OS X Tiger

by Jason Deraleau, James Duncan Davidson
December 2005
Intermediate to advanced content levelIntermediate to advanced
400 pages
11h 33m
English
O'Reilly Media, Inc.
Content preview from Running Mac OS X Tiger

Editing Text Files

While editing text files in the GUI is straightforward using the built-in TextEdit program (/Applications), editing files using the command-line tools hasn’t always been a walk in the park, unless you are comfortable with old-school text editors like vi or Emacs. But thanks to the open command, several of the command-line editing tasks that you need to perform can be done in the GUI. For example, to open your bash history file in TextEdit, use the following command:

$ open ~/.bash_history

For most text-file editing, however, TextEdit is a little underpowered. Also, it can’t be used as the command-line editor program (via the EDITOR environment variable), and it can’t be used to edit files while you are logged in remotely.

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

Apple Training Series Mac OS X Directory Services v10.5

Apple Training Series Mac OS X Directory Services v10.5

Arek Dreyer

Publisher Resources

ISBN: 0596009135Catalog PageErrata