Re: File's octal permissions
From: Bill Marcum (bmarcum_at_iglou.com)
Date: 07/29/03
- Next message: Eric Smith: "Re: setting file ownership and mode based on current directory"
- Previous message: Bit Twister: "Re: How to subscribe to this news group?"
- In reply to: Hari: "File's octal permissions"
- Next in thread: Jeremiah DeWitt Weiner: "Re: File's octal permissions"
- Reply: Jeremiah DeWitt Weiner: "Re: File's octal permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Eric Smith: "Re: setting file ownership and mode based on current directory"
- Previous message: Bit Twister: "Re: How to subscribe to this news group?"
- In reply to: Hari: "File's octal permissions"
- Next in thread: Jeremiah DeWitt Weiner: "Re: File's octal permissions"
- Reply: Jeremiah DeWitt Weiner: "Re: File's octal permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]