Apple printer 使用的工具,網路名稱的工具。
有時候Airprint 會使用到他。
如果沒有用到應該可以直接關掉
#/etc/init.d/avahi-daemon stop or service avahi-daemon stop
#chkconfig avahi-daemon off
Apple printer 使用的工具,網路名稱的工具。
有時候Airprint 會使用到他。
如果沒有用到應該可以直接關掉
#/etc/init.d/avahi-daemon stop or service avahi-daemon stop
#chkconfig avahi-daemon off
前言:
因為經常需要讓程式停住來測試運作中的程式是不是只有一個在跑,這時候就需要一個暫停一下的動作來測試。
Shell Script語法:
#! /bin/bash
function
pause
(){
read
-n 1 -p "$*" INP
if
[
$INP
!
= ''
]
;
then
echo
-ne '\b \n'
fi
}
#使用时:
pause '暫停一下'
這是用來測試重覆程式的好幫手。