GNU/Linux Command – OPENVT

openvt — Open a new Virtual Terminal and start a program on it.

Summary:

In GNU/Linux OS, be default, 6 virtual text mode console terminals will be running. User can switch between this terminals using Left Side Ctrl + Alt + FunKey(1 – 6). openvt will find the first available VT, and run the given command on it. If no command is specified then the $SHELL is used.

Examples:
$ openvt -- Start a shell on the next free VT. Try Alt+F<1-12> to see new shell session. $ openvt -v -- Same as above, with extra output. $ openvt -l bash -- Start bash as a login shell on next free VT. $ openvt ls -- Run the 'ls' on the next free VT. $ openvt -s ls -- Same as above. But switch to the new VT when starting the command. # openvt -c 9 ls -- Run the 'ls' on the 9th VT.
Read: man openvt

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: