>_ linuxcommand.dev
Vim

:q

Exit (fails if there are unsaved changes).

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-10-07
Syntax
$:q
Examples
$:q
Typical use cases
?
Standard usage
:q --help
Note Global and Exiting. Ends when there are no unsaved changes.
Export