Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- which pip || yum -y install python-pip
- which lsof || yum -y install lsof
- which lolcat || pip install lolcat
- tput setaf 1 && tput rev && seq -ws "___|" 73|fold -62|tr "0-9" "_" && tput sgr0
- cat >/tmp/logo<<EOF
- ___________.__ .__ .__
- \_ _____/|__|______ ______ _ _______ | | | |
- | __) | \_ __ \_/ __ \ \/ \/ /\__ \ | | | |
- | \ | || | \/\ ___/\ / / __ \| |_| |__
- \___ / |__||__| \___ >\/\_/ (____ /____/____/
- \/ \/ \/
- EOF
- cat /tmp/logo | lolcat && rm -f /tmp/logo
- lsof -i -nlP | awk '{print $9, $8, $1}' | sed 's/.*://' | sort -un | column -t
- tput setaf 1 && tput rev && seq -ws "___|" 73|fold -62|tr "0-9" "_" && tput sgr0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement