tips
114 topics for 3,578 tips
Every subject the tips cover, with its newest tips. Pick one to see all of them, or search for a command or a tool.
- Linux261
- a2query -m rewrite tells you if an Apache module is switched on
- renice -n 10 -p PID makes a running process less greedy
- Docker192
- ONBUILD in a Dockerfile runs steps when someone builds on your image
- The SHELL instruction changes which shell RUN uses in a Dockerfile
- Network and access163
- scp -3 copies between two remote hosts through your own machine
- tailscale exit-node suggest picks a recommended exit node
- Git144
- git show-branch shows which commits sit on which branch
- git log --stat shows which files each commit touched
- Tmux125
- tmux new -d -x 200 -y 50 gives a detached session a real size
- tmux wait-for blocks a script until another pane sends a signal
- Terminal116
- ioreg prints your MacBook battery cycle count in the terminal
- Terminal can save your windows and tabs as a window group
- Python107
- Python's asyncio.timeout puts a time limit on a block of awaits
- Python's StrEnum makes enum members behave like plain strings
- macOS99
- Hover Text shows a big copy of any text when you hold Command
- A Smart Folder in Notes collects notes by tag, checklist or date
- Systemd88
- TimeoutStopSec= decides how long systemd waits before it kills a service
- /etc/systemd/system/service.d/ gives every service the same setting
- WordPress85
- wp user application-password create gives a WordPress REST client its own key
- MEDIA_TRASH gives the WordPress media library a trash bin
- Claude83
- /recap tells you where you left off in a Claude Code session
- /focus hides the tool noise and shows only the answer in Claude Code
- Journalctl81
- journalctl -k -g finds which process the OOM killer took
- journalctl _PID=1 shows only what systemd itself said
- Security79
- tcpdump -r reads a saved capture and filters it like a live one
- mkcert makes a local certificate your browser trusts without warnings
- Shell78
- zmv -n previews a bulk rename in zsh before it touches a file
- zoxide query -ls shows which folders your shell thinks you use most
- Unraid77
- Change the RAID profile of a Unraid BTRFS pool with Balance
- Replace a disk in a redundant Unraid pool from the Main tab
- Curl71
- curl --trace-ascii dumps all sent and received data as readable text
- Retry-After tells clients how long to wait, and curl --retry obeys it
- Web-Development67
- ab -n -c gives a quick load test of a web page
- Console.assert() only logs when your condition is false
- Css66
- CSS Overview in Chrome DevTools audits the colors and fonts of a page
- CSS :empty hides elements that have no content
- Arr-suite56
- Set Sonarr's Multi-Episode Style to Scene for double episodes
- Set Minimum Seeders in a Prowlarr Sync Profile instead of in every app
- Database53
- The one-database option of mariadb restores a single database from a full dump
- A mariadb-dump with INSERT IGNORE and no CREATE merges rows into a live database table
- Bash52
- {01..10..2} in bash counts with zero padding and a step
- In bash, 2>&1 only follows where stdout points at that moment
- Nginx50
- Certbot --nginx gets a certificate and wires it into your server block
- Server_redirect.conf adds nginx lines to every redirection host in Nginx Proxy Manager
- CLI46
- Hexdump -C shows a file as hex bytes next to readable text
- hexdump -s and -n look at just a slice of a big file
- Find46
- find -fstype matches files by the type of filesystem they live on
- find ! -exec gzip -t lists the archives that are broken
- Backup45
- restic snapshots --group-by sorts snapshots per host and path
- mysqldump --routines --events keeps stored code in your backup
- Vim45
- Ctrl-r Ctrl-w in the Vim command line types the word under the cursor
- :%s//new/g in Vim replaces whatever you searched for last
- Disk44
- e2freefrag shows how chopped up the free space on an ext4 disk is
- Smartctl --json turns disk health into data a script can read
- Apt42
- apt-mark minimize-manual marks metapackage dependencies as automatic
- apt purge '~c' removes the config leftovers of packages you already removed
- Javascript40
- node --inspect-brk pauses a Node script on its first line
- JavaScript ?. stops a chain at null or undefined instead of throwing
- Ffmpeg38
- ffmpeg -stream_loop repeats a clip without re-encoding
- ffmpeg fade and afade add a fade in and fade out
- Finder37
- Option-Command-Y starts a Quick Look slideshow in Finder
- Quick Actions in the Finder preview pane rotate images and make PDFs
- Dig36
- dig DS shows the key the parent zone expects you to sign with
- dig status and the SOA line tell NXDOMAIN and empty answers apart
- Openssl34
- openssl s_client -servername shows which certificate a shared IP serves
- openssl x509 -signkey renews a self-signed certificate with the same key
- Windows33
- Win+Ctrl+C flips Windows color filters on and off
- Win+Shift+Arrow moves the active window to another monitor
- Ufw32
- Ufw app update --add-new loads a changed app profile into the firewall
- Ufw show raw prints the complete firewall as iptables rules
- Cron32
- At runs a job once, where cron would repeat it
- Cron has no last day of the month, but a date check gives you one
- Permissions30
- su -s /bin/bash www-data tests permissions as a user that has no login shell
- Setfacl -d sets default permissions that every new file in a folder inherits
- Portainer28
- Choose Polling in a Portainer GitOps update when your Git host can't reach Portainer
- Put Portainer environments in groups and give users access to a whole group
- Sqlite27
- SQLite unixepoch() turns any date string into Unix seconds
- SQLite iif() is a short CASE expression with several branches
- Postgresql24
- Pg_settings.pending_restart lists PostgreSQL changes that still need a restart
- Pg_hba_file_rules shows PostgreSQL login rules and the line that is broken
- Cache24
- fincore shows how much of a file sits in the page cache
- npm cache verify checks and tidies npm's download cache
- Devtools22See all 22 tips
- Apple21
- Pause Rings keeps your Activity streak alive on a rest day
- A Focus filter changes what your apps show while a Focus is on
- Troubleshooting21
- Get-NetTCPConnection -State Listen shows which ports your PC is listening on
- modinfo -p lists the options a Linux kernel module accepts
- Netplan21
- Netplan routing-policy sends replies out the interface they came in on
- Connect to a hidden Wi-Fi network with hidden: true in netplan
- Iphone20
- Live Speech makes your iPhone say what you type
- Per-App Settings give one iPhone app its own text size and motion
- Jq20
- jq @sh quotes values so the shell can use them safely
- jq limit(n; stream) stops after n results instead of reading everything
- Smart19
- Nvme smart-log shows how worn out your NVMe drive is
- Smartctl returns a bitmask, so a script can read smart trouble from $?
- Awk17
- Awk gsub() replaces every match in a line or in a single field
- awk can split one file into several, named after a column
- Watch17
- Turn on Fall Detection on your watch, or limit it to workouts
- Set a Noise Threshold so your watch warns you about loud places
- Files15
- sha256sum -c --ignore-missing checks only the files you actually downloaded
- xxhsum is a very fast checksum for spotting changed files, not for security
- Mariadb15
- MariaDB INVISIBLE columns stay out of SELECT * and plain INSERTs
- MariaDB CREATE SEQUENCE gives you numbers without AUTO_INCREMENT
- Rclone14
- rclone copyurl downloads a URL straight to a remote
- rclone size tells you how much a remote folder holds
- Snap14
- snap can list the updates that are waiting before it installs them
- Snap save makes a snapshot of a snap's data before you try something risky
- Html14
- An HTML import map lets your scripts import a library by a short name
- HTML video needs muted and playsinline to autoplay nicely on phones
- Parity14
- Never run a filesystem repair tool on a parity drive
- Write down which serial is your parity drive while all is well
- Tools14
- shuf picks random lines from a list or numbers from a range
- xmllint makes a wall of XML readable and checks that it parses
- Spotlight14
- mdimport asks Spotlight to index one folder again, and shows what it reads
- Command-1 and Command-2 limit Spotlight to apps or to files
- Nextcloud13
- Occ user:report counts your Nextcloud users per backend
- Occ app:update --showonly lists Nextcloud app updates without installing them
- Nmap12
- nmap --packet-trace prints every packet Nmap sends and receives
- nmap -oG writes one line per host that grep can search
- Diff12
- diff -r -x skips folders and files you don't care about
- diff -y shows two files side by side in the terminal
- Xargs12
- Xargs --process-slot-var gives every parallel job a worker number
- Xargs -o lets an interactive program like vim work from a pipe
- Memory12
- lsmem --summary shows how much memory the kernel sees
- VmSwap in /proc shows which processes have memory in swap
- Safari12
- ICloud Private Relay hides your IP address and browsing from the websites in Safari
- Pin a tab in Safari to keep a site small and always there
- Chrome12
- Chrome://net-export records a network log of everything Chrome does
- Start Chrome with its own user data folder for a clean test profile
- Search11
- SearXNG !! jumps straight to the first result or an external search
- zipgrep searches the text inside a zip without unpacking it
- Home Assistant11
- Let Home Assistant accept your reverse proxy under trusted proxies
- Home Assistant can ban an address after repeated failed logins
- Yaml10
- yamllint -f parsable prints one line per problem for scripts and editors
- yamllint -d relaxed keeps the style nagging down on an existing file
- Firefox10
- Link to a specific line in Firefox's view-source
- Type ^, * or % in the Firefox address bar to search only history, bookmarks or tabs
- Scripting10
- Difflib.unified_diff shows what a script changed in a config file
- Invoke-RestMethod turns a JSON API answer into PowerShell objects
- Config9
- include in config.txt splits your Raspberry Pi settings over several files
- An .editorconfig file keeps indentation the same in every editor
- Logs9
- Olddir in logrotate moves rotated logs into a folder of their own
- sort -m merges several logs into one timeline
- Performance9
- EXPLAIN (SETTINGS) lists the planner settings that differ from the defaults
- Hyperfine compares the performance of two commands properly
- Json9
- Jq fromjson opens JSON that was stored inside a string
- One empty filter checks that a JSON file parses
- Mac9
- Start your Mac in safe mode to rule out add-ons
- Run Apple Diagnostics when you suspect your Mac's hardware
- Systemctl9
- Systemctl daemon-reload comes after every unit file you edit by hand
- systemctl list-units can show only what is running right now
- Pip9
- Pip install -c caps versions without installing anything extra
- Pip download collects wheels so you can install without internet
- Hardware8
- Disable_poe_fan=1 skips an I2C probe at Raspberry Pi startup
- Dmidecode -s prints one hardware value, like the BIOS version
- Mysql8
- MySQL FOR UPDATE SKIP LOCKED lets workers grab different rows
- mysql_config_editor saves login details under a login path
- iOS8
- Screen Unknown Senders in Messages on iOS 26
- Touch and hold the Screen Recording button to record with the microphone
- Shortcuts8
- Set keyboard shortcuts for browser extensions on one Chrome page
- Show Same Keybindings finds clashing keyboard shortcuts in VS Code
- Ubuntu8
- ppa-purge takes an Ubuntu system back to the official packages
- Prompt= decides which new Ubuntu releases you get offered
- Commit7
- A commit-msg hook can refuse commits whose message breaks your rules
- -C reuses an old commit message, author and date included
- Productivity7
- Win+number opens the taskbar app in that position
- Win+Z opens the snap layouts for the window you are in
- Privacy7
- Pihole-FTL --config misc.privacylevel hides what Pi-hole shows
- Mail Privacy Protection hides when you open an email, a quiet privacy win
- Immich7
- immich upload --skip-hash trades the local hash check for speed
- immich-admin enable-password-login rescues you when Immich OAuth breaks
- Unattended-Upgrades7
- unattended-upgrades can skip chosen packages with Package-Blacklist
- unattended-upgrades updates a third party repository with Origins-Pattern
- Wp-Config7
- FS_METHOD in wp-config stops the surprise FTP prompt on updates
- WP_TEMP_DIR in wp-config fixes uploads that fail on a temp folder
- Sed6
- sed -n '$=' prints how many lines a file has
- Sed \U and \L change the case of the text you just matched
- Macbook6
- Stop your MacBook from starting up when you open the lid
- Check Battery Health on your MacBook before you replace anything
- Clipboard6
- xclip puts command output on the Linux clipboard
- wl-copy is the clipboard command for a Wayland desktop
- Filesystems6
- Fsfreeze holds back writes on filesystems while you take a snapshot
- filefrag shows how fragmented a file is on Linux filesystems
- Web6
- The Web Crypto API makes a SHA-256 hash right in the browser
- URL.createObjectURL previews a chosen photo before any web upload
- Tail5
- tail -c works in bytes, which helps with huge or one line files
- tail can stop following a file once the writing process ends
- Dmesg5
- Dmesg -C empties the kernel buffer so a test starts from nothing
- Dmesg -x labels every line with its facility and level
- Media5
- Make a smaller copy of a media file with avconvert on your Mac
- avmediainfo prints a media file's tracks and codecs on a Mac
- Screenshot4
- Save a whole webpage from one screenshot as a PDF on iPhone
- Turn off the floating thumbnail so a Mac screenshot saves at once
- Monitoring4
- Vnstat keeps a traffic history for monitoring your monthly usage
- Sar reads back your monitoring data from earlier today or yesterday
- Array4
- Don't click Format on an array disk that suddenly shows as unmountable
- Check the default file system before you format a new array drive
- Preview3
- Preview shows the individual frames of an animated GIF in its sidebar
- Preview can bookmark pages in a long PDF
- Edge3See all 3 tips
- Unbound3
- Prefetch: yes keeps popular names in the Unbound cache
- unbound-control cache_lookup shows what Unbound has cached for a name
- Xml2
- xmlstarlet ed -L updates or deletes XML nodes in the file itself
- xmlstarlet sel -t -v pulls values out of XML with an XPath
- Metadata2
- exiftool -TagsFromFile copies metadata from one photo to another
- exiftool -csv exports photo metadata as a spreadsheet
- Winget2
- winget show prints a package's details before you install it
- winget upgrade lists waiting updates before it installs anything
- Zfs2
- zfs get compressratio shows how much space compression saves
- zpool status -x only reports ZFS pools that have a problem
- Archive2
- tar --exclude-vcs leaves .git folders out of an archive
- tar -tf lists an archive without unpacking it
- Acl2
- The ACL mask caps what named users and groups can do
- Setfacl gives one extra user access without changing the group
- Exiftool2
- exiftool -FileName<DateTimeOriginal renames photos by the date they were taken
- exiftool -all= strips the metadata from a photo before you share it
- Images2
- montage makes a contact sheet out of a folder of images
- magick mogrify -resize batch-resizes images, but overwrites them
- Less2
- less -i ignores case in searches unless your pattern has a capital letter
- less +F follows a file like tail -f and lets you scroll back
- Ntfy2
- Ntfy In and At headers deliver a notification later
- Give ntfy messages a title, priority and tags from curl
- Tar2
- Tar --exclude-caches skips every folder marked with a CACHEDIR.TAG
- tar --strip-components=1 drops the top folder when you unpack
- More tips40
- Fzf Alt-C jumps into any subdirectory with a fuzzy search
- Lsof -nP -iTCP -sTCP:LISTEN lists every service waiting for connections
No topic matches.
Nothing in this filter yet.