User guide

kill
66 Chapter 2 Command Descriptions
kill
Purpose Clears or resets sessions on ports. The "kill" command is associated with
the connections displayed by the "who" command. That is, you can only
close connections that are displayed by the "who" command by issuing a
"kill" command, and not by the "close" command.
Device support This command is supported in all devices.
Required
permissions
Root privileges are required to use this command.
Syntax kill {tty=tty number|tty=tty range}|tty number|tty range}
Options tty=tty number
A port on which to clear a session. Number = 1.
tty=tty range
A range of ports on which to clear sessions. Range = 1.
tty number
An alternate method of specifying the number of the port on which to
clear a session. Number = 1.
tty range
An alternate method of specifying a range of ports on which to clear
sessions. Range = 1.
Examples Kill a session on a specific port
#> kill tty=1
Kill a session on a range of ports
#> kill tty=1-2
See also "close" on page 54, to close sessions for the current connection.
session.
"connect" on page 56.
"mode" on page 67.
"quit" on page 75 for an alternate method of ending a root session.
"reconnect" on page 76.
"rlogin" on page 83.
"send" on page 85.
"status" on page 254.
"telnet" on page 255.
"who" on page 261, for information on determining current users.