hi John Yes, that is what I was looking for. Thanks a lot. --Rams inode0 <inode0@xxxxxxxxx> 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@xxxxxxxxxx?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. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list