Search code examples
solaris

Command Line limit for Solaris


I have an app that executes commands on a Linux server via SSH just fine. When I connect to a Solaris server, things don't work. It seems that the Solaris command line is limited to 267 characters.

Is there a way to change this?

Update: As was pointed out before, this is a limit to the default shell for Solaris (sh) vs Linux (bash). So, now the question is, is there a way to change the limit for sh?


Solution

  • I believe (though may be wrong) that's related to the default shell you're connecting to. If you make the change on Solaris to the same shell you're using on Linux, does that fix the problem?

    Please comment if there's a better route to a solution, and I'll make the change in my answer.