If each lines of the output need to be unique, add -u option.
-u
To display owner of files in folder
ls -l | awk '{print $3}' | sort -u