Terminal & Command Line Typing Practice
Terminal commands are some of the most repetitive text developers type. Building muscle memory for common commands removes friction and keeps you in flow. Use this reference to identify what to practice.
Why terminal typing matters
Developers type hundreds of terminal commands daily. Mistyped flags, wrong paths, and hesitation on pipe syntax all add up. Typing git commit -m "..." fluently is just as valuable as typing code fluently.
Navigation & File System
ls -laList files including hidden, with permissionscd ~/projects/myappChange to a project directorypwdPrint working directorymkdir -p src/components/uiCreate nested directoriescp -r src/ backup/Recursively copy a directorymv oldname.ts newname.tsRename or move a filerm -rf node_modules/Remove directory recursivelyfind . -name '*.tsx' -type fFind TypeScript filesGit Commands
git statusShow working tree statusgit add -pInteractively stage changesgit commit -m "feat: add user authentication"Commit with messagegit push origin mainPush to remote main branchgit pull --rebase origin mainRebase on remote maingit checkout -b feature/oauth-loginCreate and switch to new branchgit log --oneline --graphView commit graphgit stash popApply the most recent stashProcess Management
ps aux | grep nodeFind Node.js processeskill -9 $(lsof -t -i:3000)Kill process on port 3000top -o cpuShow processes sorted by CPUhtopInteractive process viewernohup npm run dev &Run dev server in backgroundjobs -lList background jobsPackage & Environment
npm install --save-dev typescriptInstall dev dependencynpx create-next-app@latest myappScaffold a Next.js appnpm run build && npm startBuild and start production serverexport NODE_ENV=productionSet environment variablesource ~/.zshrcReload shell configwhich node && node --versionCheck Node.js location and versionPractice These Commands
The best way to internalize command syntax is to type it repeatedly in context. Use CodeSpeedTest to practice the code that surrounds these commands.
Related tools