For example:
stat -c %U file
man stat for the details. Or, if you don't have stat:
ls -l file | awk '{print $3}'
--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.