How do you shutdown a system on the same network in Linux?
The exact meaning of this question is unclear. Most Linux
systems may be shutdown in a variety of ways from the local console
or a remote shell login via SSH or telnet for example.
If logged in as root at a command line interface (CLI), the
following commands will likely change the runlevel of most Linux
systems.
For a system halt, type "init 0", for a system reboot, type
"init 6", for a system halt, you may also type "halt", for a system
reboot, you may also type "reboot", to exit multi-user mode and
enter single user mode, type "init 1" and to return to multi-user
mode, try typing "init 3" and so on...
Invoking the "init" command allows you to change the runlevel
'on the fly' without first executing a full shutdown of the system.
If the runlevel is changed from a remote connection however, be
advised that your connection will be lost if the network interfaces
are shut down as a result of the runlevel change. [JMH]