1 2 3 4 5 6
local Num RefCount Protocol Flags Type St Inode Path while read Num RefCount Protocol Flags Type St Inode Path; do [[ $Path == $1 ]] && return 0 done </proc/net/unix return 1 # vim: ft=zsh noet ts=4 sts=4 sw=4