That’s what Elon started wearing his kid on his head.
That’s what Elon started wearing his kid on his head.
Yes. You’re correct. The script will execute with /bin/bash by default but only in a bash shell. #!/bin/bash is still a good habit to have. Some platforms may be running an “sh” shell by default. In this case if you ran the script it would execute with /bin/sh instead. Which would work or not work depending on if your script was written in purely sh syntax and not using any uniquely bash style syntax.
Bash can run all sh scripts but sh cannot run all bash scripts. So explicitly stating for which one your script was written for is good practice to not run into errors if you move your script to a different environment.
Broken clock I guess. Not getting rid of radio free Asia though? That’s the one we fund that writes articles about how everyone is North Korea has to have Kim Jungeon’s haircut and then later write one that says only Kim Jungeon can have that haircut.
Oh, also, the north Koreans have to push their trains by hand.
It makes it usable without typing bash. Same would apply for a python script. For example you can make a python script named with no extension and add #!/usr/bin/python to the top of the file. Bash shell sees this and knows to execute the script using that python path.
Then you just include the directory in your $PATH and chmod +x the script. Then you can type $python_script instead of $python python_script.py
Other countries having our data is the least of our worries. I’m ready for China to become our new overlords if that’s the only other option.
There is a reason he suddenly started bringing his little human shield with him everywhere. Suddenly he has a good relationship with his kid right after Trump got shot. I’m sure just a coincidence.
Yeah. I know you’re just adding it for the comment. But don’t actually bother the cashier with some grandstanding or lecturing. Honestly, a good “nah, I don’t like kids” is a much better response to brighten their day. They’ve heard Karen complain about the guilt trip nature 100x already.