I am trying to write a tiny script that accepts any number of command line arguments that prints out the `rwx` permissions for a file (not directory)

What I have is 

```
file=$@    
if [ -f $file ] ; then    
ls -l $file    
fi

```

This accepts only one command line argument however. Thanks for any help.