Difference between revisions of "CheatSheet"

Rest
(Network)
(Rest)
Line 67: Line 67:
allows/denies incoming traffic from specified IP address {{UserCmd|command=ufw [allow/deny] from [ip]}}
allows/denies incoming traffic from specified IP address {{UserCmd|command=ufw [allow/deny] from [ip]}}


=== Your sub title ===
=== System and Screen ===
Display kernel version {{UserCmd|command=uname -r}}
Display long kernel version {{UserCmd|command=uname -a}}
Report file system disk space usage {{UserCmd|command=df [/] [/home]}}  {{UserCmd|command=sudo btrfs filesystem usage -h [/]}}
Display system tasks  {{UserCmd|command=top}}  {{UserCmd|command=htop}}
Display system information {{UserCmd|command=inxi --admin --verbosity=7 --filter --width}}
Display a tree of processes  {{UserCmd|command=pstree}}
 
Switch to tty  {{key press|Ctrl|Alt|F[1..6]}}
 
Switch to the X session {{key press|Ctrl|Alt|F7}}
<span style="color: red; text-decoration: line-through;">starts a daemon {{UserCmd|command=rc.d start [daemon]}}
</span>
<span style="color: red; text-decoration: line-through;">stops a daemon {{UserCmd|command=rc.d stop [daemon]}}</span>
<span style="color: red; text-decoration: line-through;">restarts a daemon {{UserCmd|command=rc.d restart daemon}}</span>
Shut down the system {{UserCmd|command=shutdown -h now}}
Restart the system {{UserCmd|command=shutdown -r now}}
 
=== Your sub title ===
=== Your sub title ===
=== Your sub title ===
=== Your sub title ===
translator
1,001

edits