Below you will find pages that utilize the taxonomy term “Unix”
Postsread more
Practical shebangs
Usually, one of the first things a Linux/Unix user learns is to create a shell script. The process generally goes like this:
- Write a
script.sh
file. - Fill it with
#!/bin/bash echo "Hello world"
- Make it executable with
chmod +x script.sh
- And finally, run it with
./script.sh
Nice and simple, and most *nix users are familiar with this. For an average user, the journey ends right then and there, but if you’re interested, you realize that there’s always ways to use and abuse the tooling.