EasyManuals Logo
Home>HP>Software>NonStop SSH 544701-014

HP NonStop SSH 544701-014 User Manual

HP NonStop SSH 544701-014
344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #212 background imageLoading...
Page #212 background image
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>

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP NonStop SSH 544701-014 and is the answer not in the manual?

HP NonStop SSH 544701-014 Specifications

General IconGeneral
BrandHP
ModelNonStop SSH 544701-014
CategorySoftware
LanguageEnglish

Related product manuals