mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 14:47:26 +00:00
Update cheatsheets
This commit is contained in:
29
linux/physlock
Normal file
29
linux/physlock
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# physlock
|
||||
|
||||
> Lock all consoles and virtual terminals.
|
||||
> More information: <http://github.com/muennich/physlock>.
|
||||
|
||||
- Lock every console (require current user or root to unlock):
|
||||
|
||||
`physlock`
|
||||
|
||||
- Mute kernel messages on console while locked:
|
||||
|
||||
`physlock -m`
|
||||
|
||||
- Disable SysRq mechanism while locked:
|
||||
|
||||
`physlock -s`
|
||||
|
||||
- Display a message before the password prompt:
|
||||
|
||||
`physlock -p "{{Locked!}}"`
|
||||
|
||||
- Fork and detach physlock (useful for suspend or hibernate scripts):
|
||||
|
||||
`physlock -d`
|
||||
Reference in New Issue
Block a user