GNU/Linux Command – DEALLOCVT

deallocvt — Deallocate Unused Virtual Consoles.


The command deallocvt deallocates kernel memory and data structures for all *UNUSED* virtual consoles. When you do ‘openvt’, a new virtual console will be created on the next free terminal. After using that, We can deallocate it using the ‘deallocvt’ command.

# openvt -s ls -- Run the 'ls' on next free VT (mostly on 7). # deallocvt -- Deallocate unused VT. Now switch to 7, you won't see any change on the screen. # deallocvt 7 -- Deallocate /dev/tty7, if it is unused.
Read: man deallocvt

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: