1
1-196
EMC Connectrix DS-32B2 and ED-12000B Fabric OS Reference Manual
Telnet Commands
h
Display shell history.
Syntax
h
Availability All users
Description 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:
Operands None
Example
To display previous shell commands:
switch:admin> h
1 version
2 switchShow
3 portDisable 2
4 portEnable 2
5 switchShow
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