春节长假结束,已经和老婆把今年的计划安排得满满的,好久没整那台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 tty34:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
阅读(1111) | 评论(0) | 转发(1) |