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
January 6-10, 1997
USENIX 1997 TECHNICAL CONFERENCE
Anaheim, California, Marriott Hotel
USELINUX
Linux Applications Development & Deployment Conference
Co-located with USENIX 1997 Technical Conference
Co-sponsored by Linux International
Attendees may pay one fee and attend both conferences.
Th
2 matches
Mail list logo