From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078712011549.tru64-unix-managers.marc@archive.invalid> From: "Spalding, Stephen" Date: Tue, 09 Jun 1998 18:28:11 +0000 To: tru64-unix-managers Subject: Permissions on a file X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078712011549 Hi everyone! Does anyone know of a command to use in a shell script which will give the permissions of a file? I know that if I do " ls -l filename|awk '{print $1}' " it will give me the permissions of the file in the form of -rwxr-xr-x which isn't what I need. I was hoping to get the permissions in the form of 755 instead. Thanks! Stephen Spalding Associate System Administrator Missouri Employers Mutual Insurance sspaldin@mem-ins.com 1000 West Nifong Columbia, MO 65203 (573) 499-4230 (800) 442-0590 fax (573) 499 - 4310