For interpreting system rc scripts, a shell is most commonly used.
Please enter the first line found in such scripts. Answer:
_________________
首先明白什么是rc script ,系统启动脚本,记得/etc/rc.*吗?
# ls rc
rc rc1.d/ rc3.d/ rc5.d/ rc.d/ rc.sysinit
rc0.d/ rc2.d/ rc4.d/ rc6.d/ rc.local
这些脚本里面用的什么shell呢?
# cat K01smartd
#! /bin/sh
也有一些使用的 #!/bin/bash
#cat rc.sysinit
公布答案【#!/bin/sh】