Linux Comm Vlock
# Linux vlock Command
[ Linux Command Manual](#)
The Linux vlock command is used to lock the virtual terminal.
Executing the vlock (virtual console lock) command locks the virtual terminal, preventing others from using it.
### Syntax
vlock
**Parameter Description**:
* -a or --all: Lock all terminal sessions. If you use this parameter in a full-screen terminal, it will also disable the keyboard function for switching terminals.
* -c or --current: Lock the current terminal session. This is the default.
* -h or --help: Online help.
* -v or --version: Display version information.
### Example
Lock the virtual terminal
# vlock
[ Linux Command Manual](#)
YouTip