Am currently learning writing functions in shell scripting, as we all know the importance of functions in programming.
Therefore, i would like to know how to pass arguments to a function inside a shell script.
Say for example i would like to pass arguments on the command line to a function in a script called remove user.
remove_user.sh arg1 arg2
The function to remove the user should receive arg1 and arg2.