Friday, June 6, 2008

Test Operator Usage



Example
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup <== This check for Exec permision
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources <== this will check exists and a file

No comments: