Linux
From Miscellany
Contents
- 1 CLI Commands
- 2 Tips & Apps
- 2.1 Keep SSH Alive
- 2.2 CSV in Terminal
- 2.3 find last changed config
- 2.4 grep
- 2.5 email alert of disk full
- 2.6 BentoPDF
- 2.7 Gradle Build Tool
- 2.8 CrossPaste
- 2.9 SSH into VirtualBox Guest
- 2.10 Using Cron & Crontab
- 2.11 Reset Lost Root Password
- 2.12 System Install Date
- 2.13 Check Linux System Bios
- 2.14 Home Lab Troubleshooting
- 2.15 Clean $PATH Display
- 2.16 Docker Volumes
- 3 Manjaro Quirks
- 4 DevOps
- 5 Linux eMags, Blogs & Podcasts
- 6 Apps of Interest
CLI Commands
- fzf - allows you to perform interactive or dynamic searches via an interactive interface for effortless navigation and selection from matching options.
- read - take single line input from the keyboard or from the file descriptor and store it in a variable.
- ps ax - the /ax/ option causes all running processes to be listed, not just those in the current terminal session
- Arch Linux Update with
sudo pacman -Syu- See It's FOSS article explanation.
Tips & Apps
Keep SSH Alive
- Linux kills running commands when SSH session ends
- How to keep commands running after logout
CSV in Terminal
- Working with CSV files in the terminal?
- You can make them readable by aligning columns neatly with column:
$ cat inventory.csv | column -t -s
- The -s, flag tells it to use commas as separators, and -t formats the output into a clean table.
find last changed config
- Use this command to see just the config files edited within the past day. The -mtime -1 part means "changed within the last day."
find /etc -type f -mtime -1
grep
- Use the grep command with the -R option for recursive search, combined with multiple --include options to specify file types. This lets you efficiently search for a pattern only in desired file extensions within a directory and its subdirectories.
grep -R --include=*.js --include=*.ts --include=*.jsx --include=*.tsx "pattern" /path/to/dir
email alert of disk full
- read this article from Linux Handbook for how to set up alerts and send email from a Linux server.
BentoPDF
- BentoPDF is a privacy-focused, open-source PDF editing toolkit that works entirely client-side without uploading files to any server. It can be self-hosted using static files or Docker, making it ideal for secure workflows and offline environments.
Gradle Build Tool
- Gradle is an open source build system for Java, Android, and Kotlin developers. It is installed and run using this code once a github repo of a project that includes it is cloned, and you cd into the directory:
./gradlew app:run
CrossPaste
- CrossPaste installed from cloned GitHub repo using Gradle. App is running, but without desktop display. It installed an older version of Gradle (8.13) which uses an older Java SDK than the one installed on my computer.
- So far it is unable to be installed on my Raspberry Pi 5 due to unsatisfied dependencies, and the Android app costs $2.00, which I'm unwilling to pay for an app with undemonstrated benefits. So I'll back-burner this one until it is more developed.
SSH into VirtualBox Guest
Using Cron & Crontab
Reset Lost Root Password
System Install Date
Check Linux System Bios
Home Lab Troubleshooting
Clean $PATH Display
- If you have trouble reading the directories in the $PATH variable, use the tr command to translate colon (":") characters to newline characters ("n") so they can be displayed in lines:
$ echo $PATH | tr ":" "\n"
- from TRÄW on Substack
Docker Volumes
- To create a Docker volume:
docker volume create [name of volume]
- To use a volume, to make data persistent, use these commands:
docker run -it --rm --mount source=[volume name],destination=[directory] [image name]
Manjaro Quirks
Package Management
- Manjaro, being an Arch-derived distro, doesn't use apt, but rather pacman. However, other cross-platform managers like npm or flatpak or snap also work.
DevOps
Free websites to learn DevOps 👇 by @govardhana_mk Learn Linux → linuxjourney Learn Git → githowto Practice Docker → play-with-docker Build CI/CD → docs.github Write Pulumi → pulumi. com/tutorials Launch AWS → aws. amazon Understand Kubernetes → kubebyexample Do Labs → kodekloud. com/free-labs
Linux eMags, Blogs & Podcasts
- DistroWatch
- FSW (Free SoftWare)
- Gaming on Linux
- It's FOSS
- Linux Format defunct
- Linux Gazette
- Linux Handbook
- Linux Journal
- Linux Magazine
- Linux New Media
- Linux Unplugged (podcast)
- LinuxTLDR
- Linux Today
- Linuxiac
- NixCraft
- Reddit Linux
- Virtualization How-to - Home Lab info
- TecMint - sysadmin blog
Apps of Interest
- Crossover 25 - for Windows games on Linux & Mac
- Proton - Windows games on Steam
- Flipper One Handheld Linux device
- Xplorer - a new Web browser for Linux
- Windows-MPC podcast about accessing Windows from Linux/Mac
- Get Started with Docker from the official website
- Docker Docs official wiki
- Debian apps offical distro packages site
- Wikipedia on GNU_Mailman
- Claude Sonnet 4.6 on Ollama
- Configure MariaDB for Django on Debian
- Configure nginx for Mailman