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

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 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')"

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments