PentOpsVault @syztem4our666

PentOpsVault
Linux

System Control

Linux

Lock screen

gnome-screensaver-command -l

Lock screen (alternative)

dbus-send --type=method_call --dest=org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.Lock

Unlock screen

gnome-screensaver-command -a

Unlock screen (alternative)

dbus-send --type=method_call --dest=org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.SetActive boolean:false

Reboot the system

reboot

Reboot the system (alternative)

shutdown -r

Shutdown the system

poweroff

Shutdown the system (alternative)

shutdown -h now

Shutdown the system (another alternative)

reboot -p

Shutdown the system at specific time

shutdown -h 18:45 "Server is going down for maintenance"

Stop Bluetooth service

service bluetooth stop

Start Bluetooth service

service bluetooth start

Stop Wi-Fi service

nmcli nm wifi off

Start Wi-Fi service

nmcli nm wifi on

Turn off monitor

xset dpms force off

On this page

Edit on GitHub