Read "man test". It implements the following construct in shell scripts:

        if [ -f /etc/motd ]; then
                echo motd exists, and is a regular file.
        fi

 Bruce

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to