Re: Shell command to retrieve file ownership of a determed file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux