Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
New Bash Snippet Additions Series' Articles
Back to Anguishe's Series
I Lost a Client's Database on a $5 VPS. Here's the 12-Line Script That Would Have Saved It.
Anguishe
Anguishe
Anguishe
Follow
May 20
I Lost a Client's Database on a $5 VPS. Here's the 12-Line Script That Would Have Saved It.
#
bash
#
linux
#
mysql
#
devops
5
reactions
Comments
2
comments
3 min read
My Nginx Died at 2 AM and Nobody Noticed for 6 Hours. Now I Have a Watchdog Script.
Anguishe
Anguishe
Anguishe
Follow
May 21
My Nginx Died at 2 AM and Nobody Noticed for 6 Hours. Now I Have a Watchdog Script.
#
bash
#
linux
#
devops
#
productivity
Comments
Add Comment
4 min read
Your Server Is at 97% CPU Right Now. Would You Know?
Anguishe
Anguishe
Anguishe
Follow
May 22
Your Server Is at 97% CPU Right Now. Would You Know?
#
bash
#
linux
#
sysadmin
#
monitoring
Comments
Add Comment
4 min read
The Simplest Automated Backup That Actually Works (6 Lines of Bash)
Anguishe
Anguishe
Anguishe
Follow
May 26
The Simplest Automated Backup That Actually Works (6 Lines of Bash)
#
bash
#
linux
#
automation
#
beginners
Comments
Add Comment
6 min read
I Alias This One-Liner to 'mktoday' and Use It Every Single Week
Anguishe
Anguishe
Anguishe
Follow
May 28
I Alias This One-Liner to 'mktoday' and Use It Every Single Week
#
bash
#
linux
#
productivity
#
beginners
Comments
Add Comment
3 min read
I Aliased 'syscheck' to 7 Lines of Bash and Now I Run It on Every Server I SSH Into
Anguishe
Anguishe
Anguishe
Follow
Jun 1
I Aliased 'syscheck' to 7 Lines of Bash and Now I Run It on Every Server I SSH Into
#
bash
#
linux
#
sysadmin
#
beginners
Comments
Add Comment
3 min read
set -euo pipefail — the Line That Would Have Saved Me from Deleting the Wrong Directory
Anguishe
Anguishe
Anguishe
Follow
Jun 3
set -euo pipefail — the Line That Would Have Saved Me from Deleting the Wrong Directory
#
bash
#
linux
#
productivity
#
webdev
Comments
Add Comment
3 min read
certbot had been auto-renewing my certs for two years. Until it wasn't.
Anguishe
Anguishe
Anguishe
Follow
Jun 7
certbot had been auto-renewing my certs for two years. Until it wasn't.
#
bash
#
linux
#
webdev
#
security
Comments
Add Comment
5 min read
I was handed a server with no docs and no idea what it was listening on. One command fixed that.
Anguishe
Anguishe
Anguishe
Follow
Jun 9
I was handed a server with no docs and no idea what it was listening on. One command fixed that.
#
bash
#
linux
#
security
#
sysadmin
Comments
Add Comment
6 min read
The Pipeline Was Green for Three Weeks. It Had Been Shipping a Build That Never Compiled.
Anguishe
Anguishe
Anguishe
Follow
Jun 12
The Pipeline Was Green for Three Weeks. It Had Been Shipping a Build That Never Compiled.
#
bash
#
devops
#
cicd
#
docker
Comments
Add Comment
4 min read
A for Loop Skipped 23 Files and Called It a Successful Backup
Anguishe
Anguishe
Anguishe
Follow
Jun 14
A for Loop Skipped 23 Files and Called It a Successful Backup
#
bash
#
linux
#
devops
#
sysadmin
Comments
Add Comment
3 min read
A For Loop Skipped Every File With a Space and Called the Backup a Success
Anguishe
Anguishe
Anguishe
Follow
Jun 18
A For Loop Skipped Every File With a Space and Called the Backup a Success
#
bash
#
linux
#
sysadmin
#
devops
Comments
Add Comment
6 min read
The Alert Never Fired Because the Loop Skipped the Last Line of the File
Anguishe
Anguishe
Anguishe
Follow
Jun 19
The Alert Never Fired Because the Loop Skipped the Last Line of the File
#
bash
#
linux
#
sysadmin
#
devops
Comments
Add Comment
6 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account