Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. [ -f ~/.profile ] || touch ~/.profile
  2. [ ! "$( grep 'function qis ()' ~/.profile )" ] && (
  3.      cat <<EOF>> ~/.profile
  4. function qis () {
  5.   whois -H $1 | egrep 'No\ match|^Domain\ Name'
  6. }
  7. EOF
  8. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement