cm0002@lemmy.world to Programmer Humor@programming.dev · 1 年前Like programming in bashlemmy.mlimagemessage-square167fedilinkarrow-up11.47Karrow-down116
arrow-up11.46Karrow-down1imageLike programming in bashlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 年前message-square167fedilink
minus-squareKazuchijouNo@lemy.lollinkfedilinkarrow-up24arrow-down1·1 年前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)
minus-squareDeRp_DaWg@lemmy.worldlinkfedilinkarrow-up6·1 年前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.
minus-squareDaTingGoBrrr@lemm.eelinkfedilinkSvenskaarrow-up2·1 年前Remember 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