免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
论坛 操作系统 其他UNIX vi
最近访问板块 发新帖
查看: 1302 | 回复: 2
打印 上一主题 下一主题

[SCO UNIX] vi [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-27 18:25 |只看该作者 |倒序浏览
在#符下输入vi /etc/inittab后屏幕显示如下:
#       @(#) init.base 25.6 95/03/22
#
#       Copyright (C) 1988-1995 The Santa Cruz Operation, Inc.
#               All Rights Reserved.
#       The information in this file is provided for the exclusive use of
#       the licensees of The Santa Cruz Operation, Inc.  Such users have the
#       right to use, modify, and incorporate this code into other products
#       for purposes authorized by the license agreement provided they include
#       this notice and the associated copyright notice with any such product.
#       The information in this file is provided "AS IS" without warranty.
#
# /etc/inittab on 286/386 processors is built by Installable
# Drivers (ID) each time the kernel is rebuilt. /etc/inittab is replaced
# by /etc/conf/cf.d/init.base appended with the component files in the
# /etc/conf/init.d directory by the /etc/conf/bin/idmkinit command.
#
# To comment out an entry of /etc/inittab, insert a # at start of line.
#
bchk::sysinit:/etc/bcheckrc </dev/console >;/dev/console 2>;&1
ifor::sysinit:/etc/ifor_pmd </dev/null >;/usr/adm/pmd.log 2>;&1
tcb::sysinit:/etc/smmck </dev/console >;/dev/console 2>;&1
ck:234:bootwait:/etc/asktimerc </dev/console >;/dev/console 2>;&1
"/etc/inittab" 55 lines, 2546 characters
#
#       Copyright (C) 1988-1995 The Santa Cruz Operation, Inc.
#               All Rights Reserved.
#       The information in this file is provided for the exclusive use of
#       the licensees of The Santa Cruz Operation, Inc.  Such users have the
#       right to use, modify, and incorporate this code into other products
#       for purposes authorized by the license agreement provided they include
#       this notice and the associated copyright notice with any such product.
#       The information in this file is provided "AS IS" without warranty.
#
# /etc/inittab on 286/386 processors is built by Installable
# Drivers (ID) each time the kernel is rebuilt. /etc/inittab is replaced
# by /etc/conf/cf.d/init.base appended with the component files in the
# /etc/conf/init.d directory by the /etc/conf/bin/idmkinit command.
#
# To comment out an entry of /etc/inittab, insert a # at start of line.
#
bchk::sysinit:/etc/bcheckrc </dev/console >;/dev/console 2>;&1
ifor::sysinit:/etc/ifor_pmd </dev/null >;/usr/adm/pmd.log 2>;&1
tcb::sysinit:/etc/smmck </dev/console >;/dev/console 2>;&1
ck:234:bootwait:/etc/asktimerc </dev/console >;/dev/console 2>;&1
ack:234:wait:/etc/authckrc </dev/console >;/dev/console 2>;&1

is:S:initdefault:

r0:056:wait:/etc/rc0  1>; /dev/console 2>;&1 </dev/console

r1:1:wait:/etc/rc1  1>; /dev/console 2>;&1 </dev/console

r2:2:wait:/etc/rc2 1>; /dev/console 2>;&1 </dev/console

r3:3:wait:/etc/rc3  1>; /dev/console 2>;&1 </dev/console

sd:0:wait:/etc/uadmin 2 0 >;/dev/console 2>;&1 </dev/console

fw:5:wait:/etc/uadmin 2 2 >;/dev/console 2>;&1 </dev/console

rb:6:wait:/etc/uadmin 2 1 >;/dev/console 2>;&1 </dev/console
co:2345:respawn:/etc/getty tty01 sc_m

co1:1:respawn:/bin/sh -c "sleep 20; exec /etc/getty tty01 sc_m"

c02:234:respawn:/etc/getty tty02 sc_m

c03:234:respawn:/etc/getty tty03 sc_m

c04:234:respawn:/etc/getty tty04 sc_m

c05:234:respawn:/etc/getty tty05 sc_m

c06:234:respawn:/etc/getty tty06 sc_m

c07:234:respawn:/etc/getty tty07 sc_m

c08:234:respawn:/etc/getty tty08 sc_m

c09:234:respawn:/etc/getty tty09 sc_m

c10:234:respawn:/etc/getty tty10 sc_m

c11:234:respawn:/etc/getty tty11 sc_m

c12:234:respawn:/etc/getty tty12 sc_m

sdd:234:respawn:/tcb/files/no_luid/sdd

tcp::sysinit:/etc/tcp start < /dev/null >; /dev/null 2>;&1

ci::sysinit:/etc/netspy

ci::sysinit:/etc/startsbshell

Se1a:234:respawn:/etc/getty tty1a m

Se1A:234ff:/etc/getty -t60 tty1A 3

Se2a:234:respawn:/etc/getty tty2a m

Se2A:234ff:/etc/getty -t60 tty2A 3

http::sysinit:/etc/scohttp start
scl:bnce:/etc/rc2.d/P86scologin start no_switch


r2:2:wait:/etc/rc2 1>; /dev/console 2>;&1 </dev/console
r3:3:wait:/etc/rc3  1>; /dev/console 2>;&1 </dev/console
sd:0:wait:/etc/uadmin 2 0 >;/dev/console 2>;&1 </dev/console
fw:5:wait:/etc/uadmin 2 2 >;/dev/console 2>;&1 </dev/console
rb:6:wait:/etc/uadmin 2 1 >;/dev/console 2>;&1 </dev/console
co:2345:respawn:/etc/getty tty01 sc_m
co1:1:respawn:/bin/sh -c "sleep 20; exec /etc/getty tty01 sc_m"
c02:234:respawn:/etc/getty tty02 sc_m
c03:234:respawn:/etc/getty tty03 sc_m
c04:234:respawn:/etc/getty tty04 sc_m
c05:234:respawn:/etc/getty tty05 sc_m
c06:234:respawn:/etc/getty tty06 sc_m
c07:234:respawn:/etc/getty tty07 sc_m
c08:234:respawn:/etc/getty tty08 sc_m
c09:234:respawn:/etc/getty tty09 sc_m
c10:234:respawn:/etc/getty tty10 sc_m
c11:234:respawn:/etc/getty tty11 sc_m
c12:234:respawn:/etc/getty tty12 sc_m
sdd:234:respawn:/tcb/files/no_luid/sdd
tcp::sysinit:/etc/tcp start < /dev/null >; /dev/null 2>;&1
ci::sysinit:/etc/netspy
ci::sysinit:/etc/startsbshell
Se1a:234:respawn:/etc/getty tty1a m
Se1A:234ff:/etc/getty -t60 tty1A 3
Se2a:234:respawn:/etc/getty tty2a m
Se2A:234ff:/etc/getty -t60 tty2A 3
http::sysinit:/etc/scohttp start
scl:bnce:/etc/rc2.d/P86scologin start no_switch
sclb:2:bootwait:/etc/scologin init
这些是什么意思呢?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2005-04-27 21:55 |只看该作者

vi

什么意思?
是不懂vi还是看不明白inittab文件的内容

论坛徽章:
0
3 [报告]
发表于 2005-04-28 08:10 |只看该作者

vi

不明白里面内容的意思
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP