HISTory
List command history
- HISTory
Shortest form:
hist.List the shell’s command history, at most
<count>entries (default 999), each indented by three spaces. Read-only.Lines typed at the
drivshell>prompt are not recorded, so on a SONiC switch the list is empty andhistoryprints nothing. Inbcmsh, use the arrow keys instead: the local client keeps its own history, which this command does not see.Hardware-validated
drivshell> history 20Built-in help
Parameters: [count] Displays the command history. If count is given, output is limited to at most count lines.Further reading
SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM_SDK命令.