Lantronix SCS1620 Podręcznik Użytkownika Strona 117

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 141
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 116
SCSxx05/SCSxx20 User Guide A: Unix Command Help
A-3
MISCELLANEOUS COMMANDS
-<flag> Toggle a command line option [see OPTIONS below].
--<name> Toggle a command line option, by name.
_<flag> Display the setting of a command line option.
__<name> Display the setting of an option, by name.
+cmd Execute the less cmd each time a new file is examined.
!command Execute the shell command with $SHELL.
|Xcommand Pipe file between current pos & mark X to shell command.
v Edit the current file with $VISUAL or $EDITOR.
V Print version number of "less".
---------------------------------------------------------------------------
OPTIONS
Most options may be changed either on the command line,
or from within less by using the - or -- command.
Options may be given in one of two forms: either a single
character preceded by a -, or a name preceded by --.
-? ........ --help
Display help (from command line).
-a ........ --search-skip-screen
Forward search skips current screen.
-b [N] .... --buffers=[N]
Number of buffers.
-B ........ --auto-buffers
Don't automatically allocate buffers for pipes.
-c -C .... --clear-screen --CLEAR-SCREEN
Repaint by scrolling/clearing.
HELP -- Press RETURN for more, or q when done
vi Editor Commands
The vi editor is a powerful command editor used to modify Unix commands.
Note: It is possible to damage a file, which might render the system
inoperative, by improper use of a file or command editor on system files.
This section is only meant as a review for those familiar with vi
commands.
Using vi
To edit a file using the vi editor on a file with a name <file_name>, from the
command line, type:
vi <file_name>
Use the following commands to edit and then close the file.
vi Modes
vi is a three-mode line editor: it has a command mode, a line mode, and an
editing mode. It is very useful for editing a file, for navigating within an open file,
and for opening or saving a file.
Command mode For moving around within an open file
Editing mode For text editing in the file
Line mode For file opening, saving, closing, exiting
To enter vi in the line mode, from the command mode, type : (colon).
Przeglądanie stron 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 140 141

Komentarze do niniejszej Instrukcji

Brak uwag