Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@errante @bot @kroner the $1 is the first argument that is called when you run the script btw
if you place the script in a file called blocks.sh, you will run it like "blocks.sh bot" (and preface it with ./ to indicate the file is in the current directory, because normally Linux runs binaries from the /usr/bin or /usr/local/bin directories if they are present there, this just ensures it runs the local file rather than the installed binaries)
the "bot" (or any other string of text) is the argument, and you refer to it with $1 inside the script