I'm not expert for UNIX shells, but I believe that you can separate multiple commands with semicolon (;).
However you cannot execute su, or at least most of the servers does not allow this for non-interactive sessions.
Is there a way to enter more than one command line in Preferences | Commands menu?
This is what I want to do, if I can:_
#go to squidGuard db folder
#make sure that all files are owned by Squid
chown -R squid.squid *
#Re-compiling config files:
/usr/local/squidGuard/bin/squidGuard -C all -d
Can it be done?