in reply to how to know the owner of the file in unix

In addition to the stat function suggested by Roger above, you could also be interested in the getpwuid function to translate the uid into the associated info (e.g. the login name of the user).

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.
  • Comment on Re: how to know the owner of the file in unix