?? xntp
字號:
#!/bin/shkillproc() { # kill named processes pid=`/usr/bin/ps -e | /usr/bin/grep $1 | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` [ "$pid" != "" ] && kill $pid}case "$1" in'start') ps -e | grep xntpd > /dev/null 2>&1 if [ $? -eq 0 ] then echo "ntp daemon already running. ntp start aborted" exit 0 fi if [ -f /etc/inet/ntp.conf -a -x /usr/sbin/xntpd ] then /usr/sbin/xntpd -c /etc/inet/ntp.conf fi ;;'stop') killproc xntpd ;;*) echo "Usage: /etc/init.d/xntp { start | stop }" ;;esac
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -