Hi, <varname> = `ls -l <filename> | cut -d" " -f1` should do the above... HTH ... Narain. On Wed, 10 May 2000, Harpreet Singh (RBIN/DCA-NMP) wrote: Is there a shell command which will return the permissions of a file.......to say a variable.....