Skip to content

Instantly share code, notes, and snippets.

@jurandysoares
Last active November 23, 2025 12:11
Show Gist options
  • Select an option

  • Save jurandysoares/d7caa7705b23e1b2eee4a81bf01ff9d5 to your computer and use it in GitHub Desktop.

Select an option

Save jurandysoares/d7caa7705b23e1b2eee4a81bf01ff9d5 to your computer and use it in GitHub Desktop.
Prompt to learn Bash shell scripting

Prompt to learn shell script with Bash

  1. I would like to learn how to program shell scripts using bash.
  2. Create a small booklet about shell script programming with bash.
  3. Please generate a 2-columns table with all bash numeric operators, with the 1st column being the operator, and the 2nd the name in English.
  4. When should I use double brackets in tests?
  5. Build a side-by-side comparative table showing [ ] vs [[ ]] with examples and differences.
  6. Great, now generate a table with all relational and logical operators in bash.
  7. Create practical examples showing each operator in action inside a Bash script, so I can test directly in the terminal.
  8. Now list and explain what the special Bash variables are used for, such as $#, $*, $?, $@, $0, $1, $2, etc.
  9. Build a set of practical exercises for me to train each of these variables in small scripts.
  10. Could you save our entire conversation in a Markdown file, or in a Microsoft Word file, or in a Google Document?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment