On Wed, Dec 02, 2009 at 01:19:40PM +0800, Nyoman [D] wrote: > Sorry jawab sendiri.. sudah bisa setelah coba pake -e > > if [ -e /var/run/clamav/clamd ] > > Lengkapnya di > http://www.comptechdoc.org/os/linux/usersguide/linux_ugshellpro.html
Lho pak, ndak usah jauh2 cari ke internet. Search di lokal juga ada lho. Tinggal panggil basman, eh man bash (hehe kok dadi kartolo-an). ... Unless otherwise specified, primaries that operate on files follow sym- bolic links and operate on the target of the link, rather than the link itself. -a file True if file exists. -b file True if file exists and is a block special file. -c file True if file exists and is a character special file. -d file True if file exists and is a directory. -e file True if file exists. -f file True if file exists and is a regular file. -g file True if file exists and is set-group-id. -h file True if file exists and is a symbolic link. -k file True if file exists and its ``sticky'' bit is set. -p file True if file exists and is a named pipe (FIFO). -r file True if file exists and is readable. Itu lah sebabnya mengapa saya "males belajar" linux, soalnya kalau lupa tinggal buka man dan lihat2 contoh script2 yg sdh ada :). -- Terimakasih sebelumnya. Salam, ~~ Arief Yudhawarman ~~ -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id Arsip dan info milis selengkapnya di http://linux.or.id/milis