Guest User

Untitled

a guest
Feb 24th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ls -l | awk '{if(-f $9) { total +=$5 } }; END { print total }
  2.  
  3. find . -maxdepth 1 -type f -printf "%sn" | awk '{sum+=$1} END{print sum}'
  4.  
  5. wc -c * 2> /dev/null
  6.  
  7. wc -c * 2> /dev/null | tail -1
  8.  
  9. find . -maxdepth 1 -type f -exec ls -ltr {} ;| awk 'BEGIN{sum=0} {sum=sum + $5} END {print sum}'
Add Comment
Please, Sign In to add comment