DEV Community

Terminal tutorials, tested in a container Series' Articles

Back to ShellProven's Series
Find files changed in the last 24 hours (and the -mtime +1 trap)

Find files changed in the last 24 hours (and the -mtime +1 trap)

Comments
5 min read
Search a whole project with grep -r, without node_modules, .git or binary junk

Search a whole project with grep -r, without node_modules, .git or binary junk

Comments 1
4 min read
Undo anything in Git: restore vs reset vs revert (live demos)

Undo anything in Git: restore vs reset vs revert (live demos)

Comments
5 min read
Linux file permissions: read ls -l, fix "Permission denied", and never chmod 777

Linux file permissions: read ls -l, fix "Permission denied", and never chmod 777

Comments
5 min read
SQLite in the terminal: query a CSV file in 5 minutes (and the text-number trap)

SQLite in the terminal: query a CSV file in 5 minutes (and the text-number trap)

Comments
5 min read
Bash redirection explained: >, >>, 2>, 2>&1 and | (and why the order matters)

Bash redirection explained: >, >>, 2>, 2>&1 and | (and why the order matters)

Comments
4 min read
Disk full? Find what's eating your space with df, du and sort (Linux)

Disk full? Find what's eating your space with df, du and sort (Linux)

Comments
4 min read
SSH keys from scratch: generate, install, shortcut with ~/.ssh/config, turn off passwords

SSH keys from scratch: generate, install, shortcut with ~/.ssh/config, turn off passwords

Comments
5 min read
Cron job not running? It works in the terminal, here's why it fails in cron

Cron job not running? It works in the terminal, here's why it fails in cron

Comments
4 min read
awk for people who hate awk: 8 one-liners that answer real questions about a log

awk for people who hate awk: 8 one-liners that answer real questions about a log

Comments
5 min read
tar and gzip without the usual mistakes: back up a folder, skip the junk, verify the archive

tar and gzip without the usual mistakes: back up a folder, skip the junk, verify the archive

Comments
5 min read
rsync instead of cp: copy only what changed, dry-run first, and the trailing-slash trap

rsync instead of cp: copy only what changed, dry-run first, and the trailing-slash trap

Comments
4 min read