how To "$" in terminal?

Hi Guys,

This might be a stupid question, but when I do the following I get an error:

/ip hotspot user add name="theUserName" password="pa$$word" limit-uptime=3600s profile=256 disabled=no

If I take out the dollar signs it works. If I do it via winbox it works fine again.

Is there a way to do it in terminal some how? Are there any other characters that cause it a problem?

Just escape the “$” with a backslash, so write

... password="pa\$\$word" ...

If you find another way to make $$$ by using the terminal, let me be part of your money-making machine :smiley:

hi,

thanks for that, I will update our scripting system. I knew it would be something simple!

Joshua