@cm0002@lemmy.world to Programmer Humor@programming.dev • 12 days agoLike programming in bashlemmy.mlimagemessage-square188fedilinkarrow-up11.67Karrow-down116cross-posted to: programmerhumor@lemmy.ml
arrow-up11.65Karrow-down1imageLike programming in bashlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 12 days agomessage-square188fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@KazuchijouNo@lemy.lollinkfedilink25•12 days agoToday 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)
minus-square@DeRp_DaWg@lemmy.worldlinkfedilink7•12 days agoI 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.
minus-square@DaTingGoBrrr@lemm.eelinkfedilinkSvenska2•12 days agoRemember to make the .sh file executable with chmod +x
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)
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.
Remember to make the .sh file executable with chmod +x