Re: File's octal permissions

From: Bill Marcum (bmarcum_at_iglou.com)
Date: 07/29/03


Date: Mon, 28 Jul 2003 21:32:31 -0400

On 28 Jul 2003 06:54:02 -0700, Hari
  <harry_mk@hotmail.com> wrote:
> Is there a way to get a file's octal permissions from within a
> shell script, under DU/UX UNIX?
>
> Thanks in advance

Use the stat command if you have it, otherwise use a script to convert
the permissions from 'ls -l' to octal.

-- 
Lazlo's Chinese Relativity Axiom:
	No matter how great your triumphs or how tragic your defeats --
	approximately one billion Chinese couldn't care less.