Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Bash

Use who—a user tool—in a Bash script on a Debian VPS—script:
#!/bin/bash\nwho -b > uptime.log
On Linode run:
./uptime.sh
—expect boot time Tracks hosting uptime

Back to All Tips