Question: Im looking for a way to write a script hat will turn off sounds.

The sounds i would like to turn off are the start navigation sound and the play windows start up sound.

is there any script that can get that done?

Answer: 
I found a solution:

* Using single-quotes instead of double-quotes
* Escape the ampersand `&` to `\&`
* Not escaping the exclamation mark `!`

so this works:

```
docker run -i -t --rm \
-e 'LDAP_FILTER=(\&(objectCategory=person)(objectClass=user)' \
-e 'LDAP_PASS=Secret!Password' \
user-prefix/container-name

```
If you cannot use single-quotes for the entire string for some reason (e.g. variable expansion), this is probably the best solution: [In bash, how do I escape an exclamation mark?](https://superuser.com/a/301330/1129381)

In summary: Use `"'!'"` around the exclamation mark:

```bsh
echo "hello there"'!'" and goodbye"

```