Originally Posted by till
You might want to take a look here first:
If you wrote your execise script then and some parts of it wont work and you are unable to find the problem yourself, then post your script.
this is my code
echo " Command line argument is :" $1
if [ -d $1 ]
echo " The number of files in the directory is ` ls -l | wc -l` "
echo " It is not a dirctory "
if [ -f $1 ]
echo " The execute permission for the file owner is ` ls -l $1`"
echo " There is no execute permission "
the code might be wrong !!
the time for submission is up !