Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Use ping in script (linux, bash)
tolikpunkoff
Oct 5th, 2022
1,462
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
#testping
# $1 - IP or URL address
ping
$1
-c
3
>/
dev
/
null
2
>/
dev
/
null
if
[
$?
-eq
0
]
;
then
echo
"Pinging!"
else
echo
"Not pinging!"
fi
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Make $1500 in 20 minutes
JavaScript | 3 sec ago | 0.26 KB
✅ Exploit 500$ in 15 Minutes
JavaScript | 7 sec ago | 0.26 KB
⭐⭐⭐if you really want more bring up the fire⭐...
Java | 9 sec ago | 0.06 KB
⭐Crypto Exchange Profit Method⭐
JavaScript | 11 sec ago | 0.26 KB
⭐ Free ETH Method ⭐
JavaScript | 16 sec ago | 0.26 KB
⭐⭐⭐Make $1500 in 20 minutes⭐⭐⭐
Java | 17 sec ago | 0.06 KB
⭐⭐⭐Instant Profit Method⭐⭐⭐
Java | 20 sec ago | 0.06 KB
ChangeNOW Exploit
JavaScript | 20 sec ago | 0.26 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!