redhat-list@redhat.com
[Top] [All Lists]

Shell command to retrieve file ownership of a determed file

Subject: Shell command to retrieve file ownership of a determed file
From: Martin Thoma
Date: Thu, 07 Sep 2006 09:36:05 +0200
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" " ...'?

Thanks for a hint.

Cheers Martin

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

<Prev in Thread] Current Thread [Next in Thread>