Fabric OS Reference
1-93
Telnet Commands
1
h
Display shell history.
Synopsis
h
Availability
All users
Description
Use this command to view the shell history. The shell history mechanism is similar to the UNIX
Korn shell history facility, it has a built-in line-editor similar to UNIX vi that allows previously
typed commands to be edited. The command
h
displays the 20 most recent commands typed into
the shell; old commands fall off the top as new ones are entered.
To edit a command, press ESC to access edit mode, then use vi commands. The ESC key switches
the shell to edit mode. The RETURN key gives the line to the shell from either editing or input
mode.
Basic vi commands:
k
get the previous shell command
j
get the next command
h
move the cursor left
l
move the cursor right
a
append
i
insert
x
delete
u
undo
Operands
None.
Example
To display previous shell commands:
switch:admin> h
1 version
2 switchShow
3 portDisable 2
4 portEnable 2
5 switchShow
Summary of Contents for StorageWorks 8B - FC Entry Switch
Page 1: ...reference manual version 3 0 fabric os www hp com ...
Page 14: ...xiv Fabric OS Reference ...
Page 189: ...Fabric OS Reference 1 175 Telnet Commands 1 portCfgLongDistance portCfgTrunkport portCfgSpeed ...
Page 302: ...1 288 Fabric OS Reference Telnet Commands 1 ...
Page 342: ...Index 4 Fabric OS Reference ...