Command history??”The shell stores every command you enter (up to a limit, which
is configurable). This feature lets you easily access and repeat commands from the
history. Press the up-arrow key to see the last command and keep pressing the key to
view each previous command. Pressing the down-arrow key moves forward in time,
as it were, returning you back to an empty prompt. To reuse a command, locate it
and press Enter to run the command. This works over sessions, too. Even if you run
the shell only once a month (or once a decade), the command history stays current.
CHAPTER 5 Getting Started with openSUSE 78
. Filename completion??”Another terrific tool for lazy typists. Start typing a filename
and press the Tab key. The shell checks the path for files that start with the characters
you typed, and a suggestion appears. This is especially helpful when performing
actions on files with long names, or deep in a directory. Some shells will also
complete commands. See the sections on running tcsh and zsh later in the chapter.
. Command-line editing??”Did you mistype a letter in a command and get an error?
Don??™t retype the whole thing; use the command history and left- and right-arrow
keys to get to the error, or change the options.
Pages:
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237