1532
you are viewing a single comment's thread
view the rest of the comments
[-] KazuchijouNo@lemy.lol 24 points 1 day ago

Today I tried to write bash (I think)

I grabbed a bunch of commands, slapped a bunch of "&&" to string them together and saved them to a .sh file.

It didn't work as expected and I did not, at all, look at any documentation during the process. (This is obviously on me, I'll try harder next time)

[-] DeRp_DaWg@lemmy.world 6 points 1 day ago

I try to remember to use man when learning a new command/program. And I almost always half-ass it and press the search button immediately to find whatever flag i need.

[-] DaTingGoBrrr@lemm.ee 2 points 1 day ago

Remember to make the .sh file executable with chmod +x

this post was submitted on 05 Mar 2025
1532 points (100.0% liked)

Programmer Humor

21016 readers
1179 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS