Owner of a directory

Tech Rams techmailing at yahoo.com
Thu Jul 20 00:04:49 UTC 2006


hi John
  Yes, that is what I was looking for. Thanks a lot.

--Rams

inode0 <inode0 at gmail.com> wrote: On 7/19/06, Tech Rams  wrote:
> hi
>     I am looking for a way to know the owner of a directory/file. There is the
>     obvious way of parsing the output of ls, but did not find much beyond that.
>     Is there a better way (that works inside of a shell script)?

stat --format=%U filename

perhaps?

John

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


 		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.


More information about the redhat-list mailing list