Hack and / - Lightning Hacks—the Command Next Door
The problem with powerful server hardware is that it always takes a little time to reboot. Often when I have to reboot a server, I want to know the moment it comes back up, because I want to log back in and finish some work. Usually when I reboot a machine, I start a ping process, so I can watch to see when it is available. The problem is that servers seem to take just long enough to come back up that I end up getting distracted in another window on my desktop and don't see the ping replies. My solution to this is to make ping audible:
$ ping -a 10.0.1.7
When you pass the -a command to ping, it generates an audible bell for every ping reply. I get to hear a few system beeps as the server goes down, and then I hear only silence. If I do become distracted and the server comes back, I immediately start hearing this annoying system beep in my ear and know the server is ready.
Kyle Rankin is a Systems Architect in the San Francisco Bay Area and the author of a number of books, including The Official Ubuntu Server Book, Knoppix Hacks and Ubuntu Hacks. He is currently the president of the North Bay Linux Users' Group.
Kyle Rankin is a director of engineering operations in the San Francisco Bay Area, the author of a number of books including DevOps Troubleshooting and The Official Ubuntu Server Book, and is a columnist for Linux Journal.
Free DevOps eBooks, Videos, and more!
Regardless of where you are in your DevOps process, Linux Journal can help!
We offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, and advice & help from the expert sources like:
- Linux Journal
- New Products
- Flexible Access Control with Squid Proxy
- Users, Permissions and Multitenant Sites
- Security in Three Ds: Detect, Decide and Deny
- High-Availability Storage with HA-LVM
- Tighten Up SSH
- DevOps: Everything You Need to Know
- Solving ODEs on Linux
- Non-Linux FOSS: MenuMeters
- diff -u: What's New in Kernel Development