The option for the ls
command that prints the author of a file is
--author
. It is used together with the -l
option for a long listing
format. The full command would be:
ls -l --author
This prints the author of each file along with other file details in a long listing format.