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 tail—a log tool—in a Bash script on a Debian VPS—script:
#!/bin/bash\ntail -n 100 /var/log/nginx/access.log > nginx_access.log
On Linode run:
./access.sh
—expect recent entries Monitors hosting traffic

Back to All Tips