On 7/19/06, Tech Rams <techmailing at yahoo.com> 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