Linux Commands Examples

A great documentation place for Linux commands

deallocvt

deallocate unused virtual consoles


see also : chvt - openvt

Synopsis

deallocvt [N ...]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
thaw|resume)
state_exists console || exit 1
chvt $(restorestate console)
deallocvt 63
;;
*)
;;
esac

description

The command deallocvt deallocates kernel memory and data structures for all unused virtual consoles. If one or more arguments N ... are given, only the corresponding consoles /dev/ttyN are deallocated.

A virtual console is unused if it is not the foreground console, and no process has it open for reading or writing, and no text has been selected on its screen.


see also

chvt , openvt

How can this site be more helpful to YOU ?


give  feedback