@[email protected] to Programmer [email protected] • 1 month agoLike programming in bashlemmy.mlimagemessage-square185fedilinkarrow-up11.62Karrow-down116cross-posted to: [email protected]
arrow-up11.61Karrow-down1imageLike programming in bashlemmy.ml@[email protected] to Programmer [email protected] • 1 month agomessage-square185fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink23•1 month 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@[email protected]linkfedilink6•1 month 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 month 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