Explore >> Select a destination


You are here

syntackle.com
| | lanziani.com
8.7 parsecs away

Travel
| | I do a big use of shell scripts, and many of them contain a for loop, do you know what normally happen when you press CTRL^C and the script is executing an action inside the loop?
| | seanmcp.com
7.1 parsecs away

Travel
| | Writing a script to read the package.json for you
| | purefun.dev
13.0 parsecs away

Travel
| | When in doubt, always consider adding set -e and cd $(dirname $0) at the beginning of a shellscript. Why? Let's find out: When to use cd $(dirname $0) $0 is the currently executing script, so what the command does is to change current directory into the same directory as where the script resides. If you don't do this, any references to other files next to your script will be incorrect if you run the script from another directory.
| | schmonz.com
47.1 parsecs away

Travel
|