check owner of file linux code example Example: check owner of process id linux ps -o user= -p PIDHERE