Shell command to retrieve file ownership of a determed file
Martin Thoma
mthoma at schlagundrahm.ch
Thu Sep 7 09:37:07 UTC 2006
Karl Latiss wrote:
> On Thu, 2006-09-07 at 09:36 +0200, Martin Thoma wrote:
>
>> Hi
>>
>> I am writing a shell script that is verifies ownership and the file
>> access permissions of selected files. Is there a tool that allows me to
>> retrieve the uid,gid and mode directly instead of 'ls -l | grep
>> <filename> | cut -d" " ...'?
>>
>
> man stat
>
>
Wow, that is what I was looking for :-) thanks
More information about the redhat-list
mailing list