20 useful Bash scripting tricks

keep-calm-and-bin-bash

We cannot count a Bash as a high-level programming language. Bash scripts don’t perform complicated calculations, hardware access and so on. But we can use it for Linux systems management and orchestration. We’re able to automate routine tasks, wrap CLI applications and just make some fun.

Continue reading

Advertisements

Cheatsheet: database shell commands

In first steps young DBA can greedily soak up all kinds of database knowledges: as RDBMS as NoSQL. We’re realising things like how table index works, how to optimize memory caching, write triggers and procedurs etc.. But we still can forget a simple command to create user or show tables list. Also we can get stuck when switching from MySQL to PostgreSQL or whatever else, cause command syntax is different.

Continue reading