我试图执行以下命令:
ls -ltr | awk 'BEGIN { print "File\t\t\tOwner"} { print $9,"\t",$3} END {print "-DONE \n"}'
并关注o / p
File Owner
inventory-shipped root
BBB_list root
marks root
test_file root
awkvars.out root
1 root
t12 root
-DONE
我如何获得
File Owner
inventory-shipped root
BBB_list root
marks root
test_file root
awkvars.out root
1 root
t12 root
-DONE