Shell command to retrieve file ownership of a determed file
Karl Latiss
karl.latiss at atvert.com.au
Thu Sep 7 09:31:27 UTC 2006
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
--
Karl Latiss <karl.latiss at atvert.com.au>
Atvert Systems
More information about the redhat-list
mailing list