Du kan prøve at bruge en heredoc:
#!/bin/bash
USERNAME="example"
mysql <<MYSQL
INSERT INTO user VALUES ('$USERNAME', password);
MYSQL
Du kan prøve at bruge en heredoc:
#!/bin/bash
USERNAME="example"
mysql <<MYSQL
INSERT INTO user VALUES ('$USERNAME', password);
MYSQL