cm0002@lemmy.world to Programmer Humor@programming.dev · 5 days agoLike programming in bashlemmy.mlimagemessage-square187fedilinkarrow-up11.63Kcross-posted to: [email protected]
arrow-up11.63KimageLike programming in bashlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 5 days agomessage-square187fedilinkcross-posted to: [email protected]
minus-squareKazuchijouNo@lemy.lollinkfedilinkarrow-up26·5 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-squareDeRp_DaWg@lemmy.worldlinkfedilinkarrow-up7·5 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-squareDaTingGoBrrr@lemm.eelinkfedilinkSvenskaarrow-up2·4 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