Hi Everyone,
I need your assistance to write this script.
The script should take an argument of a file. The script should be able to determine what permissions the owner, group and everybody has of the file passed in. The ouput should br displayed similar to this.
READ WRITE EXEXCUTE
OWNER YES YES NO
GROUP YES NO NO
EVERYBODY NO NO NO.
I need your help.
yy3.
What I have been able to do is as follows:
echo -n ''Enter filename''
read file
[ -r $owner ] && R=''YES'' | | R=''Read = NO''
I don't know how to proceed if am right.