Answer to Question #283839 in UNIX/Linux Programming for nat

Question #283839

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


1
Expert's answer
2021-12-30T15:17:24-0500

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS