Unread post
by access2godzilla » 2014-04-28, 02:31
You can run it in many ways:
- With most file managers, you can double click it.
- From the terminal, use "./pminstaller.sh" (the script will automatically elevate with the help of sudo.)
- With sudo, use "sudo ./pminstaller.sh" (your method does work in this case, but it's not preferable to do that everywhere).
- If you don't have sudo (or not allowed to run it) use "su -c ./pminstaller.sh".
BTW, bash != run a shell script, it means run the bash shell (there are others like sh, ash, zsh, csh and korn). bash foo.sh means run a shell script in bash, overriding the preference of the shell the script wants to use.