Here is a general run down of Linux runlevels:
Runlevel | Description |
0 | Halt |
1 | Single-user mode |
2 | Basic multi-user mode (without networking) |
3 | Full (text based) multi-user mode |
4 | Not used |
5 | Full (GUI based) multi-user mode |
6 | Reboot |
Technical thoughts from a Curious Thinker
Here is a general run down of Linux runlevels:
Runlevel | Description |
0 | Halt |
1 | Single-user mode |
2 | Basic multi-user mode (without networking) |
3 | Full (text based) multi-user mode |
4 | Not used |
5 | Full (GUI based) multi-user mode |
6 | Reboot |
This is a quick reference chart for iptables for the switches I use most commonly. For more information, see the man pages or use the --help
switch.
-n (numeric output)
-v (verbose output)
--line-numbers (lists line numbers for use with -D)
-D [chain] [line-number] (deletes line-number from chain)
-N (creates a new chain)
add tcp 27014 to INPUT chain and ACCEPT
create new chain; add to INPUT