⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rcscripts.ksh

📁 Solaris环境下Shell编程编程
💻 KSH
字号:
#!/bin/ksh # Purpose: This script will list all the start scripts in the /etc/rc3.d#          directory. Additionally it will report the inode number for each#          script, and then list all files under /etc with the same inode #          number.## Scriptname: rcscripts.kshif [ $# -ne 0 ]; then	echo "Usage: rcscripts.ksh "	exit 1fifor sscript in /etc/rc3.d/S*do	print "The script name is $sscript"	print -n "The inode number is "	inode=`ls -i $sscript | nawk '{print $1}'`	print "$inode \n"	print "The other files under /etc with the same inode number are: "	find /etc -inum $inode    	print "\n\n"doneecho "Finished"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -