N-Tron 7014TX Switch User Manual


 
6/28/2007 page 97 of 145
“$”
Command Name
$
Description This command copies the command identified by reference number
<command no> from the history list into the next command line
allowing the user to edit the command for corrections or changes.
Syntax $<n>
Parameters
n
The reference number of the command in the history list
that has to be edited.
Examples
N-TRON/Admin#[1]> whoaim
As shown above the command whoaim was entered instead of whoami.
To edit the already entered command do as follows.
N-TRON/Admin#[2]> $1
N-TRON/Admin#[2]> whoaim
Now we can edit the command at the command prompt.
NOTES After entering ‘$1’ at the prompt, it displays the previously entered
command.
Whoami
Command Name
whoami
Description This command displays the current operating mode of the user.
Syntax
whoami
Parameters
None
Examples eg.1
N-TRON/Admin#[5]>whoami
admin with privilege of Administrator
eg.2
N-TRON/User#[5]> whoami
user with privilege of User
NOTES
Ping
Command Name
ping
Description To issue the ping request to a specified host.
Syntax ping <hostip-address> [count]
Parameters
hostip-address
IP Address of the host to give the ping request.
count
Count the number of times to give the ping request (range 5-50).
Example
ping 10.1.6.15
ping 10.1.6.15 10
Notes