
telnet | 467
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
telinit
telinit [option] [runlevel]
System administration command. Signal init to change the system’s
runlevel. telinit is actually just a link to init, the ancestor of all
processes.
Option
-t seconds
Send SIGKILL seconds after SIGTERM. Default is 20.
Runlevels
The default runlevels vary from distribution to distribution, but
these are standard:
0 Halt the system.
1, s, S
Single user.
6 Reboot the system.
a, b, c
Process only entries in /etc/inittab that are marked with
runlevel a, b, or c.
q, Q
Reread /etc/inittab.
Check the /etc/inittab file for runlevels on your system.
telnet
telnet [options] [host [port]]
Access remote systems. telnet is the user interface that communi-
cates with another host using the Telnet protocol. If telnet is
invoked without host, it enters command mode, indicated by its
prompt,
telnet>, and accepts and executes commands. Type ? at
the command prompt to see the available commands. If invoked
with arguments, telnet performs an open command (shown in the
following list) with those arguments. host indicates the host’s offi-
cial name, alias, or Internet address. port indicates a port number
(default is the Telnet port).
The Telnet protocol is often criticized because it uses no encryp-
tion and makes it easy for snoopers to pick up user passwords.
Most ...