Hacking the command line
One liners and shell tricks that make the prompt feel like home.
Use tr to implement toupper/tolower in Bash
Chad Colgur
·
0 responses
·
shell, bash
Bash function to restore a deleted file in a Git repository
Rick Pearson
·
0 responses
·
bash, git, undelete, restore
Python interactive last value
Maximilian Werner Felgenhauer
·
0 responses
·
python, cli
Time every command in BASH
Yung-chung Lin
·
0 responses
·
shell, time, bash
Greping for code with syntax hightlighting
João Veiga
·
0 responses
·
grep, pygmentize, color output
Colourised Terminal Output for Python Logging
exhuma
·
0 responses
·
python, terminal, logging, eyecandy
up -- useful bash alias
Spencer Williams
·
0 responses
·
bash, zsh, cli, linux
Print multiple files separated by blank
Weera Wu
·
0 responses
·
bash, cat
Terminal tab name after current folder
Sergi Meseguer
·
0 responses
·
terminal, tab, folder
Ctag vim
Abhishek Nalwaya
·
0 responses
·
vim, productivity, ctag
Tweaking your tools
Gabriel Poça
·
0 responses
·
shell, zsh, terminal
Remove duplicates from Finder "Open With"
Tiago Reis
·
0 responses
·
terminal, osx, mac, apple
Quick and easy file write as root
Rob Jentzema
·
0 responses
·
zsh, root, pipe, su
Custom ANSI-colored, Bash command prompt
Edward J. Stembler
·
0 responses
·
bash, ansi, command prompt, ps1
Load a bunch of environment variables in OSX
Jose Raya
·
0 responses
·
bash, osx
Print out !something without running it
Todd Wolfson
·
0 responses
·
bash, zsh, terminal, linux
git grep
Yuki Matsukura
·
0 responses
·
grep, git
Send email with attachment from console
Rpsl
·
0 responses
·
terminal, mail, attachment
Close stuck SSH sessions
Cherif YAYA
·
0 responses
·
ssh, unix
Sum a file of number
LokiAstari
·
0 responses
·
sum, bash
alias for previous command
Arash M
·
0 responses
·
shell
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#
Coderwall Dev Community
Explore the all-time favorite tutorials, design patterns and engineering guides that thousands of readers keep sharing and coming back to, year after year.
These proven techniques, reusable code samples, programming tips and vibe coding habits earned their place through steady views and member likes.
Each entry here is still useful today, covering programming languages, frameworks and workflows that stay relevant long after they were first published.
Whether you're new to a tech stack or an experienced programmer refreshing your skills, start with the most useful tips our dev community members recommend and build on solid, well-tested coding knowledge.