snippets

🔌 Toolbox of short, reusable pieces of code and knowledge.

View the Project on GitHub rosikand/snippets

Bash scripting

You can write your own shell commands to make your workflows more efficient! Follow this tutorial and these docs.

For example, type the following function in your terminal

function print_arg() {
 echo 'Your argument: ' $1
}

and now type $ print_arg "my arg" and the output will be Your input: my arg.