InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.2: Command syntax and usage >
6.6.0.2.2.2.5: Using command-line mode

6.6.0.2.2.2.5: Using command-line mode

To execute an individual wscp command in command-line mode, use the -c option followed by the command. The following examples execute a wscp command on the local node. On Windows NT systems, enclose the command in double quotation marks ("). On UNIX systems, enclose the command in single quotation marks (').
C:\> wscp -c "ApplicationServer list"
% wscp.sh -c 'ApplicationServer list' -c 'Node list'

The -c option can be repeated multiple times on the command line.

Go to previous article: 6.6.0.2.2.2.4: Connecting to local and remote nodes Go to next article: 6.6.0.2.2.2.6: Using interactive mode

 

 
Go to previous article: 6.6.0.2.2.2.4: Connecting to local and remote nodes Go to next article: 6.6.0.2.2.2.6: Using interactive mode