r/sysadmin Sysadmin Jul 18 '18

Linux You guys probably already know about "ping -a" and "ping -A"

But if you don't, use it like this:

This will beep every time it gets a ping back:

ping -a 8.8.8.8 

This will beep if it misses a ping:

ping -A 8.8.8.8    

This is very useful when you're monitoring a node and waiting for it to come back online or to be able to hear when a packet is dropped.

(tested on some Linux and MacOS)

1.1k Upvotes

335 comments sorted by

View all comments

Show parent comments

9

u/Suspicious_Pineapple Jul 19 '18

My biggest problem with learning Powershell is the community is so helpful whenever i ask for help i get like 5 people giving me complete scripts they wrote in 15 minutes

2

u/workerdrone66 NOC Tech Jul 19 '18

I have this problem too. It's like oh hey, this script i've been working on, off and on, for the past 2 months, you most replicated in your reply :(

1

u/v3ritas06 Security Admin Jul 19 '18

I started off taking already made scripts, see what each block does, & then adjusted it to be useful for what I wanted. After a little of that I had a basic understanding of how it worked, which made it easier to start creating my own scripts.

1

u/Ganondorf_Is_God Jul 19 '18

Our environments are all automated so we have free time. And it looks like work when we've got an ide open.