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.
17 stories tagged shell-scripting, 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.
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.
628 points by theblazehen | 227 comments
Brandon Rhodes' 2009 blog post suggesting prefixing personal shell script names with a comma to avoid collisions with system commands.
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.
421 points by susam | 98 comments
Blog post by Susam Pal recounting a netcat loop on a Debian server that replied 'ok' and beeped his terminal whenever Hacker News readers connected.
351 points by emersonrsantos | 95 comments
GitHub repository for Bocker, a minimal reimplementation of Docker written in about 100 lines of Bash.
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.
359 points by ColinWright | 73 comments
A Wizard Zines comic page by Julia Evans previewing bash debugging tips from her zine Bite Size Bash.
331 points by pixelmonk | 165 comments
Bun blog post by Jarred Sumner introducing the Bun Shell, a built-in cross-platform way to run shell scripts from JavaScript.
427 points by adtac | 139 comments
A GitHub Gist showing a Dockerfile with a shebang line that lets it be executed directly to build and run the container.
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.
359 points by akraker | 103 comments
GitHub repository by dylanaraps collecting pure POSIX sh alternatives to external processes, as a shell scripting reference.