Bootstrap FreeKB - IBM WebSphere - wsadmin run commands in-line
IBM WebSphere - wsadmin run commands in-line

Updated:   |  IBM WebSphere articles

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:

wsadmin>

 

The -c option can be used to instruct the wsadmin command to run a command in-line 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')"

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter c78f5e in the box below so that we can be sure you are a human.