RoboSHOT 12 USB
RoboSHOT 12 USB - Document Number 342-0981 Rev B
Page 36 of 40
History
NAME
history
- command history
SYNOPSIS
history
[
limit
]
DESCRIPTION
Since many of the programs read user input a line at a time, the command
history
is used to keep track of these lines
and also recall historic information
HISTORY NAVIGATION
The
command
history
can be navigated using the up and down arrow keys. The up arrow will move up a single entry
in the command
history
while the down arrow moves down in the command
history
.
HISTORY EXPANSION
The
command
history
supports the expansion functionality from which previous commands can be recalled from within
a single session. History expansion is performed immediately after a complete line is read.
Listed below are examples of
history
expansion:
*
!!
Substitute the last command line.
*
!N
Substitute the Nth command line (absolute as per ’
history
’ command)
*
!-N
Substitute the command line entered N lines before (relative)
EXAMPLES
history
-
Displays the current command buffer
history
5 - Sets the
history
command buffer to remember the last 5 unique entries
Network
Settings
NAME
network
settings
- get current network settings
SYNOPSIS
network
settings
{get}
DESCRIPTION
Method used to get the current
network settings
of the device
OPTIONS
get
Get the current
network settings
for the machine
EXAMPLES
network
settings
get
MAC Address:
00:04:a3:85:0a:ee
IP
Address:
10.10.8.116
Netmask:
255.255.255.0
Gateway:
10.10.8.100
Returns the current
network settings
for mac addres, ip address, netmask, and gateway
Network
Ping
NAME
network
ping
- send ICMP ECHO_REQUEST to network hosts
SYNOPSIS
network
ping
[
count
<
count
>] [
size
<
size
>] <destination-ip>
DESCRIPTION
Use the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE
from a host or gateway. ECHO_REQUEST datagrams have an IP and ICMP header, followed by a struct
timeval and then an arbitrary number of pad bytes used to fill out the packet.
OPTIONS
count
Stop after sending
count
ECHO_REQUEST packets. With deadline option,
ping
waits for
count
ECHO_REPLY packets, until the timeout expires. The default is 5.
destination
The destination IP address where the ECHO_REQUESTS are sent
size
The data
size
of the ICMP packet to send. The default is 56 bytes
EXAMPLES
network
ping
192.168.1.1
Attempt to send 5 ICMP ECHO_REQUESTs with data
size
56 to the host at 192.168.1.1
network
ping count
10
size
100 192.168.1.1
Attempt to send 10 ICMP ECHO_REQUESTs with data
size
of 100 to the host at 192.168.1.1