tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Permissions on a file
@ 1998-06-09 18:28 Spalding, Stephen
  0 siblings, 0 replies; only message in thread
From: Spalding, Stephen @ 1998-06-09 18:28 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-09 18:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-09 18:28 Permissions on a file Spalding, Stephen

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