Chinaunix首页 | 论坛 | 博客
  • 博客访问: 36077
  • 博文数量: 12
  • 博客积分: 682
  • 博客等级: 上士
  • 技术积分: 130
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-12 10:42
文章分类
文章存档

2010年(1)

2009年(11)

最近访客

分类: LINUX

2009-02-03 16:24:30

春节长假结束,已经和老婆把今年的计划安排得满满的,好久没整那台debian的机器了,今天是牛年的第一篇帖子,从这篇帖子开始,把去年未做完的功课做个了结。

1、虚拟控制台的切换
原先我的机器只能在图像界面和alt-f1之间进行切换,通过编辑/etc/inittab文件,可以通过alt-f2、alt-f3切换多个控制台,因为我的运行默认级别为5,所以对inittab做了如下修改
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
:::
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:235:respawn:/sbin/getty 38400 tty2
3:235:respawn:/sbin/getty 38400 tty3

4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

阅读(1069) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~