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

Build a refund approval workflow in n8n and Stripe that shows reviewers the exact action, expires old approvals and tracks refunds through to completion.

A timeout can hide a successful job creation. Use stable operation IDs, destination API rules and a clear recovery process to prevent duplicate work.

Does your ChatGPT subscription cover website translation? Understand API credits, access and a WordPress workflow that turns approved Danish content into translation drafts.

An internal AI can keep quoting a deleted policy. Check document updates, indexed passages and cached answers to find where outdated guidance survives.

Codex drew all ten pages of my Ninjai comic from the script Claude wrote in the first test. What made that handover work, and what it cost.

ChatGPT delivered ten painted comic pages; Claude drew one page in code. A practical look at AI tool selection, creative briefs and approval decisions.

Get missing supporting documents under control with a clearly scoped AI workflow that sorts replies, coordinates reminders and gives the bookkeeper a clear follow-up list.

Know what dmesg and journalctl can tell you after a reboot, how to find previous-boot logs, and how to check that retention covers your investigation window.

Check how your chatbot identifies itself as AI, where requests for human help actually go, and what customers encounter when support is unavailable.

Start with one website change on board.nowa.dk. Write a clear task, answer questions as they arise and review the result before giving an AI agent more work.