do shell script v : Execute a shell script or command using the ‘sh’ shell
do shell script text : the command or shell script to execute. Examples are ‘ls’ or ‘/bin/ps -auxwww’
[as type class] : the desired type of result; default is text (UTF-8)
[administrator privileges boolean] : execute the command as the administrator
[user name text] : use this administrator account to avoid a password dialog (If this parameter is specified, the “password” parameter must also be specified.)
[password text] : use this administrator password to avoid a password dialog
[altering line endings boolean] : change all line endings to Mac-style and trim a trailing one (default true)
→ text : the command output