make -j$(nproc) Build in parallel using every CPU core. The cheapest possible speedup for any daily build.
Cheat sheet · 462 commands
A curated library of commands for developers: searchable, copyable, categorized — no theory, just the form that actually works.
Today's pick: make -j$(nproc)
Open one to see the full list of commands with worked examples.
Process, file, network and text-processing one-liners
Browse →Targets, automatic variables, functions, parallel builds
Browse →rebase, cherry-pick, bisect and the hooks you'll actually use
Browse →Image builds, networking, volumes and compose orchestration
Browse →GCC / Clang flags, linking, symbols, ABI gotchas
Browse →pytest, JUnit, matrix builds on GitHub Actions
Browse →shell, nvm, pyenv, direnv, reproducible machine setups
Browse →High-reuse commands lifted straight from real day-to-day work.
make -j$(nproc) Build in parallel using every CPU core. The cheapest possible speedup for any daily build.
git rebase -i HEAD~5 Interactively rewrite the last 5 commits. Always `git stash` first if your tree is dirty.
find . -type f -size +50M -exec ls -lh {} + Locate oversized files in a directory or repo — a classic first step when investigating git bloat.
docker compose up -d --build --remove-orphans Rebuild and start detached, removing services that were renamed out of the compose file.
rg -n --hidden -g '!*.lock' 'TODO|FIXME' ripgrep the whole repo for leftover work markers, skipping noisy lockfiles.
tar -czf out.tgz --exclude-vcs --exclude-vcs-ignores src/ Pack source into a tarball that automatically respects .gitignore — clean handoff to teammates.