[CentOS] automatically select a virtual console

Fri Feb 8 16:44:59 UTC 2008
fred smith <fredex at fcshome.stoneham.ma.us>

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 at fcshome.stoneham.ma.us -----------------------------
                       I can do all things through Christ 
                              who strengthens me.
------------------------------ Philippians 4:13 -------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080208/486495f8/attachment-0004.sig>