tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Spalding, Stephen" <SSpaldin () mem-ins ! com>
To: tru64-unix-managers
Subject: Permissions on a file
Date: Tue, 09 Jun 1998 18:28:11 +0000	[thread overview]
Message-ID: <96078712011549.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1998-06-09 18:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox