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

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.

Keep AI search visibility, training preferences and assistant access separate. Use a practical policy matrix to check Cloudflare settings and test key public pages.

Let AI draft Black Friday campaigns using approved product data. Check prices and recipients, and secure approval before sending the campaign from Mailchimp.

Make AI meeting notes useful after the call: confirm decisions, agree owners and deadlines, check existing tasks, and verify that work reaches the right tracker.

Before tuning your AI chatbot, check whether your PDFs supply readable text, reliable reading order, usable tables, and passages you can trace to the page.

Bring quote request emails from Outlook into your CRM with AI. Define fields, duplicate checks and sales ownership, then use a pilot to measure whether the solution saves time and helps more enquiries get followed up.

Plan your PHP upgrade around checkout, enquiries and daily operations, with practical checks for compatibility, staging, deployment and rollback before support ends.

Claude Sonnet 4.5 has a tentative November 30 retirement date. Find affected workflows, check compatibility and test a supported replacement before switching.

Before closing an Apache patch ticket, check what is running, which fixes the package contains, and whether the updated service passes configuration and application checks.