I can't believe PowerShell is good(spacebar.news)
46 points by corbindavenport | 80 comments
Blog post by Corbin Davenport explaining why PowerShell 7 is a good cross-platform scripting tool compared to Bash, with example scripts and a real project.
22 stories tagged bash, newest first.
46 points by corbindavenport | 80 comments
Blog post by Corbin Davenport explaining why PowerShell 7 is a good cross-platform scripting tool compared to Bash, with example scripts and a real project.
3 points by speckx | 1 comments
A blog post explaining how to use substring search on shell command history in bash and zsh to recall long commands faster than with the up arrow.
226 points by arusekk | 144 comments
Blog post explaining that a quoted tilde in a PATH export is not expanded to the home directory in bash/zsh, creating a security risk.
370 points by olexsmir | 155 comments
Blog post by Filip Roséen explaining the POSIX shell colon (no-op) builtin and practical tricks for using it in shell scripts.
1407 points by speerer | 224 comments
Blog post decoding an obfuscated, self-evaluating bash script printed on a Uniqlo t-shirt by Akamai that prints an Easter egg message.
511 points by mrshu | 221 comments
A TIL blog post explaining how to make HTTP requests from a minimal container lacking curl or wget by using Bash's /dev/tcp pseudo-device.
564 points by zdw | 246 comments
A blog post sharing practical Unix shell tricks and keyboard shortcuts for bash and other shells to speed up everyday terminal work.
392 points by alexmolas | 226 comments
Stack Overflow question explaining the shell redirection 2>&1, which sends standard error to the same destination as standard output.
397 points by petr25102018 | 107 comments
Landing page for the Command Line Handbook, a 120-page pay-what-you-want PDF ebook on the Linux command line sold via Gumroad.
319 points by lr0 | 85 comments
A short TIL blog post about using the timeout command in Bash scripts to avoid infinite loops when waiting for a web server to start.
351 points by emersonrsantos | 95 comments
GitHub repository for Bocker, a minimal reimplementation of Docker written in about 100 lines of Bash.
748 points by yen223 | 207 comments
A blog post by Wei Yen listing interesting built-in macOS command-line utilities, such as accessing the Keychain programmatically.
370 points by hundredwatt | 228 comments
Blog post describing six techniques for giving shell scripts a good user experience, such as colored output and safety practices, inspired by the One Billion Row Challenge.
367 points by lucasoshiro | 231 comments
A blog post arguing that Ruby is an excellent language for writing shell scripts, showing features that make it better than Bash or Python for complex scripts.
394 points by weaksauce | 287 comments
Homepage of Amber, a type-safe programming language that compiles to Bash scripts, with install instructions and a code example.
439 points by ecliptik | 90 comments
Gynvael Coldwind's blog post explaining the obfuscation techniques used in the bash stages of the xz/liblzma backdoor that affected OpenSSH.
359 points by ColinWright | 73 comments
A Wizard Zines comic page by Julia Evans previewing bash debugging tips from her zine Bite Size Bash.
492 points by mattrighetti | 218 comments
Blog post by Julio Merino explaining the Unix test and [ binaries and how they differ from the shell's [[ builtin.
356 points by marban | 136 comments
An article describing Simple Unix Chat (suc), a Slack-like chat system whose core is five lines of bash built on standard UNIX primitives.
540 points by ekiauhce | 136 comments
Aaron Maxwell's article explaining how to use bash's EXIT pseudo-signal with trap to ensure cleanup code runs whenever a script exits.
471 points by thunderbong | 171 comments
GitHub repository for Atuin, a Rust tool that replaces shell history with a SQLite database and offers optional encrypted sync across machines.
359 points by akraker | 103 comments
GitHub repository by dylanaraps collecting pure POSIX sh alternatives to external processes, as a shell scripting reference.