this post was submitted on 02 Jul 2026
-7 points (11.1% liked)

Shell Scripting

163 readers
4 users here now

From Bash to Batch, Ash to Zsh; all shell languages are welcome here!

Rules:

  1. Follow Lemmy rules!
  2. Posts must relate to shell scripting. (See bottom of sidebar for more information.)
  3. Only make helpful replies to questions. This is not the place for low effort joke answers.
  4. No discussion about piracy or hacking.
  5. If you find a solution to your problem by other means, please take your time to write down the steps you used to solve your problem in the original post. You can potentially help others having the same problem!
  6. These rules will change as the community grows.

I want to make a clear delineation on what is and is not allowed. From my experience on Reddit, communities in this niche were far too numerous and fractured. This community casts a fairly wide net, but intends to stay focused on the joy and pain of writing scripts.


In general, if your submission text is primarily shell code, then it is welcome here!

founded 3 years ago
MODERATORS
 
cat << 'EOF' > sudon't && chmod +x sudon't && sudo mv sudon't /usr/local/bin/
#!/bin/sh
echo "ok"
EOF
top 2 comments
sorted by: hot top controversial new old
[โ€“] ImgurRefugee114@reddthat.com 3 points 1 month ago* (last edited 1 month ago)

Perfect this is exactly what we needed ty