Bash Tip and Tricks

Illustrated infographic summarizing: Bash Tip and Tricks

Check if file or directory exists, multiple ways: https://linuxize.com/post/bash-check-if-file-exists/

Tar: compress a directory

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

Nano settings

Nano is an easy editor for the terminal. Useful options for ~/.nanorc:

set linenumbers
set softwrap
set tabsize 4

Run a process in the background

Add & at the end to detach a process started in the terminal, for example npm run evaluation &, or nohup bash script.bash & so it keeps running after the terminal closes. jobs lists the running jobs for that user; from another shell use htop or ps -ef | grep bash.

References: run a Node.js server in the background, Node.js app as a background service, npm run start in the background.

Recently installed packages on Ubuntu

grep " install " /var/log/dpkg.log

Latest articles

Let’s Encrypt moves to 64-day certificates in February 2027. Check that renewal, validation, deployment and alerts work across the services you’re responsible for.

Website slowing down during campaigns? Find where requests queue across HTTP/2, NGINX, Apache and PHP-FPM, then test whether a targeted change helps.

When a customer requests access to their personal data, AI can help bring together material from WordPress and Microsoft 365. Here’s how to keep track of data sources, responsibilities and checks.

Put supplier matching, duplicate checks, arithmetic validation, and exception review into your AI invoice workflow before records reach your accounting system.

A small Drupal fix can affect unrelated live settings. Review the full configuration import, resolve environment differences and rehearse deployment and recovery.

An ingredient change may mean a menu needs updating, even when the recipe’s modification date stays the same. Here is how AI can help with review and approval in WordPress.

Check whether AI crawlers can reach your service and product content. Compare response HTML with rendered pages, then identify practical CMS and rendering fixes.

Improve site search for customers who use everyday language. See where synonyms, semantic retrieval and behavioural signals help, while keeping product codes reliable.

Follow customer data through n8n, OpenAI and your CRM. Check who can access retained copies, what redaction hides and whether deletion works before scaling.

When checkout fails, your operations provider needs concrete evidence to work with. See how AI, dmesg and journalctl can gather the evidence into a useful incident ticket.