If you are not familiar with wsadmin.sh (Linux) / wsadmin.bat (Windows), check out our Getting Started article.
By default, the wsadmin command will start a user interface where you can type in a command, like this:
The -c option can be used to instruct the wsadmin command to run a command instead of being prompted to enter a command. In this example, the AdminApp.view command is executed in a single command.
wsadmin.sh -c "print AdminApp.view('myApp')"