Question #283839

what is the ls option to print out only the author of a file name?


Expert's answer

Print author of the file use --author:

ls -l --author

To print ONLY author use this command:

ls -l --author | awk '{ print $3}'

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS