English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux vlock command

Linux Command Manual

The Linux vlock command is used to lock the virtual terminal.

Execute the vlock (virtual console lock) command to lock the virtual terminal and prevent others from using it.

Syntax

vlock [-achv]

Parameter Description:

  • -a or--all  Lock all terminal sessions, if you use this parameter in a full-screen terminal, it will use the keyboard
  • Toggle the terminal functions and close them together.
  • -c or--current  Lock the current terminal session, this is the default value.
  • -h or--help  Online help.
  • -v or--version  Display version information.

Online Examples

Lock Virtual Terminal

# vlock

Linux Command Manual