HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
s
sh-posix(1) sh-posix(1)
$ Cursor to end of line.
History Search Commands
These commands access your command history file.
[count]k Fetch previous command. Each time k is entered, the next earlier command in the
history list is accessed.
[count]- Equivalent to k.
[count]j Fetch next command. Each time j is entered, the next later command in the history
list is accessed.
[count]+ Equivalent to j.
[count]G The command number count is fetched. The default is the first command in the his-
tory list.
/string Search backward through history for a previous command containing string. string is
terminated by a return or newline. If string is preceded by a ˆ, the matched line
must begin with string.Ifstring is null, the previous string is used.
?string Same as /, but search in the forward direction.
n Search for next match of the last pattern to the / or ? commands.
N Search for next match of the last pattern to
/ or ?, but in reverse direction.
Text Modification Edit Commands
These commands will modify the line.
a Enter insert mode after the current character.
A Append text to the end of the line. Equivalent to $a.
[count]cmotion
c[count]motion
Move cursor forward to the character position specified by motion, deleting all charac-
ters between the original cursor position and the new position, and enter insert mode.
If motion is c, the entire line is deleted.
C Delete from the current character through the end of line and enter insert mode.
Equivalent to c$.
S Equivalent to cc.
[count]dmotion
d[count]motion
Move cursor to the character position specified by motion, deleting all characters
between the original cursor position and the new position. If motion is d, the entire
line will be deleted.
D Delete from the current character through the end of line. Equivalent to d$.
i Enter insert mode before the current character.
I Enter insert mode before the beginning of the line. Equivalent to the two-character
sequence 0i.
[count]P Insert the previous text modification before the cursor.
[count]p Insert the previous text modification after the cursor.
R Enter insert mode and replace characters on the screen with characters you type,
overlay fashion.
[count]rc Replace the current character with c.
[count]x Delete the current character.
[count]X Delete the preceding character.
[count]. Repeat the previous text modification command.
~ Invert the case of the current character and advance the cursor.
[count]_ Append the count word of the previous command at the current cursor location and
enter insert mode at the end of the appended text. The last word is used if count is
omitted.
* Append an * to the current word and attempt file name generation. If no match is
found, ring the bell. If a match is found, replace the word with the matching string of
file names and enter insert mode.
escape
\ Attempt file name completion on the current word. Replace the current word with
the longest common prefix of all file names matching the current word with an aster-
isk appended. If the match is unique, append a / if the file is a directory or append a
space if the file is not a directory.
Section 1−−868 − 24 − HP-UX Release 11i: December 2000
___
___