[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: file "[" in /usr/bin???



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
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: