Skip to content

aos system

Session power state: lock, sleep, restart, shutdown, logout

6 commands. Run aos system --help for the same list from the binary, or see every group.

Session and power state. info prints OS and hardware facts and works everywhere. lock, sleep, logout, restart and shutdown do exactly what they say with no confirmation, so an agent should check with the person before the last three.

Print OS, host, and hardware facts

Terminal window
aos system info
Terminal window
aos system info

Lock the screen

needs a display alias: aos lock

Terminal window
aos system lock
Terminal window
aos system lock

Log the current user out

needs a display

Terminal window
aos system logout
Terminal window
aos system logout

Restart the machine

Terminal window
aos system restart
Terminal window
aos system restart

Power the machine off

Terminal window
aos system shutdown
Terminal window
aos system shutdown

Put the machine to sleep

Terminal window
aos system sleep
Terminal window
aos system sleep