I think breaking down a more complex shell script piece by piece would cover a ton of material in one video, like how you explained the bookmarks script in the first tutorial.
Do you know why this works? Just changin that mode bit makes it into an executable while order programs you need the binaries? My guess is since we are using the terminal that work in shell is like an interpreter like when using the python interpreter.
You're right on the money Ale. In this video I specify to the terminal to use the POSIX compliant shell to interpret the script. I could have used "#!/bin/bash" to tell the terminal to use GNU bash for example (you can use this same principle for python scripts too). But I'm sure if you tried this with C source code it wouldn't work.
I think breaking down a more complex shell script piece by piece would cover a ton of material in one video, like how you explained the bookmarks script in the first tutorial.
Thanks for the feedback. I completely agree.
this is literally what i learn in school rn
Do you know why this works? Just changin that mode bit makes it into an executable while order programs you need the binaries? My guess is since we are using the terminal that work in shell is like an interpreter like when using the python interpreter.
You're right on the money Ale. In this video I specify to the terminal to use the POSIX compliant shell to interpret the script. I could have used "#!/bin/bash" to tell the terminal to use GNU bash for example (you can use this same principle for python scripts too). But I'm sure if you tried this with C source code it wouldn't work.