Re: automatically select a virtual console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Feb 08, 2008 at 08:42:03AM -0800, Ray Van Dolson wrote:
> On Fri, Feb 08, 2008 at 11:37:24AM -0500, Jerry Geis wrote:
> > Is there a way in a shell script to switch virtual consoles?
> > I want to switch to virtual console 3 using a command line .
> > How do I do that?
> 
> chvt
> 
> Ray

There's also "switchto" which appears to do pretty much the same thing,
as far as I can tell from reading the man page.
-- 
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
                       I can do all things through Christ 
                              who strengthens me.
------------------------------ Philippians 4:13 -------------------------------

Attachment: pgpxztF5Bvur6.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux