Advertisement
v1ral_ITS

terminal easy see any files size and ownership SHELL SCRIPT

Aug 13th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.40 KB | None | 0 0
  1. #!/bin/bash
  2. ####################################
  3. #                    
  4. # START                
  5. # g0ne_@p0stal <v1ral_ITS>        
  6. # ImPerialTeKSolutions@outlook.com
  7. #                  
  8. ####################################
  9. echo "          #              #      "
  10. echo "          ################    ####"
  11. echo "          ################    ####"
  12. echo "          ################     ##"
  13. echo "                         #"
  14. echo "             #################"
  15. echo "          ####################"
  16. echo "          ####################"
  17. echo "          ##             #"
  18. echo "          ##"
  19. echo "            #"
  20. echo "          ####      ## "
  21. echo "          ####    ###### "
  22. echo "          ##     ######## "
  23. echo "          #     ####     #"
  24. echo "          #     ####     #"
  25. echo "          #     ####    ##"
  26. echo "          #    ####    ## "
  27. echo "           ########   ####"
  28. echo "            #####"
  29. echo " v1ral_ITS"
  30. echo " https://pastebin.com/u/v1ral_ITS"
  31. echo " ImPerialTeKSolutions@outlook.com"
  32. sleep 2
  33.  
  34. read its_file < <( echo $* )
  35. read its__size_command < <( ls -la -S -h $its_file | awk '{print $5}' )
  36. read its_owner_command < <( ls -la -S -h $its_file | awk '{print $3}' )
  37.  
  38. clear
  39. echo "-------------------------------------------------------------"
  40. echo File = $*
  41. echo Owner = $its_owner_command
  42. echo Size = $its__size_command
  43. echo "-------------------------------------------------------------"
  44. sleep 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement