GNU/Linux Command – CHVT

chvt — CHange foreground Virtual Terminal.

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). chvt command is also used to switch between this terminals. It can be used in shell scripts.

Examples:
$ chvt 1 -- Switch from current terminal to /dev/tty1. $ chvt 2 -- Switch from current terminal to /dev/tty2.
Read: man chvt

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: