12/2/24, 10:10 System control | Basic | Cheat sheet | Linux Command Library
LINUX COMMAND LIBRARY
BASICS TIPS COMMANDS
System control
Lock screen Shutdown the system at specific
$ gnome-screensaver-command -l time
$ dbus-send --type=method_call -- $ shutdown -
dest=org.freedesktop.ScreenSaver /Scree h 18:45 "Server is going down for mainten
nSaver org.freedesktop.ScreenSaver.Lock ance"
Unlock screen Stop bluetooth service
$ gnome-screensaver-command -a $ service bluetooth stop
$ dbus-send --type=method_call --
dest=org.freedesktop.ScreenSaver /Scree Start bluetooth service
nSaver org.freedesktop.ScreenSaver.SetA
ctive boolean:false $ service bluetooth start
Reboot the system Stop wifi service
$ reboot $ nmcli nm wifi off
$ shutdown -r
Start wifi service
Shutdown the system $ nmcli nm wifi on
$ poweroff
$ shutdown -h now
Turn off monitor
$ xset dpms force off
$ reboot -p
https://linuxcommandlibrary.com/basic/systemcontrol 1/2
12/2/24, 10:10 System control | Basic | Cheat sheet | Linux Command Library
All man pages are copyrighted by their respective authors. Thanks to TLDR and commandlinefu.com
Simon Schubert - [email protected]
My other projects:
https://linuxcommandlibrary.com/basic/systemcontrol 2/2