This part of the book serves as a basic introduction to show new users how to use the Unix side of Mac OS X. Specifically, this section will cover:
Configuring and using the Terminal
Command-line editing with tcsh
Additional shell commands, like bindkey
,
defaults
, and open
Basic Unix commands
The Terminal application
(/Applications/Utilities
) is your interface to
Mac OS X’s Unix shell. The Terminal can be used for
everything from creating new directories (folders) and files to
launching applications, and from managing and monitoring your system
to programming and altering your system preferences.
This section offers advice on how to configure the settings for your Terminal:
Terminal → Preferences → Text & Colors → Cursor Shape → (Block, Underline, Vertical Bar)
Terminal → Preferences → Text & Colors → Options → Deselect Blinking Cursor
Terminal → Preferences → Text & Colors
Terminal → Preferences → Window → Custom Title
With an open Terminal window, hit Shift-
-T (or Shell → Set Title). Select the Custom Title checkbox, and enter a new title in the text field.
Terminal → Preferences → Buffer → Scrollback Buffer
Terminal → Preferences → Emulation → Strict VT100 emulation
Terminal → Preferences → Shell → Close the window if the shell exited cleanly
tcsh
)?Terminal → Preferences → Shell
→ Use this shell; change /bin/tcsh
to either /bin/csh
,
/bin/sh
, or /bin/zsh
It’s located in your home directory as
.tcsh_history
.
/usr/share/init/tcsh/rc
Yes, but read and follow the instructions in the README
file located in /usr/share/init/tcsh
.
Table 4-1 lists the keyboard shortcuts that can be used with the Terminal application.
Table 4-1. Keyboard shortcuts for use with the Terminal
3.149.249.127