topical media & game development
basic-shell-app-a-exercise-05-02.sh / sh
#! /bin/sh
Then, mark the script with execute permissions.
filename ]
then
r="r"
fi
if [ -w filename ]
then
x="x"
fi
# Lock down the file permissions.
chmod u+rwfilename
done
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.