![HP NonStop SSH 544701-014 Скачать руководство пользователя страница 212](http://html.mh-extra.com/html/hp/nonstop-ssh-544701-014/nonstop-ssh-544701-014_reference-manual_165151212.webp)
212
•
SSH and SFTP Client Reference
HP NonStop SSH Reference Manual
A maximum of 50 commands are saved. If only a smaller number of commands in the history list is of interest, a
numeric parameter can be used to specify the number of commands, e.g.:
sftp> history 4
1> ls –l k*
2> get file678
3> put report89
4> cd $disk.subvol
sftp>
A string can be specified after the history command that controls the selection of historic lines: Only those lines of the
history list are displayed that contain the supplied string, for example:
sftp> history t8
3> put report89
sftp>
History Mode
There are two different modes that can be set to manage the history list. The mode must be set via PARAM/environment
variable HISTORYMODE before starting the SFTP[OSS] client, i.e. in the process environment of the SFTP[OSS]
client.
Possible values for HISTORYMODE are SFTP (the default value) and TACL. If HISTORYMODE is set to TACL the
history list behaves like the one in TACL.
The following table explains the differences between HISTORYMODE SFTP and TACL:
FC/HISTORY differences depending on
HISTORYMODE setting
HISTORYMODE SFTP
HISTORYMODE TACL
Commands added to the history list
All commands but help, history, fc and "!"
All commands but fc and "!"
Default count for history command display
20
10
Handling of duplicate commands
Only the last of duplicate commands stays
in list
Duplicate commands are added
Command number change
Command numbers change whenever an
old, duplicate command is moved to the top
Command number assigned to a
command stays the same until the
command drops out of the history
list
Match of string supplied as parameter to FC
and HISTORY command
A string matches anywhere in a command
line
A string must match the
beginning of a command
Fix Command
The FC command (fix command) allows retrieving one of the history commands either by number or by string matching.
If a number is specified, then the corresponding command is retrieved and can be modified using standard fix command
modifications via R, D and I (see “Guardian Procedure Calls Reference Manual”, section FIXSTRING for details).
sftp> fc 2
get file678
... d//i5
get fle5678
... r4// 9
get fl456789
...
Couldn't stat remote file: No such file or directory
File "/G/data1/reports/fl456789" not found.
sftp>
Содержание NonStop SSH 544701-014
Страница 12: ...xii Contents HP NonStop SSH Reference Manual ...
Страница 24: ...24 Preface HP NonStop SSH Reference Manual ...
Страница 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Страница 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Страница 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Страница 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Страница 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Страница 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Страница 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...