FreeKB - wsadmin in WebSphere - Run commands in-line
wsadmin in WebSphere - Run commands in-line

Home > Search


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 3ff7d in the box below so that we can be sure you are a human.




Comments