Advertisement
v1ral_ITS

easy file size and ownership show terminal shell script

Aug 13th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.36 KB | None | 0 0
  1. #!/bin/bash
  2. ####################################
  3. #                    
  4. # START                
  5. # g0ne_@p0stal <v1ral_ITS>        
  6. # ImPerialTeKSolutions@outlook.com
  7. #                  
  8. ####################################
  9. clear
  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 "            #####"
  30. echo " v1ral_ITS"
  31. echo " https://pastebin.com/u/v1ral_ITS"
  32. echo " ImPerialTeKSolutions@outlook.com"
  33. sleep 2
  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. echo "-------------------------------------------------------------"
  38. echo File = $*
  39. echo Owner = $its_owner_command
  40. echo Size = $its__size_command
  41. echo "-------------------------------------------------------------"
  42. sleep 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement