@cm0002 to Programmer [email protected] • 2 days agoLike programming in bashlemmy.mlimagemessage-square184arrow-up11.58Karrow-down116cross-posted to: [email protected]
arrow-up11.56Karrow-down1imageLike programming in bashlemmy.ml@cm0002 to Programmer [email protected] • 2 days agomessage-square184cross-posted to: [email protected]
minus-square@[email protected]linkfedilink25•2 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_DaWglink7•2 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@[email protected]linkfedilinkSvenska2•1 day 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