If you want to add a dash of GUI goodness to your Bash scripts, you have several options. You can use Zenity or Kdialog to quickly add simple dialogs and message boxes to Bash scripts. However, both tools are rather limited, and for a more complex GUI design you might want to give YAD a try.
How do I handle switches in a shell script?
Most common shell commands allow the user to specify options in any random order. Positional Parameters like $1 as commonly used in bash (I tend to write all my scripts in Bash but I don't think this question is actually Bash specific) scripts on the other hand, are order specific.
I have 2 problems... 1. I am stupid and installed rvm as root... and 2. after realizing I did that I did rvm implode and now every folder I move too says:
-bash: /usr/local/rvm/scripts/initialize: No such file or directory
-bash: /usr/local/rvm/scripts/hook: No such file or directory
... where is this config written so I can remove it and start from scratch?