This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
</dev/tcp/ip.add.r/port && echo conn-OK || echo conn-ERR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z $1 ] | |
then | |
echo "type livehosts network [port]" | |
exit -1 | |
fi; | |
if [ -z $2 ] | |
then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set loadplugins | |
set encoding=utf-8 | |
set showmode | |
set ruler | |
set wildmenu | |
set nu | |
set showmatch | |
set mat=2 | |
set backspace=start,indent,eol |