Advertisement
Dakpluto

program3.sh

Apr 13th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. clear
  4. echo Current PATH:
  5. echo $PATH
  6. echo 'Continue in 5 seconds'
  7. sleep 5
  8.  
  9. echo 'FIU IP Address(es):'
  10. dig +short fiu.edu
  11. echo 'Continue in 5 seconds'
  12. sleep 5
  13.  
  14. echo Showing Active Connections
  15. netstat -a | grep CONNECTED
  16. echo 'Continue in 5 seconds'
  17. sleep 5
  18.  
  19. echo routers to Google.com
  20. tracepath google.com
  21. echo 'Continue in 5 seconds'
  22. sleep 5
  23.  
  24. echo Your current IP:
  25. ifconfig | awk '/inet addr/{print substr($2,6)}'
  26. echo 'Continue in 5 seconds'
  27. sleep 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement