<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Command line Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/command-line/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/command-line/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:55:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Perforce Command Line Global Options</title>
		<link>https://www.scmgalaxy.com/tutorials/perforce-command-line-global-options/</link>
					<comments>https://www.scmgalaxy.com/tutorials/perforce-command-line-global-options/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 06:17:30 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[p4 Command Line]]></category>
		<category><![CDATA[Perforce Command Line CheatSheet]]></category>
		<category><![CDATA[Perforce command-line]]></category>
		<category><![CDATA[Perforce command-line Reference]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4572</guid>

					<description><![CDATA[<p>&#60;!&#8211; .style1 { font-size: 24px; font-weight: bold; } &#8211;&#62; Perforce Command Line Global Options Global options for Perforce commands; these [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perforce-command-line-global-options/">Perforce Command Line Global Options</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&lt;!&#8211; .style1 { font-size: 24px; font-weight: bold; } &#8211;&gt;</p>
<p><strong>Perforce Command Line Global Options</strong></p>
<p><a name="1040703"></a>Global options for Perforce commands; these options can be supplied on the command line before any Perforce command.</p>
<div><strong><a name="1045522"></a>Syntax</strong></div>
<div><a name="1045523"></a>p4 [-cclient -ddir -Hhost -pport -Ppass -uuser -xfile -Ccharset -Qcharset -Llanguage] [-G] [-s] [-z tag] cmd [args &#8230;]<br />
p4 -V<br />
p4 -h</div>
<p>&nbsp;</p>
<div><a name="1045577"></a><strong>Options</strong></div>
<table border="0" cellspacing="0">
<caption> </caption>
<tbody>
<tr>
<td>
<div><a name="1045526"></a>-c client</div>
</td>
<td>
<div><a name="1045530"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4CLIENT.html#1040647">P4CLIENT</a> setting with the specified client name.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045532"></a>-d dir</div>
</td>
<td>
<div><a name="1045535"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.PWD.html#1040647">PWD</a> setting (i.e. current working directory) and replaces it with the specified directory.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045537"></a>-G</div>
</td>
<td>
<div><a name="1045540"></a>Causes all output (and batch input for form commands with -i) to be formatted as marshalled Python dictionary objects. This is most often used when scripting.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045542"></a>-H host</div>
</td>
<td>
<div><a name="1045545"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4HOST.html#1040647">P4HOST</a> setting and replaces it with the specified hostname.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045547"></a>-p port</div>
</td>
<td>
<div><a name="1045550"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4PORT.html#1040647">P4PORT</a> setting with the specified port number.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045552"></a>-P pass</div>
</td>
<td>
<div><a name="1045555"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4PASSWD.html#1040647">P4PASSWD</a> setting with the specified password.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045584"></a>-s</div>
</td>
<td>
<div><a name="1045587"></a>Prepends a descriptive field (for example, text:, info:, error:, exit:) to each line of output produced by a Perforce command. This is most often used when scripting.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045557"></a>-u user</div>
</td>
<td>
<div><a name="1045560"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4USER.html#1040647">P4USER</a>, USER, or USERNAME setting with the specified user name.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045567"></a>-x file</div>
</td>
<td>
<div><a name="1045569"></a>Instructs Perforce to read arguments, one per line, from the specified file. If file is a single hyphen (-), then standard input is read.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1048258"></a>-C charset</div>
</td>
<td>
<div><a name="1048260"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4CHARSET.html#1040647">P4CHARSET</a> setting with the specified character set.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1048527"></a>-Q charset</div>
</td>
<td>
<div><a name="1048530"></a>Overrides any <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4COMMANDCHARSET.html#1040647">P4COMMANDCHARSET</a> setting with the specified character set.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1048273"></a>-L language</div>
</td>
<td>
<div><a name="1048275"></a>This feature is reserved for system integrators.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1048678"></a>-z tag</div>
</td>
<td>
<div><a name="1048680"></a>Causes output of many reporting commands to be in the same tagged format as that generated by <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/fstat.html#1040665">p4 fstat</a>.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1045590"></a>-V</div>
</td>
<td>
<div><a name="1045592"></a>Displays the version of the p4 client program and exits.</div>
</td>
</tr>
<tr>
<td>
<div><a name="1048266"></a>-h</div>
</td>
<td>
<div><a name="1048268"></a>Displays basic usage information and exits.</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<div><a name="1040576"></a><strong>Usage Notes</strong></div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>•</div>
</td>
<td>
<div><a name="1040577"></a>Be aware that the global options must be specified on the command line before the Perforce command. Options specified after the Perforce command will not be interpreted as global options, but as options for the command being invoked. It is therefore possible to have the same command line option appearing twice in the same command, being interpreted differently each time.</div>
</td>
</tr>
</tbody>
</table>
</div>
<div><a name="1040777"></a>For example, the command p4 -c anotherclient edit -c 140 file.c will open file file.c for edit in pending changelist 140 under client workspace anotherclient.</div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>•</div>
</td>
<td>
<div><a name="1040722"></a>The -x option is useful for automating tedious tasks; a user adding several files at once could create a text file with the names of these files and invoke p4 -x textfile add to add them all at once.</div>
</td>
</tr>
</tbody>
</table>
</div>
<div><a name="1040723"></a>The -x option can be extremely powerful &#8211; as powerful as whatever generates its input. For example, a UNIX developer wishing to edit any file referring to an included file.h file, for instance, could grep -l file.h *.c | cut -f1 -d: | p4 -x &#8211; edit.</div>
<div><a name="1040778"></a>In this example, the grep command lists occurrences of file.h in the *.c files, the -l option tells grep to list each file only once, and the cut command splits off the filename from grep&#8217;s output before passing it to the p4 -x command.</div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>•</div>
</td>
<td>
<div><a name="1040724"></a>The -s option can be useful in automated scripts.</div>
</td>
</tr>
</tbody>
</table>
</div>
<div><a name="1040776"></a>For example, a script could be written as part of an in-house build process which executes p4 -s commands, discards any output lines beginning with &#8220;info:&#8221;, and alerts the user if any output lines begin with &#8220;error:&#8221;.</div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>•</div>
</td>
<td>
<div><a name="1045402"></a>Python developers will find the -G option extremely useful for scripting. For instance, to get a dictionary of all fields of a job whose ID is known, use the following:</div>
</td>
</tr>
</tbody>
</table>
</div>
<div><a name="1045409"></a>job_dict = marshal.load(os.popen(&#8216;p4 -G job -o &#8216; + job_id, &#8216;rb&#8217;))</div>
<div><a name="1048244"></a>In some cases, it may not be intuitively obvious what keys are used by the client program. If you pipe the output of any p4 -G invocation to the following script, you will see every record printed out in key/value pairs:</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perforce-command-line-global-options/">Perforce Command Line Global Options</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/perforce-command-line-global-options/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Perforce Command Line</title>
		<link>https://www.scmgalaxy.com/tutorials/perforce-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/perforce-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 06:13:04 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[p4 Command Line]]></category>
		<category><![CDATA[Perforce Command Line CheatSheet]]></category>
		<category><![CDATA[Perforce command-line]]></category>
		<category><![CDATA[Perforce command-line Reference]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4570</guid>

					<description><![CDATA[<p>Command Description p4 add Open file(s) in a client workspace for addition to the depot. p4 admin Perform administrative operations [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perforce-command-line/">Perforce Command Line</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<table border="1" width="100%" cellspacing="0" cellpadding="0">
<colgroup>
<col width="95" /></colgroup>
<tbody>
<tr>
<td></td>
<td>
<h1>Command</h1>
</td>
<td>
<h1>Description</h1>
</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 add</div>
</td>
<td>Open file(s) in a client workspace for addition to the depot.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 admin</div>
</td>
<td>Perform administrative operations on the server.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 branch</div>
</td>
<td>Create or edit a branch specification and its view.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 change</div>
</td>
<td>Create or edit a changelist specification.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 changelists</div>
</td>
<td>List submitted and pending changelists.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 changelist</div>
</td>
<td>Create or edit a changelist specification.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 client</div>
</td>
<td>Create or edit a client workspace specification and its view.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 clients</div>
</td>
<td>List all client workspaces currently known to the system.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 delete</div>
</td>
<td>Open file(s) in a client workspace for deletion from the depot.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 depot</div>
</td>
<td>Create or edit a depot specification.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 depots</div>
</td>
<td>Display a list of depots known to the Perforce server.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 describe</div>
</td>
<td>Provides information about changelists and the changelists’ files.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 groups</div>
</td>
<td>List groups of users.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 group</div>
</td>
<td>Add or delete users from a group, or set the maxresults, maxscanrows, and timeout limits for the members of a group.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 have</div>
</td>
<td>List files and revisions that have been synced to the client workspace</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 info</div>
</td>
<td>Display information about the current client and server.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 integrate</div>
</td>
<td>Open files for branching or merging.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 integrated</div>
</td>
<td>Show integrations that have been submitted.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 job</div>
</td>
<td>Create or edit a defect, enhancement request, or other job specification.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 jobs</div>
</td>
<td>List jobs known to the Perforce server.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 label</div>
</td>
<td>Create or edit a label specification and its view.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 labels</div>
</td>
<td>Display list of defined labels.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 lock</div>
</td>
<td>Lock an opened file against changelist submission.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 login</div>
</td>
<td>Log in to a Perforce server by obtaining a ticket.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 logout</div>
</td>
<td>Log out of a Perforce server by removing or invalidating a ticket.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 passwd</div>
</td>
<td>Change a user’s Perforce password on the server.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 rename</div>
</td>
<td>Renaming files under Perforce.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 resolve</div>
</td>
<td>Resolve conflicts between file revisions.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 revert</div>
</td>
<td>Discard changes made to open files.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 set</div>
</td>
<td>Set Perforce variables in the Windows registry.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 submit</div>
</td>
<td>Send changes made to open files to the depot.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 sync</div>
</td>
<td>Copy files from the depot into the workspace.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 tag</div>
</td>
<td>Tag files with a label.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 triggers</div>
</td>
<td>Edit a list of scripts to be run conditionally whenever changelists are submitted, forms are updated, or when integrating Perforce with external authentication mechanisms.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 user</div>
</td>
<td>Create or edit Perforce user specifications and preferences.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 users</div>
</td>
<td>Print a list of all known users of the current server.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 verify</div>
</td>
<td>Verify that the server archives are intact.</td>
</tr>
<tr>
<td></td>
<td>
<div>p4 workspace</div>
</td>
<td>Create or edit a client workspace specification and its view.</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perforce-command-line/">Perforce Command Line</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/perforce-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Command Line Options</title>
		<link>https://www.scmgalaxy.com/tutorials/java-command-line-options/</link>
					<comments>https://www.scmgalaxy.com/tutorials/java-command-line-options/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 08 Jan 2018 12:29:29 +0000</pubDate>
				<category><![CDATA[Concept & Definition]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Java Command Line Options]]></category>
		<category><![CDATA[Reference]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4553</guid>

					<description><![CDATA[<p>-client       to select the &#8220;client&#8221; VM -server       to select the &#8220;server&#8221; VM -hotspot      is a synonym for the &#8220;client&#8221; VM  [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/java-command-line-options/">Java Command Line Options</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>-client       to select the &#8220;client&#8221; VM<br />
-server       to select the &#8220;server&#8221; VM<br />
-hotspot      is a synonym for the &#8220;client&#8221; VM  [deprecated]<br />
The default VM is client.</p>
<p>-cp &lt;class search path of directories and zip/jar files&gt;<br />
-classpath &lt;class search path of directories and zip/jar files&gt;<br />
A ; separated list of directories, JAR archives,<br />
and ZIP archives to search for class files.<br />
-D&lt;name&gt;=&lt;value&gt;<br />
set a system property<br />
-verbose[:class|gc|jni]<br />
enable verbose output<br />
-version      print product version and exit<br />
-version:&lt;value&gt;<br />
require the specified version to run<br />
-showversion  print product version and continue<br />
-jre-restrict-search | -jre-no-restrict-search<br />
include/exclude user private JREs in the version search<br />
-? -help      print this help message<br />
-X            print help on non-standard options<br />
-ea[:&lt;packagename&gt;&#8230;|:&lt;classname&gt;]<br />
-enableassertions[:&lt;packagename&gt;&#8230;|:&lt;classname&gt;]<br />
enable assertions<br />
-da[:&lt;packagename&gt;&#8230;|:&lt;classname&gt;]<br />
-disableassertions[:&lt;packagename&gt;&#8230;|:&lt;classname&gt;]<br />
disable assertions<br />
-esa | -enablesystemassertions<br />
enable system assertions<br />
-dsa | -disablesystemassertions<br />
disable system assertions<br />
-agentlib:&lt;libname&gt;[=&lt;options&gt;]<br />
load native agent library &lt;libname&gt;, e.g. -agentlib:hprof<br />
see also, -agentlib:jdwp=help and -agentlib:hprof=help<br />
-agentpath:&lt;pathname&gt;[=&lt;options&gt;]<br />
load native agent library by full pathname<br />
-javaagent:&lt;jarpath&gt;[=&lt;options&gt;]<br />
load Java programming language agent, see java.lang.instrument<br />
-splash:&lt;imagepath&gt;<br />
show splash screen with specified image</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/java-command-line-options/">Java Command Line Options</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/java-command-line-options/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Complete guide to use Jenkins CLI / Command line &#124; Jenkins Tutorials</title>
		<link>https://www.scmgalaxy.com/tutorials/complete-guide-to-use-jenkins-cli-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/complete-guide-to-use-jenkins-cli-command-line/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 08 Jan 2017 08:37:19 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[CLI / Command line]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Jenkins CLI / Command line]]></category>
		<category><![CDATA[Jenkins Command line]]></category>
		<category><![CDATA[Jenkins Command line Guide]]></category>
		<category><![CDATA[Jenkins Command line Tutorials]]></category>
		<category><![CDATA[Jenkins Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/01/08/complete-guide-to-use-jenkins-cli-command-line/</guid>

					<description><![CDATA[<p>Complete guide to use Jenkins CLI / Command line? Run Jenkins build from command is very simple in Linux system. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-guide-to-use-jenkins-cli-command-line/">Complete guide to use Jenkins CLI / Command line | Jenkins Tutorials</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="size-full wp-image-2959 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/complete-guide-to-use-jenki.png" alt="jenkins-cli-command-line" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/complete-guide-to-use-jenki.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/complete-guide-to-use-jenki-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div>Complete guide to use Jenkins CLI / Command line?</div>
<div></div>
<div>Run Jenkins build from command is very simple in Linux system. If you are using using windows, gitbash is a recommended which has bash shell in built. You can use windows command line as well. Jenkins has support to command line client that allows you to access Jenkins from command line.</div>
<div></div>
<div><strong>To Trigger Jenkins build from command line some prerequisite are there</strong></div>
<div></div>
<div>Jenkins service is running.</div>
<div>Enable security option under “Configure Global Security”</div>
<div></div>
<div>Go to jenkins dashboard in Home page ( e.g http://localhost:8080/ ) -&gt; Manage Jenkins</div>
<div>-&gt; Configure Global Security -&gt; Click on “Enable security” checkbox</div>
<div></div>
<div>
<p>You can also configure “Access Control” and “Authorization” option in Global Security page.</p>
<div><strong>Download Jenkins-cli.jar</strong></div>
<div>Download Jenkins-cli.jar from http://&lt;your_jenkins_server_url&gt;/jnlpJars/jenkins-cli.jar. (Here &lt;your_jenkins_server_url&gt; is your respective Jenkins server URL (development or staging))</div>
<div>Go to http://&lt;your_jenkins_server_url&gt;/cli and build your command by following the instructions there.</div>
</div>
<div></div>
<div><strong>How to login to Jenkins using commands</strong></div>
<div>If your Jenkins requires authentication, use &#8211;username and &#8211;password or &#8211;password-file options to specify the credentials. To avoid doing this for every command, you can also use the login CLI command once (with the same credentials parameters), and after that you may use other commands without specifying credentials.</div>
<div></div>
<div>Whenever the CLI tries to to connect to the Jenkins server, it offers the before mentioned SSH keys. When the user has those keys but don&#8217;t want use them to authenticate, preventing being prompted by the key&#8217;s password, it&#8217;s possible to use the -noKeyAuth argument. This way the CLI will never try to use the SSH keys available. failure to authenticate by itself does not constitute a fatal error. It will instead try to execute the command anyway, as the anonymous user.</div>
<div></div>
<div></div>
<div><strong>Login Jenkins using username and Password</strong></div>
<div>Jenkins allow us to trigger Jenkins build with any specific user, For that we have to pass username and password in command line.</div>
<div>$ java -jar &#8220;/tmp/kitchen/cache/jenkins-cli.jar&#8221; -s http://localhost:8080 who-am-i &#8211;username jenkins &#8211;password foobar</div>
<div>$ java -jar jenkins-cli.jar -s http://myjenkins help &#8211;username me &#8211;password mypassword</div>
<div></div>
<div><strong>Login Jenkins using public keys</strong></div>
<div>Starting 1.419 (which will be out July 4th), Jenkins CLI supports authentication based on the SSH key pair. Just like CloudBees DEV@cloud (or GitHub, or other similar sites), you interactively login from the web UI, then associate your public keys with your user account. Then CLI will silently authenticates itself using your ~/.ssh/id_rsa, ~/.ssh/id_dsa, or ~/.ssh/identity.</div>
<div>https://help.github.com/articles/generating-an-ssh-key/</div>
<div></div>
<div><strong>Login Jenkins using private keys</strong></div>
<div>You can also pass the priate key as follows</div>
<div>To use the -i option the syntax is as follows:</div>
<div>$ java -jar jenkins-cli.jar -s http://myjenkins help -i ~/.ssh/id_rsa</div>
<div>$ java -jar jenkins-cli.jar [-s JENKINS_URL] [-i PRIVATE_KEY] command [options&#8230;] [arguments&#8230;]</div>
<div>For compatibility reasons, unless you use the -i option,</div>
<div></div>
<div><strong>Login Jenkins using initialAdminPassword</strong></div>
<div>try user &#8220;admin&#8221; and password from &#8220;Jenkins\secrets\initialAdminPassword&#8221;</div>
<div>java -jar jenkins-cli.jar -s http://localhost:8080 who-am-i &#8211;username admin &#8211;password fe3f1e1624ea4be8873b7a35e28b24be</div>
<div></div>
<div><strong>Login Jenkins using passphrase</strong></div>
<div>Go to http://jenkins-serer:8085/user/admin/configure and set the passphrase in &#8220;SSH Public Keys&#8221; and use the same passphrase with jenkins commands.</div>
<div></div>
<div><strong>E.g 1 &#8211; Getting help</strong></div>
<div>The list of the available commands depends on the server you are talking to. Visit https://jenkins.example.com/cli or use &#8216;help&#8217; command to list them all:</div>
<div>&gt; java -jar jenkins-cli.jar -s https://jenkins.example.com help [command]</div>
<div></div>
<div><strong>E.g 2 &#8211; Run Jenkins Build From Command Line</strong></div>
<div>&gt; java -jar jenkins-cli.jar -s http://&lt;jenkins server&gt;/ build build-name [-c] [-f] [-p] [-r N] [-s] [-v] [-w]</div>
<div></div>
<div>build-name : Name of the job to build</div>
<div>-c  : Check for SCM changes before starting the build, and if there&#8217;s no change, exit without doing a build</div>
<div>-f  : Follow the build progress. Like -s only interrupts are not passed through to the build.</div>
<div>-p  : Specify the build parameters in the key=value format.</div>
<div>-s  : Wait until the completion/abortion of the command. Interrupts are passed through to the build.</div>
<div>-v  : Prints out the console output of the build. Use with -s</div>
<div>-w  : Wait until the start of the command</div>
<div></div>
<div>Example  &#8211; java -jar jenkins-cli.jar -s http://localhost:8080/ build &#8216;my-project-build&#8217; &#8211;username roop &#8211;password roop</div>
<div></div>
<div><strong>E.g 3 &#8211; List all jobs under the view: tools</strong></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ list-jobs tools</div>
<div></div>
<div><strong>E.g 4 &#8211; Get the configuration of the job: template</strong></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ get-job template &gt; template.xml</div>
<div></div>
<div><strong>E.g 5 &#8211; Create a new job based on the configuration</strong></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ create-job new_job_name &lt; new_job_name.xml</div>
<div></div>
<div><strong>E.g 6 &#8211; Run groovy script</strong></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ groovy scripts/add_job_to_view.groovy</div>
<div>If there are any parameters in the script, just as:</div>
<div>import jenkins.model.*</div>
<div></div>
<div>if (args.length != 2 ) {</div>
<div>  println &#8220;Error on arguments!&#8221;</div>
<div>}</div>
<div>def jobName  = args[0] ?: &#8216;a_job&#8217;</div>
<div>def viewName = args[1] ?: &#8216;a_view&#8217;</div>
<div></div>
<div>println jobName + &#8216; &#8216; + viewName</div>
<div></div>
<div>def v = Jenkins.instance.getView(viewName)</div>
<div>def i = Jenkins.instance.getItemByFullName(jobName)</div>
<div>if (v &amp;&amp; i) {</div>
<div>  v.add(i)</div>
<div>}</div>
<div></div>
<div>pass the parameters as:</div>
<div></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ groovy scripts/add_job_to_view.groovy JOB_NAME VIEM_NAME</div>
<div></div>
<div><strong>E.g 7 &#8211; Build a job</strong></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ build new_job_name</div>
<div></div>
<div><strong>E.g 8 &#8211; Diable a job</strong></div>
<div>$ java -jar jenkins-cli.jar -s http://jenkins/ disable-job new_job_name</div>
<div></div>
<div><strong>E.g 8 &#8211; Passing parameters when triggering a job build</strong></div>
<div>Job parameters are a very handy concept. Perhaps you&#8217;ve only ever used Jenkins or another CI system to automatically run builds when a remote SCM/git repo changes. You can also trigger builds manually from within Jenkins. And whilst you&#8217;re doing that, your job can prompt for parameters to the build.</div>
<div></div>
<div>For example, we have a job named similar to &#8220;Deploy XYZ App&#8221;. It has the git repo hardcoded in the job like a normal build, but when you press &#8220;Build&#8221;, it shows a list of options: string fields, drop-down lists, etc.</div>
<div></div>
<div>When the job runs, you can use these values anywhere within your job&#8217;s configuration. Its very cool.</div>
<div></div>
<div>But how to pass those same parameters via the CLI? You use the -p key=value flag for each parameter you want to pass.</div>
<div></div>
<div>So our finished product might look like:</div>
<div>$ java -jar jenkins-cli.jar -s http://myjenkins build &#8216;Deploy XYZ App&#8217; -i ~/.ssh/id_rsa -s -v -p target_env=api.cloudfoundry.com -p branch=master</div>
<div></div>
<div><strong>Commons problems</strong></div>
<div>Operation timed out</div>
<div>$ java -jar jenkins-cli.jar -s YOUR_SERVER_URL help</div>
<div>Exception in thread &#8220;main&#8221; java.net.ConnectException: Operation timed out</div>
<div>at java.net.PlainSocketImpl.socketConnect(Native Method)</div>
<div>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)</div>
<div>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)</div>
<div>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)</div>
<div>at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)</div>
<div>at java.net.Socket.connect(Socket.java:529)</div>
<div>at java.net.Socket.connect(Socket.java:478)</div>
<div>at java.net.Socket.&lt;init&gt;(Socket.java:375)</div>
<div>at java.net.Socket.&lt;init&gt;(Socket.java:189)</div>
<div>at hudson.cli.CLI.&lt;init&gt;(CLI.java:97)</div>
<div>at hudson.cli.CLI.&lt;init&gt;(CLI.java:82)</div>
<div>at hudson.cli.CLI._main(CLI.java:250)</div>
<div>at hudson.cli.CLI.main(CLI.java:199)</div>
<div>Check that the JNLP port is opened if you are using a firewall on your server. You can configure its value in Jenkins configuration. By default it is set to use a random port.</div>
<div></div>
<div>java.io.IOException: No X-Jenkins-CLI2-Port</div>
<div>java.io.IOException: No X-Jenkins-CLI2-Port among [X-Jenkins, null, Server, X-Content-Type-Options, Connection, X-You-Are-In-Group, X-Hudson, X-Permission-Implied-By, Date, X-Jenkins-Session, X-You-Are-Authenticated-As, X-Required-Permission, Set-Cookie, Expires, Content-Length, Content-Type]</div>
<div>at hudson.cli.CLI.getCliTcpPort(CLI.java:284)</div>
<div>at hudson.cli.CLI.&lt;init&gt;(CLI.java:128)</div>
<div>at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)</div>
<div>at hudson.cli.CLI._main(CLI.java:473)</div>
<div>at hudson.cli.CLI.main(CLI.java:384)</div>
<div>Suppressed: java.io.IOException: Server returned HTTP response code: 403 for URL: <a href="http://citest.gce.px/cli" target="_blank" rel="noopener">http://citest.gce.px/cli</a></div>
<div>at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)</div>
<div>at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)</div>
<div>at hudson.cli.FullDuplexHttpStream.&lt;init&gt;(FullDuplexHttpStream.java:78)</div>
<div>at hudson.cli.CLI.connectViaHttp(CLI.java:152)</div>
<div>at hudson.cli.CLI.&lt;init&gt;(CLI.java:132)</div>
<div>&#8230; 3 more</div>
<div>Solution: Go to Manage Jenkins -&gt; Configure Global Security -&gt; &#8220;TCP port for JNLP agents&#8221;: choose fixed or random</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI" target="_blank" rel="noopener">https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI</a></div>
<div><a href="http://lifuzu.com/blog/2014/04/24/playing-with-jenkins-create-job/" target="_blank" rel="noopener">http://lifuzu.com/blog/2014/04/24/playing-with-jenkins-create-job/</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-guide-to-use-jenkins-cli-command-line/">Complete guide to use Jenkins CLI / Command line | Jenkins Tutorials</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/complete-guide-to-use-jenkins-cli-command-line/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Docker Command line Reference &#124; Docker Tutorial &#124; Docker Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/docker-commands-line-reference/</link>
					<comments>https://www.scmgalaxy.com/tutorials/docker-commands-line-reference/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 15 Jul 2016 17:50:41 +0000</pubDate>
				<category><![CDATA[CONTAINERS]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Containers]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Docker Command line]]></category>
		<category><![CDATA[Docker Command line Reference]]></category>
		<category><![CDATA[Docker Guide]]></category>
		<category><![CDATA[Docker Tutorial]]></category>
		<category><![CDATA[Reference]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/15/docker-commands-line-reference/</guid>

					<description><![CDATA[<p>One liner to stop all of Docker containers: &#62; docker stop $(docker ps -a -q) One liner to remove all [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/docker-commands-line-reference/">Docker Command line Reference | Docker Tutorial | Docker Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" class="alignnone size-full wp-image-3037 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/docker-commands-line-refere.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/docker-commands-line-refere.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/docker-commands-line-refere-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div><strong>One liner to stop all of Docker containers:</strong></div>
<div>&gt; docker stop $(docker ps -a -q)</div>
<div></div>
<div><strong>One liner to remove all of Docker containers:</strong></div>
<div>&gt; docker rm $(docker ps -a -q)</div>
<div>OR</div>
<div>&gt; docker rm $(docker images -q)</div>
<div>OR</div>
<div>&gt; docker rmi $(docker images -q)</div>
<div></div>
<div></div>
<div><strong>In case of error message Get http:///var/run/docker.sock/v1.14/containers/json?all=1: dial unix /var/run/docker.sock: permission denied</strong></div>
<div>&gt; sudo docker rm $(sudo docker ps -a -q)</div>
<div></div>
<div></div>
<div><strong>To only stop exited containers and delete only non-tagged images.:</strong></div>
<div>&gt; docker ps &#8211;filter &#8216;status=Exited&#8217; -a | xargs docker stop</div>
<div>&gt; docker images &#8211;filter &#8220;dangling=true&#8221; -q | xargs docker rmi</div>
<div></div>
<div><strong>Remove all containers that aren&#8217;t currently running:</strong></div>
<div>&gt; docker rm $(docker ps -a -q -f &#8220;status=exited*&#8221;)</div>
<div></div>
<div><strong>if not the volumes will not be delete !!! (like if you are using a mysql docker image) and all the volumes will be orphans !</strong></div>
<div>&gt; sudo docker rm -f -v $(sudo docker ps -a -q)</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/docker-commands-line-reference/">Docker Command line Reference | Docker Tutorial | Docker Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/docker-commands-line-reference/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Chef Commands Line Reference &#124; Chef Commands Line Guide &#124; Cheatsheet</title>
		<link>https://www.scmgalaxy.com/tutorials/chef-commands-line-reference/</link>
					<comments>https://www.scmgalaxy.com/tutorials/chef-commands-line-reference/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 20 Sep 2015 09:17:05 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[CheatSheet]]></category>
		<category><![CDATA[Chef commands]]></category>
		<category><![CDATA[Chef commands Guide]]></category>
		<category><![CDATA[Chef commands line]]></category>
		<category><![CDATA[Chef commands line Guide]]></category>
		<category><![CDATA[Chef commands line help]]></category>
		<category><![CDATA[Chef commands line reference]]></category>
		<category><![CDATA[Chef commands line Tutorial]]></category>
		<category><![CDATA[Chef commands reference]]></category>
		<category><![CDATA[Chef commands Tutorials]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command line]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/09/20/chef-commands-line-reference/</guid>

					<description><![CDATA[<p>To run single recipe using chef-solo &#62; chef-solo -c /opt/chef/repo/config/solo.rb -o my_cookbook::recipe To run the single reciepe in same machine [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/chef-commands-line-reference/">Chef Commands Line Reference | Chef Commands Line Guide | Cheatsheet</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-3356 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/chef-commands-line-referenc.png" alt="chef-commands-line-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/chef-commands-line-referenc.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/chef-commands-line-referenc-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>To run single recipe using chef-solo</strong></p>
<pre><code>&gt; chef-solo -c /opt/chef/repo/config/solo.rb -o my_cookbook::recipe</code></pre>
<p><strong>To run the single reciepe in same machine</strong></p>
<p>&gt; chef-apply hello.rb</p>
<p><strong>To generate the cookbook standard structure</strong></p>
<pre>&gt; chef generate cookbook learn_chef_httpd</pre>
<pre>&gt; knife cookbook create smartmontools -r md</pre>
<p><strong>To generate the template file in cookbook</strong></p>
<pre>&gt; chef generate template learn_chef_httpd index.html</pre>
<p><strong>To run the cookbook in local mode</strong></p>
<pre>&gt; sudo chef-client --local-mode --runlist ‘recipe[learn_chef_httpd]’</pre>
<pre></pre>
<p><strong>To download the cookbooks from market place</strong></p>
<pre>&gt; knife cookbook site download learn_chef_httpd</pre>
<pre>&gt; knife cookbook site install learn_chef_httpd</pre>
<pre></pre>
<p><strong>To Upload the cookbooks to chef server</strong></p>
<pre>&gt; knife cookbook upload learn_chef_httpd</pre>
<pre>&gt; knife cookbook upload -a</pre>
<p><strong>To bootstrap a nodes</strong></p>
<pre>&gt; knife bootstrap {{address}} --ssh-user {{user}} --ssh-password '{{password}}' --sudo --use-sudo-password --node-name node1 --run-list 'recipe[learn_chef_apache2]'</pre>
<pre>&gt; knife bootstrap uvo1t75faaktzc532w6.vm.cld.sr -x root -P Br356YS0iy –sudo –node-name firefox</pre>
<pre>&gt; knife bootstrap 123.45.6.789 -x username -P password –sudo</pre>
<pre></pre>
<p><strong>To see the list of nodes</strong></p>
<pre>&gt;knife node list</pre>
<p><strong>To edit the node run list</strong></p>
<pre>&gt; knife node edit name_of_node</pre>
<p><strong>To see the info about each nodes</strong></p>
<pre>&gt; knife node show node1</pre>
<p><strong>Run the cooksbooks on nodes</strong></p>
<pre>&gt; knife ssh {{address}} 'sudo chef-client' --manual-list --ssh-user {{user}} --ssh-password '{{password}}'</pre>
<pre>&gt; ssh username@ipadddress -i mycredentials.pem sudo chef-client</pre>
<p><strong>To add the run list to the nodes.</strong></p>
<pre>knife node run_list add C2445575914.domain 'recipe[hptrain]'</pre>
<pre>knife node run_list set test-node '''recipe[iptables]''' [Windows - Powershell]</pre>
<pre>knife node run_list set test-node 'recipe[iptables]' [Windows - Command]</pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/chef-commands-line-reference/">Chef Commands Line Reference | Chef Commands Line Guide | Cheatsheet</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/chef-commands-line-reference/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Command line Reference for login and trigger a job</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 05 Feb 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to login in Jenkins]]></category>
		<category><![CDATA[How to trigger a job in Jenkins]]></category>
		<category><![CDATA[Jenkins Command line]]></category>
		<category><![CDATA[Jenkins Command line Guide]]></category>
		<category><![CDATA[Jenkins Command line Reference]]></category>
		<category><![CDATA[Jenkins Command line Tutorial]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[Login Jenkins]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Trigger]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/02/05/jenkins-command-line-reference-for-login-and-trigger-a-job/</guid>

					<description><![CDATA[<p>Grep will return 0 while the build is running: $ curl http://myjenkins/job/myjob/lastBuild/api/json &#124; grep &#8211;color result\&#8221;:null $ echo $? Trigger [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/">Jenkins Command line Reference for login and trigger a job</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3535 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/jenkins-command-line-refere.png" alt="jenkins-command-line-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/jenkins-command-line-refere.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/jenkins-command-line-refere-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><b>Grep will return 0 while the build is running:</b></p>
<p>$ curl http://myjenkins/job/myjob/lastBuild/api/json | grep &#8211;color result\&#8221;:null</p>
<p>$ echo $?</p>
<p><strong>Trigger a Jenkins Job from command line</strong></p>
<p>$ wget http://yourserver/job/MyJobname/build?delay=0sec</p>
<p>$ wget -O &#8211; $HUDSON_URL/job/JOBNAME/build</p>
<p><strong>Trigger a Jenkins Job without authentication</strong></p>
<p>$ curl http://jenkins:8080/job/my%20job/build</p>
<p><strong>Trigger a Jenkins Job with authentication</strong></p>
<p>$ curl &#8211;user dbacher:$MY_API_TOKEN http://jenkins:8080/job/my%20job/build</p>
<p>$ curl &#8211;user &lt;your_jenkins_username&gt;:&lt;your_jenkins_API_key&gt; http://&lt;jenkins_server_url&gt;/job/&lt;your_jenkins_job_name&gt;/build</p>
<p><strong>Running commands against a secure Jenkins (basic auth or ssh keys)</strong></p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins help &#8211;username me &#8211;password mypassword</p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins help -i ~/.ssh/id_rsa</p>
<p><strong>Triggering a job build against a secure Jenkins (avoiding a 1.5 year old open bug!)</strong></p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins build &#8216;My Awesome Jenkins Job&#8217; -i ~/.ssh/id_rsa</p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins build &#8216;My Awesome Jenkins Job&#8217; -i ~/.ssh/id_rsa -s -v</p>
<p><strong>Passing parameters when triggering a job build</strong></p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins build &#8216;Deploy XYZ App&#8217; -i ~/.ssh/id_rsa -s -v -p target_env=api.cloudfoundry.com -p branch=master</p>
<p><strong>Reference</strong></p>
<p><a href="http://starkandwayne.com/articles/2013/04/12/jenkins-builds-from-cli/" target="_blank" rel="noopener">http://starkandwayne.com/articles/2013/04/12/jenkins-builds-from-cli/</a></p>
<p><a href="http://www.scmgalaxy.com/index.php?option=com_k2&amp;view=item&amp;id=890:ways-to-login-jenkins-using-command-line&amp;Itemid=120" target="_blank" rel="noopener">http://www.scmgalaxy.com/index.php?option=com_k2&amp;view=item&amp;id=890:ways-to-login-jenkins-using-command-line&amp;Itemid=120</a></p>
<p><strong>Appendix</strong></p>
<p>1. How to get your_jenkins_API_key?</p>
<ul>
<li>Login to your Jenkins.</li>
<li>Click on the username in the top right.</li>
<li>Click on Configure.</li>
<li>Click on ‘Show API Token’ button.</li>
<li>You got it.</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/">Jenkins Command line Reference for login and trigger a job</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>What are the ways to Login Jenkins using Command line ?</title>
		<link>https://www.scmgalaxy.com/tutorials/ways-to-login-jenkins-using-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ways-to-login-jenkins-using-command-line/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 27 May 2014 00:00:00 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Commands for login in Jenkins]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Jenkins Guide]]></category>
		<category><![CDATA[Jenkins Login]]></category>
		<category><![CDATA[Jenkins login by command line]]></category>
		<category><![CDATA[Jenkins login through command line]]></category>
		<category><![CDATA[Jenkins Tutorial]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[Login Jenkins]]></category>
		<category><![CDATA[Login Jenkins using Command line]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ways]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/05/27/ways-to-login-jenkins-using-command-line/</guid>

					<description><![CDATA[<p>Ways to Login Jenkins using Command line &#38; Way to trigger Jenkins job using Command line or script Wget Note: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ways-to-login-jenkins-using-command-line/">What are the ways to Login Jenkins using Command line ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone wp-image-3719 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/05/jenkins-login-command-line.png" alt="login-jenkins-using-command-line" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/05/jenkins-login-command-line.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/05/jenkins-login-command-line-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Ways to Login Jenkins using Command line</strong></p>
<p><strong>&amp;</strong></p>
<p><strong>Way to trigger Jenkins job using Command line or script</strong></p>
<h3>Wget</h3>
<p>Note: If you are using wget 1.11, you might need to use the following options:</p>
<div class="code panel" style="border-width: 1px;">
<div class="codeContent panelContent">
<pre class="code-java"> wget --auth-no-challenge --http-user=user --http-password=apiToken http:<span class="code-comment">//jenkins.yourcompany.com/job/your_job/build?token=TOKEN</span></pre>
</div>
</div>
<p>With wget 1.10.x the following is enough (but will not work with 1.11.x) :</p>
<div class="code panel" style="border-width: 1px;">
<div class="codeContent panelContent">
<pre class="code-java"> wget http:<span class="code-comment">//user:apiToken@jenkins.yourcompany.com/job/your_job/build?token=TOKEN
</span></pre>
<p>ex &#8211; wget http://yourserver/job/MyJobname/build?delay=0sec</p>
<h3>CURL</h3>
<p><strong>Without authentication:</strong></p>
<p><code>$ curl http://jenkins:8080/job/my%20job/build [ HTML page saying "Authentication required" ] </code></p>
<p><strong>With authentication:</strong></p>
<p><code>$ curl --user dbacher:$MY_API_TOKEN http://jenkins:8080/job/my%20job/build [ returns nothing and the build starts ] </code></p>
<pre class="code-java">curl -X POST http://server/view/name/job/jobname/build?delay=0sec --user 1019352:61bb8531292794315f5dda8113548630</pre>
</div>
</div>
<p>Login Jenkins using groovy script or Perl Script or Java, please refer the reference page&#8230;</p>
<p><strong>Reference:</strong><br />
<a href="https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients">https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients</a></p>
<p><a href="https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API">https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ways-to-login-jenkins-using-command-line/">What are the ways to Login Jenkins using Command line ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ways-to-login-jenkins-using-command-line/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Know About Jenkins CLI &#124; Jenkins CLI Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli/</link>
					<comments>https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 10 Feb 2014 04:16:10 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[About Jenkins CLI]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Jenkins CLI]]></category>
		<category><![CDATA[Jenkins CLI Guide]]></category>
		<category><![CDATA[Jenkins CLI Instructions]]></category>
		<category><![CDATA[Jenkins CLI Reference]]></category>
		<category><![CDATA[Jenkins CLI Tutorial]]></category>
		<category><![CDATA[Jenkins Command line]]></category>
		<category><![CDATA[Understand Jenkins CLI]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/02/10/know-about-jenkins-cli/</guid>

					<description><![CDATA[<p>Running CLI java -jar jenkins-cli.jar [-s JENKINS_URL] command [options&#8230;] [arguments&#8230;] Getting help java -jar jenkins-cli.jar -s yourserver.com help [command] How [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli/">Know About Jenkins CLI | Jenkins CLI Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3748 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/jenkins-cli.png" alt="jenkins-cli" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/jenkins-cli.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/jenkins-cli-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Running CLI</strong><br />
java -jar jenkins-cli.jar [-s JENKINS_URL] command [options&#8230;] [arguments&#8230;]</p>
<p><strong>Getting help</strong><br />
java -jar jenkins-cli.jar -s yourserver.com help [command]</p>
<p><strong>How to download jenkins-cli.jar?</strong><br />
The best place to download the Jenkins CLI jar is from your own Jenkins server. This means you’ll have the matching CLI version. Visit the /cli endpoint, such as http://yourserver.com/cli, and it will give you a link to download the jar (the /jnlpJars/jenkins-cli.jar endpoint). Download that jar.</p>
<p><strong>Running commands against a secure Jenkins (basic auth or ssh keys)</strong></p>
<p>If your Jenkins is secured, and it probably is so that you control who can create jobs, run jobs, view results, then the command above may fail and ask for credentials.<br />
You have two options: provide &#8211;username &amp; &#8211;password options to every command or provide -i option and provide the path to the ssh private key that matches the public key you provided to your user account.<br />
For example:</p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins help &#8211;username me &#8211;password mypassword<br />
$ java -jar jenkins-cli.jar -s http://myjenkins help -i ~/.ssh/id_rsa</p>
<p><strong>Passing parameters when triggering a job build</strong><br />
To pass those same parameters via the CLI? You use the -p key=value flag for each parameter you want to pass.</p>
<p>So our finished product might look like:</p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins build &#8216;Deploy XYZ App&#8217; -i ~/.ssh/id_rsa -s -v -p target_env=api.cloudfoundry.com -p branch=master</p>
<p>How to get all commands for Jenkins CLI-<br />
Run &gt; <a href="http://yourserver.com/cli">http://yourserver.com/cli</a></p>
<p><strong>java -jar <a href="http://fmsscm.corp.intuit.net/qbo-qa/jnlpJars/jenkins-cli.jar">jenkins-cli.jar</a> -s http://fmsscm.corp.intuit.net/qbo-qa/ help</strong></p>
<h2>Available Commands</h2>
<ul type="disc">
<li><strong>build</strong>: Builds a job, and optionally waits until its completion.</li>
<li><strong>cancel-quiet-down</strong>: Cancel the effect of the &#8220;quiet-down&#8221; command.</li>
<li><strong>clear-queue</strong>: Clears the build queue</li>
<li><strong>connect-node</strong>: Reconnect to a node</li>
<li><strong>console</strong>: Retrieves console output of a build</li>
<li><strong>copy-job</strong>: Copies a job.</li>
<li><strong>create-job</strong>: Creates a new job by reading stdin as a configuration XML file.</li>
<li><strong>create-node</strong>: Creates a new node by reading stdin as a XML configuration.</li>
<li><strong>delete-builds</strong>: Deletes build record(s).</li>
<li><strong>delete-job</strong>: Deletes a job</li>
<li><strong>delete-node</strong>: Deletes a node</li>
<li><strong>disable-job</strong>: Disables a job</li>
<li><strong>disconnect-node</strong>: Disconnects from a node</li>
<li><strong>enable-job</strong>: Enables a job</li>
<li><strong>get-job</strong>: Dumps the job definition XML to stdout</li>
<li><strong>get-node</strong>: Dumps the node definition XML to stdout</li>
<li><strong>groovy</strong>: Executes the specified Groovy script.</li>
<li><strong>groovysh</strong>: Runs an interactive groovy shell.</li>
<li><strong>help</strong>: Lists all the available commands.</li>
<li><strong>install-plugin</strong>: Installs a plugin either from a file, an URL, or from update center.</li>
<li><strong>install-tool</strong>: Performs automatic tool installation, and print its location to stdout. Can be only called from inside a build.</li>
<li><strong>keep-build</strong>: Mark the build to keep the build forever.</li>
<li><strong>list-changes</strong>: Dumps the changelog for the specified build(s).</li>
<li><strong>list-jobs</strong>: Lists all jobs in a specific view or item group.</li>
<li><strong>list-plugins</strong>: Outputs a list of installed plugins.</li>
<li><strong>login</strong>: Saves the current credential to allow future commands to run without explicit credential information.</li>
<li><strong>logout</strong>: Deletes the credential stored with the login command.</li>
<li><strong>mail</strong>: Reads stdin and sends that out as an e-mail.</li>
<li><strong>offline-node</strong>: Stop using a node for performing builds temporarily, until the next &#8220;online-node&#8221; command.</li>
<li><strong>online-node</strong>: Resume using a node for performing builds, to cancel out the earlier &#8220;offline-node&#8221; command.</li>
<li><strong>quiet-down</strong>: Quiet down Jenkins, in preparation for a restart. Don’t start any builds.</li>
<li><strong>reload-configuration</strong>: Discard all the loaded data in memory and reload everything from file system. Useful when you modified config files directly on disk.</li>
<li><strong>restart</strong>: Restart Jenkins</li>
<li><strong>safe-restart</strong>: Safely restart Jenkins</li>
<li><strong>safe-shutdown</strong>: Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then shut down Jenkins.</li>
<li><strong>session-id</strong>: Outputs the session ID, which changes every time Jenkins restarts</li>
<li><strong>set-build-description</strong>: Sets the description of a build.</li>
<li><strong>set-build-display-name</strong>: Sets the displayName of a build</li>
<li><strong>set-build-parameter</strong>: Update/set the build parameter of the current build in progress</li>
<li><strong>set-build-result</strong>: Sets the result of the current build. Works only if invoked from within a build.</li>
<li><strong>set-external-build-result</strong>: Set external monitor job result.</li>
<li><strong>set-next-build-number</strong>: Set build number to be used for next build.</li>
<li><strong>shutdown</strong>: Immediately shuts down Jenkins server</li>
<li><strong>update-job</strong>: Updates the job definition XML from stdin. The opposite of the get-job command</li>
<li><strong>update-node</strong>: Updates the node definition XML from stdin. The opposite of the get-node command</li>
<li><strong>version</strong>: Outputs the current version.</li>
<li><strong>wait-node-offline</strong>: Wait for a node to become offline</li>
<li><strong>wait-node-online</strong>: Wait for a node to become online</li>
<li><strong>who-am-i</strong>: Reports your credential and permissions</li>
</ul>
<p><strong>Reference –</strong><br />
<a href="https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI">https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI</a><br />
<a href="http://stackoverflow.com/questions/18199355/jenkins-cli-authentication">http://stackoverflow.com/questions/18199355/jenkins-cli-authentication</a><br />
<a href="http://stackoverflow.com/questions/16617232/jenkins-cli-public-key-authentication-where-to-put-my-public-key-in-jenkins">http://stackoverflow.com/questions/16617232/jenkins-cli-public-key-authentication-where-to-put-my-public-key-in-jenkins</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli/">Know About Jenkins CLI | Jenkins CLI Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Understand Jenkins CLI &#124; Jenkins CLI Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 10 Feb 2014 04:16:10 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[About Jenkins CLI]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Jenkins CLI]]></category>
		<category><![CDATA[Jenkins CLI Guide]]></category>
		<category><![CDATA[Jenkins CLI Instructions]]></category>
		<category><![CDATA[Jenkins CLI Reference]]></category>
		<category><![CDATA[Jenkins CLI Tutorial]]></category>
		<category><![CDATA[Jenkins Command line]]></category>
		<category><![CDATA[Understand Jenkins CLI]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/02/10/know-about-jenkins-cli-2/</guid>

					<description><![CDATA[<p>Running CLI java -jar jenkins-cli.jar [-s JENKINS_URL] command [options&#8230;] [arguments&#8230;] Getting help java -jar jenkins-cli.jar -s yourserver.com help [command] How [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli-2/">Understand Jenkins CLI | Jenkins CLI Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3751 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/jenkins-cli-1.png" alt="jenkins-cli" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/jenkins-cli-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/jenkins-cli-1-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Running CLI</strong><br />
java -jar jenkins-cli.jar [-s JENKINS_URL] command [options&#8230;] [arguments&#8230;]</p>
<p><strong>Getting help</strong><br />
java -jar jenkins-cli.jar -s yourserver.com help [command]</p>
<p><strong>How to download jenkins-cli.jar?</strong><br />
The best place to download the Jenkins CLI jar is from your own Jenkins server. This means you’ll have the matching CLI version. Visit the /cli endpoint, such as http://yourserver.com/cli, and it will give you a link to download the jar (the /jnlpJars/jenkins-cli.jar endpoint). Download that jar.</p>
<p><strong>Running commands against a secure Jenkins (basic auth or ssh keys)</strong></p>
<p>If your Jenkins is secured, and it probably is so that you control who can create jobs, run jobs, view results, then the command above may fail and ask for credentials.<br />
You have two options: provide &#8211;username &amp; &#8211;password options to every command or provide -i option and provide the path to the ssh private key that matches the public key you provided to your user account.<br />
For example:</p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins help &#8211;username me &#8211;password mypassword<br />
$ java -jar jenkins-cli.jar -s http://myjenkins help -i ~/.ssh/id_rsa</p>
<p><strong>Passing parameters when triggering a job build</strong><br />
To pass those same parameters via the CLI? You use the -p key=value flag for each parameter you want to pass.</p>
<p>So our finished product might look like:</p>
<p>$ java -jar jenkins-cli.jar -s http://myjenkins build &#8216;Deploy XYZ App&#8217; -i ~/.ssh/id_rsa -s -v -p target_env=api.cloudfoundry.com -p branch=master</p>
<p>How to get all commands for Jenkins CLI-<br />
Run &gt; <a href="http://yourserver.com/cli">http://yourserver.com/cli</a></p>
<p><strong>java -jar <a href="http://fmsscm.corp.intuit.net/qbo-qa/jnlpJars/jenkins-cli.jar">jenkins-cli.jar</a> -s http://fmsscm.corp.intuit.net/qbo-qa/ help</strong></p>
<h2>Available Commands</h2>
<ul type="disc">
<li><strong>build</strong>: Builds a job, and optionally waits until its completion.</li>
<li><strong>cancel-quiet-down</strong>: Cancel the effect of the &#8220;quiet-down&#8221; command.</li>
<li><strong>clear-queue</strong>: Clears the build queue</li>
<li><strong>connect-node</strong>: Reconnect to a node</li>
<li><strong>console</strong>: Retrieves console output of a build</li>
<li><strong>copy-job</strong>: Copies a job.</li>
<li><strong>create-job</strong>: Creates a new job by reading stdin as a configuration XML file.</li>
<li><strong>create-node</strong>: Creates a new node by reading stdin as a XML configuration.</li>
<li><strong>delete-builds</strong>: Deletes build record(s).</li>
<li><strong>delete-job</strong>: Deletes a job</li>
<li><strong>delete-node</strong>: Deletes a node</li>
<li><strong>disable-job</strong>: Disables a job</li>
<li><strong>disconnect-node</strong>: Disconnects from a node</li>
<li><strong>enable-job</strong>: Enables a job</li>
<li><strong>get-job</strong>: Dumps the job definition XML to stdout</li>
<li><strong>get-node</strong>: Dumps the node definition XML to stdout</li>
<li><strong>groovy</strong>: Executes the specified Groovy script.</li>
<li><strong>groovysh</strong>: Runs an interactive groovy shell.</li>
<li><strong>help</strong>: Lists all the available commands.</li>
<li><strong>install-plugin</strong>: Installs a plugin either from a file, an URL, or from update center.</li>
<li><strong>install-tool</strong>: Performs automatic tool installation, and print its location to stdout. Can be only called from inside a build.</li>
<li><strong>keep-build</strong>: Mark the build to keep the build forever.</li>
<li><strong>list-changes</strong>: Dumps the changelog for the specified build(s).</li>
<li><strong>list-jobs</strong>: Lists all jobs in a specific view or item group.</li>
<li><strong>list-plugins</strong>: Outputs a list of installed plugins.</li>
<li><strong>login</strong>: Saves the current credential to allow future commands to run without explicit credential information.</li>
<li><strong>logout</strong>: Deletes the credential stored with the login command.</li>
<li><strong>mail</strong>: Reads stdin and sends that out as an e-mail.</li>
<li><strong>offline-node</strong>: Stop using a node for performing builds temporarily, until the next &#8220;online-node&#8221; command.</li>
<li><strong>online-node</strong>: Resume using a node for performing builds, to cancel out the earlier &#8220;offline-node&#8221; command.</li>
<li><strong>quiet-down</strong>: Quiet down Jenkins, in preparation for a restart. Don’t start any builds.</li>
<li><strong>reload-configuration</strong>: Discard all the loaded data in memory and reload everything from file system. Useful when you modified config files directly on disk.</li>
<li><strong>restart</strong>: Restart Jenkins</li>
<li><strong>safe-restart</strong>: Safely restart Jenkins</li>
<li><strong>safe-shutdown</strong>: Puts Jenkins into the quiet mode, wait for existing builds to be completed, and then shut down Jenkins.</li>
<li><strong>session-id</strong>: Outputs the session ID, which changes every time Jenkins restarts</li>
<li><strong>set-build-description</strong>: Sets the description of a build.</li>
<li><strong>set-build-display-name</strong>: Sets the displayName of a build</li>
<li><strong>set-build-parameter</strong>: Update/set the build parameter of the current build in progress</li>
<li><strong>set-build-result</strong>: Sets the result of the current build. Works only if invoked from within a build.</li>
<li><strong>set-external-build-result</strong>: Set external monitor job result.</li>
<li><strong>set-next-build-number</strong>: Set build number to be used for next build.</li>
<li><strong>shutdown</strong>: Immediately shuts down Jenkins server</li>
<li><strong>update-job</strong>: Updates the job definition XML from stdin. The opposite of the get-job command</li>
<li><strong>update-node</strong>: Updates the node definition XML from stdin. The opposite of the get-node command</li>
<li><strong>version</strong>: Outputs the current version.</li>
<li><strong>wait-node-offline</strong>: Wait for a node to become offline</li>
<li><strong>wait-node-online</strong>: Wait for a node to become online</li>
<li><strong>who-am-i</strong>: Reports your credential and permissions</li>
</ul>
<p><strong>Reference –</strong><br />
<a href="https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI">https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI</a><br />
<a href="http://stackoverflow.com/questions/18199355/jenkins-cli-authentication">http://stackoverflow.com/questions/18199355/jenkins-cli-authentication</a><br />
<a href="http://stackoverflow.com/questions/16617232/jenkins-cli-public-key-authentication-where-to-put-my-public-key-in-jenkins">http://stackoverflow.com/questions/16617232/jenkins-cli-public-key-authentication-where-to-put-my-public-key-in-jenkins</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli-2/">Understand Jenkins CLI | Jenkins CLI Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/know-about-jenkins-cli-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Maven CLI Options Reference &#8211; Command Line &#124; Maven Command Line Cheatsheet</title>
		<link>https://www.scmgalaxy.com/tutorials/maven-cli-options-reference-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/maven-cli-options-reference-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 12 Sep 2013 10:06:42 +0000</pubDate>
				<category><![CDATA[Maven]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Command line options]]></category>
		<category><![CDATA[Maven CLI]]></category>
		<category><![CDATA[Maven CLI Options]]></category>
		<category><![CDATA[Maven CLI Options Description]]></category>
		<category><![CDATA[Maven CLI Options Guide]]></category>
		<category><![CDATA[Maven CLI Options Instructions]]></category>
		<category><![CDATA[Maven CLI Options Reference]]></category>
		<category><![CDATA[Maven CLI Options Tutorial]]></category>
		<category><![CDATA[Maven CLI Reference]]></category>
		<category><![CDATA[Maven Command Line Cheatsheet]]></category>
		<category><![CDATA[Options]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Understand Maven CLI Options]]></category>
		<category><![CDATA[Useful Maven CLI Options]]></category>
		<category><![CDATA[Useful Maven Commands]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2013/09/12/maven-cli-options-reference-command-line/</guid>

					<description><![CDATA[<p>Maven CLI Options Reference Options Description -am,--also-make If project list is specified, also build projects required by the list -amd,--also-make-dependents [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/maven-cli-options-reference-command-line/">Maven CLI Options Reference &#8211; Command Line | Maven Command Line Cheatsheet</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3739 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/09/maven-cli-options-reference.png" alt="maven-cli-options-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/09/maven-cli-options-reference.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/09/maven-cli-options-reference-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h2>
<h2>Maven CLI Options Reference<a name="Maven_CLI_Options_Reference"></a></h2>
<table class="zebra-striped" border="1">
<tbody>
<tr class="a">
<th><strong>Options</strong></th>
<th><strong>Description</strong></th>
</tr>
<tr class="b">
<td><code>-<a name="am"></a>am,--<a name="also-make"></a>also-make</code></td>
<td>If project list is specified, also build projects required by the list</td>
</tr>
<tr class="a">
<td><code>-<a name="amd"></a>amd,--<a name="also-make-dependents"></a>also-make-dependents</code></td>
<td>If project list is specified, also build projects that depend on projects on the list</td>
</tr>
<tr class="a">
<td>&#8211;<a name="B"></a>B,&#8211;<a name="batch-mode"></a>batch-mode</td>
<td>Run in non-interactive (batch) mode</td>
</tr>
<tr class="a">
<td><code>-<a name="C"></a>C,--<a name="strict-checksums"></a>strict-checksums</code></td>
<td>Fail the build if checksums don&#8217;t match</td>
</tr>
<tr class="b">
<td><code>-<a name="c"></a>c,--<a name="lax-checksums"></a>lax-checksums</code></td>
<td>Warn if checksums don&#8217;t match</td>
</tr>
<tr class="a">
<td><code>-<a name="cpu"></a>cpu,--<a name="check-plugin-updates"></a>check-plugin-updates</code></td>
<td>Ineffective, only kept for backward compatibility</td>
</tr>
<tr class="b">
<td><code>-<a name="D"></a>D,--<a name="define"></a>define &lt;arg&gt;</code></td>
<td>Define a system property</td>
</tr>
<tr class="a">
<td><code>-<a name="e"></a>e,--<a name="errors"></a>errors</code></td>
<td>Produce execution error messages</td>
</tr>
<tr class="b">
<td><code>-<a name="emp"></a>emp,--<a name="encrypt-master-password"></a>encrypt-master-password &lt;arg&gt;</code></td>
<td>Encrypt master security password</td>
</tr>
<tr class="a">
<td><code>-<a name="ep"></a>ep,--<a name="encrypt-password"></a>encrypt-password &lt;arg&gt;</code></td>
<td>Encrypt server password</td>
</tr>
<tr class="b">
<td><code>-<a name="f"></a>f,--<a name="file"></a>file &lt;arg&gt;</code></td>
<td>Force the use of an alternate POM file (or directory with pom.xml).</td>
</tr>
<tr class="a">
<td><code>-<a name="fae"></a>fae,--<a name="fail-at-end"></a>fail-at-end</code></td>
<td>Only fail the build afterwards; allow all non-impacted builds to continue</td>
</tr>
<tr class="b">
<td><code>-<a name="ff"></a>ff,--<a name="fail-fast"></a>fail-fast</code></td>
<td>Stop at first failure in reactorized builds</td>
</tr>
<tr class="a">
<td><code>-<a name="fn"></a>fn,--<a name="fail-never"></a>fail-never</code></td>
<td>NEVER fail the build, regardless of project result</td>
</tr>
<tr class="b">
<td><code>-<a name="gs"></a>gs,--<a name="global-settings"></a>global-settings &lt;arg&gt;</code></td>
<td>Alternate path for the global settings file</td>
</tr>
<tr class="a">
<td><code>-<a name="h"></a>h,--<a name="help"></a>help</code></td>
<td>Display help information</td>
</tr>
<tr class="b">
<td><code>-<a name="l"></a>l,--<a name="log-file"></a>log-file &lt;arg&gt;</code></td>
<td>Log file to where all build output will go.</td>
</tr>
<tr class="a">
<td><code>-<a name="llr"></a>llr,--<a name="legacy-local-repository"></a>legacy-local-repository</code></td>
<td>Use Maven 2 Legacy Local Repository behaviour, ie no use of _maven.repositories. Can also be activated by using -Dmaven.legacyLocalRepo=true</td>
</tr>
<tr class="b">
<td><code>-<a name="N"></a>N,--<a name="non-recursive"></a>non-recursive</code></td>
<td>Do not recurse into sub-projects</td>
</tr>
<tr class="a">
<td><code>-<a name="npr"></a>npr,--<a name="no-plugin-registry"></a>no-plugin-registry</code></td>
<td>Ineffective, only kept for backward compatibility</td>
</tr>
<tr class="b">
<td><code>-<a name="npu"></a>npu,--<a name="no-plugin-updates"></a>no-plugin-updates</code></td>
<td>Ineffective, only kept for backward compatibility</td>
</tr>
<tr class="a">
<td><code>-<a name="nsu"></a>nsu,--<a name="no-snapshot-updates"></a>no-snapshot-updates</code></td>
<td>Suppress SNAPSHOT updates</td>
</tr>
<tr class="b">
<td><code>-<a name="o"></a>o,--<a name="offline"></a>offline</code></td>
<td>Work offline</td>
</tr>
<tr class="a">
<td><code>-<a name="P"></a>P,--<a name="activate-profiles"></a>activate-profiles &lt;arg&gt;</code></td>
<td>Comma-delimited list of profiles to activate</td>
</tr>
<tr class="b">
<td><code>-<a name="pl"></a>pl,--<a name="projects"></a>projects &lt;arg&gt;</code></td>
<td>Comma-delimited list of specified reactor projects to build instead of all projects. A project can be specified by [groupId]:artifactId or by its relative path.</td>
</tr>
<tr class="a">
<td><code>-<a name="q"></a>q,--<a name="quiet"></a>quiet</code></td>
<td>Quiet output &#8211; only show errors</td>
</tr>
<tr class="b">
<td><code>-<a name="rf"></a>rf,--<a name="resume-from"></a>resume-from &lt;arg&gt;</code></td>
<td>Resume reactor from specified project</td>
</tr>
<tr class="a">
<td><code>-<a name="s"></a>s,--<a name="settings"></a>settings &lt;arg&gt;</code></td>
<td>Alternate path for the user settings file</td>
</tr>
<tr class="b">
<td><code>-<a name="T"></a>T,--<a name="threads"></a>threads &lt;arg&gt;</code></td>
<td>Thread count, for instance 2.0C where C is core multiplied</td>
</tr>
<tr class="a">
<td><code>-<a name="t"></a>t,--<a name="toolchains"></a>toolchains &lt;arg&gt;</code></td>
<td>Alternate path for the user toolchains file</td>
</tr>
<tr class="b">
<td><code>-<a name="U"></a>U,--<a name="update-snapshots"></a>update-snapshots</code></td>
<td>Forces a check for updated releases and snapshots on remote repositories</td>
</tr>
<tr class="a">
<td><code>-<a name="up"></a>up,--<a name="update-plugins"></a>update-plugins</code></td>
<td>Ineffective, only kept for backward compatibility</td>
</tr>
<tr class="b">
<td><code>-<a name="V"></a>V,--<a name="show-version"></a>show-version</code></td>
<td>Display version information WITHOUT stopping build</td>
</tr>
<tr class="a">
<td><code>-<a name="v"></a>v,--<a name="version"></a>version</code></td>
<td>Display version information</td>
</tr>
<tr class="b">
<td><code>-<a name="X"></a>X,--<a name="debug"></a>debug</code></td>
<td>Produce execution debug output</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/maven-cli-options-reference-command-line/">Maven CLI Options Reference &#8211; Command Line | Maven Command Line Cheatsheet</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/maven-cli-options-reference-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Understand Ant command line arguments with Examples</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-command-line-arguments-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-command-line-arguments-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 06 Oct 2009 11:36:10 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant command line arguments]]></category>
		<category><![CDATA[Ant command line arguments Examples]]></category>
		<category><![CDATA[Arguments]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command line arguments in ANt]]></category>
		<category><![CDATA[command-line argument]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How to pass ant command line arguments]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Understand]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/10/06/ant-command-line-arguments-2/</guid>

					<description><![CDATA[<p>Several tasks take arguments that will be passed to another process on the command line. To make it easier to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-command-line-arguments-2/">Understand Ant command line arguments with Examples</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4073 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/10/ant-command-line-arguments.png" alt="ant-command-line-arguments" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/10/ant-command-line-arguments.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/10/ant-command-line-arguments-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Several tasks take arguments that will be passed to another process on the command line. To make it easier to specify arguments that contain space characters, nested arg elements can be used.</strong></p>
<p><strong>value</strong> &#8211; a single command-line argument; can contain space characters.</p>
<p><strong>file </strong>&#8211; The name of a file as a single command-line argument; will be replaced with the absolute filename of the file.</p>
<p><strong>path</strong> &#8211; A string that will be treated as a path-like string as a single command-line argument; you can use ; or : as path separators and Ant will convert it to the platform&#8217;s local conventions.</p>
<p><strong>pathref</strong> &#8211; Reference to a path defined elsewhere. Ant will convert it to the platform&#8217;s local conventions.</p>
<p><strong>line</strong> &#8211; a space-delimited list of command-line arguments.</p>
<p>It is highly recommended to avoid the line version when possible. Ant will try to split the command line in a way similar to what a (Unix) shell would do, but may create something that is very different from what you expect under some circumstances.</p>
<p><strong>Examples</strong></p>
<p>&lt;arg value=&#8221;-l -a&#8221;/&gt;</p>
<p>is a single command-line argument containing a space character.</p>
<p>&lt;arg line=&#8221;-l -a&#8221;/&gt;</p>
<p>represents two separate command-line arguments.</p>
<p>&lt;arg path=&#8221;/dir;/dir2:\dir3&#8243;/&gt;</p>
<p>is a single command-line argument with the value \dir;\dir2;\dir3 on DOS-based systems and /dir:/dir2:/dir3 on Unix-like systems.</p>
<p>Command-line Options Summary<br />
ant [options] [target [target2 [target3] &#8230;]]</p>
<table style="border-collapse: collapse; width: 310pt;" border="2" width="414" cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 74pt;" width="99" />
<col style="width: 236pt;" width="315" /></colgroup>
<tbody>
<tr style="height: 15.75pt;">
<td class="xl65" style="height: 15.75pt; width: 74pt;" width="99" height="21"><strong>Options:</strong></td>
<td class="xl66" style="border-left: medium none; width: 236pt;" width="315"></td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-help, -h</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Displays help information describing the Ant command and its options</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-projecthelp, -p</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Print project help information</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-version</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Print the version information and exit</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-diagnostics</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Print information that might be helpful to diagnose or report problems.</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-quiet, -q</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Suppresses most messages not originated by an echo task in the buildfile</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-verbose, -v</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Displays detailed messages for every operation during a build.</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-debug, -d</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Print debugging information</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-emacs, -e</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Produce logging information without adornments</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-lib &lt;path&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Specifies a path to search for jars and classes</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-logfile &lt;file&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Use given file for log</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-l &lt;file&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Use given file for log</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-logger &lt;classname&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Specifies a class to handle Ant logging.</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-listener &lt;classname&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Add an instance of class as a project listener</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-noinput</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Do not allow interactive input</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-buildfile &lt;file&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Use given buildfile</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-file &lt;file&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Use given buildfile</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-f &lt;file&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Use given buildfile</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-D&lt;property&gt;=&lt;value&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Defines a property name-value pair on the command line.</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-keep-going, -k</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">execute all targets that do not depend on failed target(s)</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-propertyfile &lt;name&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">load all properties from file with -D properties taking precedence</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-inputhandler &lt;class&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">the class which will handle input requests</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl67" style="border-top: medium none; height: 15.75pt; padding-bottom: 0in; padding-top: 0in;" height="21">-find &lt;file&gt;</td>
<td class="xl67" style="border-top: medium none; border-left: medium none; padding-bottom: 0in; padding-top: 0in;">Search for buildfile towards the root of the filesystem and use it</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-command-line-arguments-2/">Understand Ant command line arguments with Examples</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-command-line-arguments-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WinZip Command Line &#124; WinZip Command line CheatSheet &#8211; Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/winzip-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/winzip-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 05:12:41 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[List of WinZip Command]]></category>
		<category><![CDATA[Quick guide]]></category>
		<category><![CDATA[WinZip]]></category>
		<category><![CDATA[WinZip Command Line]]></category>
		<category><![CDATA[WinZip Command line CheatSheet]]></category>
		<category><![CDATA[WinZip Command line Guide]]></category>
		<category><![CDATA[WinZip Command line reference]]></category>
		<category><![CDATA[WinZip Command line Resource]]></category>
		<category><![CDATA[WinZip Command line Tutorial]]></category>
		<category><![CDATA[WinZip Command List]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/winzip-command-line/</guid>

					<description><![CDATA[<p>The default action is to add or replace zipfile entries from list, which can include the special name &#8211; to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/winzip-command-line/">WinZip Command Line | WinZip Command line CheatSheet &#8211; Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><!-- [if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves/>   <w:TrackFormatting/>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF/>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>X-NONE</w:LidThemeAsian>   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>    <w:SplitPgBreakAndParaMark/>    <w:DontVertAlignCellWithSp/>    <w:DontBreakConstrainedForcedTables/>    <w:DontVertAlignInTxbx/>    <w:Word11KerningPairs/>    <w:CachedColBalance/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>   <m:mathPr>    <m:mathFont m:val="Cambria Math"/>    <m:brkBin m:val="before"/>    <m:brkBinSub m:val="--"/>    <m:smallFrac m:val="off"/>    <m:dispDef/>    <m:lMargin m:val="0"/>    <m:rMargin m:val="0"/>    <m:defJc m:val="centerGroup"/>    <m:wrapIndent m:val="1440"/>    <m:intLim m:val="subSup"/>    <m:naryLim m:val="undOvr"/>   </m:mathPr></w:WordDocument> </xml><![endif]--><!-- [if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true" DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267">   <w:LsdException Locked="false" Priority="0" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Normal"/>   <w:LsdException Locked="false" Priority="9" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>   <w:LsdException Locked="false" Priority="39" Name="toc 1"/>   <w:LsdException Locked="false" Priority="39" Name="toc 2"/>   <w:LsdException Locked="false" Priority="39" Name="toc 3"/>   <w:LsdException Locked="false" Priority="39" Name="toc 4"/>   <w:LsdException Locked="false" Priority="39" Name="toc 5"/>   <w:LsdException Locked="false" Priority="39" Name="toc 6"/>   <w:LsdException Locked="false" Priority="39" Name="toc 7"/>   <w:LsdException Locked="false" Priority="39" Name="toc 8"/>   <w:LsdException Locked="false" Priority="39" Name="toc 9"/>   <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>   <w:LsdException Locked="false" Priority="10" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Title"/>   <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>   <w:LsdException Locked="false" Priority="11" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>   <w:LsdException Locked="false" Priority="22" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Strong"/>   <w:LsdException Locked="false" Priority="20" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>   <w:LsdException Locked="false" Priority="59" SemiHidden="false" UnhideWhenUsed="false" Name="Table Grid"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>   <w:LsdException Locked="false" Priority="1" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 1"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 1"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 1"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>   <w:LsdException Locked="false" Priority="34" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>   <w:LsdException Locked="false" Priority="29" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Quote"/>   <w:LsdException Locked="false" Priority="30" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 1"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 1"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 2"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 2"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 2"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 2"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 2"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 3"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 3"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 3"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 3"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 3"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 4"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 4"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 4"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 4"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 4"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 5"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 5"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 5"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 5"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 5"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 6"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 6"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 6"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 6"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 6"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>   <w:LsdException Locked="false" Priority="19" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>   <w:LsdException Locked="false" Priority="21" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>   <w:LsdException Locked="false" Priority="31" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>   <w:LsdException Locked="false" Priority="32" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>   <w:LsdException Locked="false" Priority="33" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>   <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>   <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>  </w:LatentStyles> </xml><![endif]--> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> <!-- [if gte mso 10]>



<style>  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman","serif";} </style>

 <![endif]--></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4042 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/winzip-command-line.png" alt="winzip-command-line" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/winzip-command-line.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/winzip-command-line-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p class="MsoNormal">The default action is to add or replace zipfile entries from list, which can include the special name &#8211; to compress standard input. If zipfile and list are omitted, zip compresses stdin to stdout.</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong> -f   freshen: only changed files                   -u   update: only changed or new files</strong></p>
<p class="MsoNormal"><strong> -d   delete entries in zipfile                         -m   move into zipfile (delete files)</strong></p>
<p class="MsoNormal"><strong> -k   force MSDOS (8+3) file names           -g   allow growing existing zipfile</strong></p>
<p class="MsoNormal"><strong> -r   recurse into directories                          -j   junk (don&#8217;t record) directory names</strong></p>
<p class="MsoNormal"><strong> -0   store only                                                   -l   convert LF to CR LF (-ll CR LF to LF)</strong></p>
<p class="MsoNormal"><strong> -1   compress faster                                       -9   compress better</strong></p>
<p class="MsoNormal"><strong> -q   quiet operation                                        -v   verbose operation/print version info</strong></p>
<p class="MsoNormal"><strong> -c   add one-line comments                        -z   add zipfile comment</strong></p>
<p class="MsoNormal"><strong> -b   use &#8220;path&#8221; for temp file                        -t   only do files after &#8220;mmddyy&#8221;</strong></p>
<p class="MsoNormal"><strong> -@   read names from stdin                        -o   make zipfile as old as latest entry</strong></p>
<p class="MsoNormal"><strong> -x   exclude the following names              -i   include only the following names</strong></p>
<p class="MsoNormal"><strong> -F   fix zipfile (-FF try harder)                      -D   do not add directory entries</strong></p>
<p class="MsoNormal"><strong> -A   adjust self-extracting exe                    -J   junk zip file prefix (unzipsfx)</strong></p>
<p class="MsoNormal"><strong> -T   test zipfile integrity                                 -X   eXclude eXtra file attributes</strong></p>
<p class="MsoNormal"><strong> -$   include volume label                              -S   include system and hidden files</strong></p>
<p class="MsoNormal"><strong> -h   show this help                                          -n   don&#8217;t compress these suffixes</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/winzip-command-line/">WinZip Command Line | WinZip Command line CheatSheet &#8211; Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/winzip-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>“Cheat Sheet” of Perforce command-line &#124; Perforce command-line Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/cheat-sheet-of-perforce-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/cheat-sheet-of-perforce-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:59:12 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Data-mining commands]]></category>
		<category><![CDATA[p4]]></category>
		<category><![CDATA[p4 changes]]></category>
		<category><![CDATA[p4 filelog]]></category>
		<category><![CDATA[p4 files]]></category>
		<category><![CDATA[P4V]]></category>
		<category><![CDATA[Perforce Command Reference]]></category>
		<category><![CDATA[Perforce command-line]]></category>
		<category><![CDATA[Perforce command-line Cheat Sheet]]></category>
		<category><![CDATA[Perforce command-line Guide]]></category>
		<category><![CDATA[Perforce command-line Help]]></category>
		<category><![CDATA[Perforce command-line List]]></category>
		<category><![CDATA[Perforce command-line Reference]]></category>
		<category><![CDATA[Perforce command-line Resource]]></category>
		<category><![CDATA[Perforce command-line Tutorial]]></category>
		<category><![CDATA[Reference guide]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/cheat-sheet-of-perforce-command-line/</guid>

					<description><![CDATA[<p>A way to remember data-mining commands The following is a set of questions that will be used during the Perforce [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cheat-sheet-of-perforce-command-line/">“Cheat Sheet” of Perforce command-line | Perforce command-line Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-4061 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/perforce-command-line-cheat.png" alt="perforce-command-line-cheatsheet" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/perforce-command-line-cheat.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/perforce-command-line-cheat-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table border="0" width="100%">
<tbody>
<tr>
<td class="HEADING">A way to remember data-mining commands</td>
</tr>
<tr>
<td class="HEADING_BODY">The following is a set of questions that will be used during the Perforce training to remind students which “data-mining” commands to use for specific situations. Perforce is a terrific tool, but it’s easy to get lost in the choices between “p4 files” and “p4 changes” and “p4 filelog” and so on. This list can help a great deal.</p>
<table border="1" width="100%">
<tbody>
<tr>
<td bgcolor="#666666">
<div align="center"><strong><span style="color: #ffffff;">the question starts with…</span></strong></div>
</td>
<td bgcolor="#666666">
<div align="center"><strong><span style="color: #ffffff;">the answer starts with…<br />
</span></strong></div>
</td>
<td bgcolor="#666666">
<div align="center"><strong><span style="color: #ffffff;">Examples</span></strong></div>
</td>
</tr>
<tr>
<td>“What are the filenames that…?”</td>
<td>“p4 files….”</td>
<td>p4 files //depot/…#have<br />
p4 have<br />
p4 files //depot/…<br />
(which is the same as)<br />
p4 files //depot/…#head<br />
p4 files //depot/…@label<br />
p4 files //depot/…@client<br />
p4 files //depot/…@2001/02/12<br />
p4 files //depot/…@1541</td>
</tr>
<tr>
<td>“What are the differences between the<br />
workspace copy of XXX and the depot<br />
copy of XXX?”</td>
<td>“p4 diff …”</td>
<td>• p4 diff file.c<br />
• p4 diff file.c#2<br />
• p4 diff file.c#head<br />
• p4 diff //… or “p4 diff”<br />
• p4 diff –se</td>
</tr>
<tr>
<td>“What are the differences the depot copy<br />
of ______ and the depot copy of ______?”</td>
<td>“p4 diff2 ….”</td>
<td>• p4 diff2 file1.c file2.c<br />
• p4 diff2 file1.c#1 file.c#2<br />
• p4 diff2 dir1/… dir2/…<br />
• p4 diff2 dir1/…@now dir1/…@2000/01/02</td>
</tr>
<tr>
<td>“Tell me everything about changelist #___.”</td>
<td>“p4 describe”</td>
<td>• p4 describe 1231</td>
</tr>
<tr>
<td>“What’s a list of changelists that….?”</td>
<td>“p4 changes….”</td>
<td>• p4 changes<br />
(which is the same as)<br />
p4 changes //…<br />
• p4 changes file.c<br />
• p4 changes –i file.c | grep 1255<br />
• p4 changes //depot/…@label1,@label2</td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td class="HEADING">“Cheat Sheet” of Perforce command-line</td>
</tr>
<tr>
<td class="HEADING_BODY">The following list is a set of helpful commands that anyone can run, but that the person administering the Perforce codelines will<br />
be using a lot. They’re included here for quick reference.</p>
<table border="1" width="100%">
<tbody>
<tr>
<td align="left" valign="top" bgcolor="#999999">
<div align="center"><span style="color: #ffffff;"><strong>Function</strong></span></div>
</td>
<td align="left" valign="top" bgcolor="#999999">
<div align="center"><span style="color: #ffffff;"><strong>Commands</strong></span></div>
</td>
</tr>
<tr>
<td align="left" valign="top">Create a new workspace…<br />
1. That’s modeled after the<br />
“1.0dev” workspace – same<br />
mappings<br />
2. That’s the Perforce defaults,</td>
<td align="left" valign="top">Set the workspace name using “p4 set” or in the environment. Then run:<br />
1. p4 client –t 1.0dev<br />
2. p4 client</td>
</tr>
<tr>
<td align="left" valign="top">Retrieve a file as of<br />
1. Now (head revision)<br />
2. April 15, 2000<br />
3. Label “xyz”<br />
4. Changelist 123456<br />
5. the revision that client<br />
“jab.work” has retrieved<br />
6. The revision you had before<br />
accidently bashing your disk</td>
<td align="left" valign="top">Use “p4 sync” as follows:<br />
1. p4 sync file.java<br />
p4 sync file.java#head<br />
p4 sync file.java@now<br />
2. p4 sync file.java@2000/04/15<br />
3. p4 sync file.java@xyz<br />
4. p4 sync file.java@123456<br />
5. p4 sync file.java@jab.work<br />
6. p4 sync –f file.java#have<br />
See “p4 help revisions” for more examples. Note that anywhere that “file.java” is used in these<br />
examples, a full pathname (“c:\work\projects\file.java”) or depot name<br />
(“//depot/rel_218/base/projects/file.java”) could be used.</td>
</tr>
<tr>
<td align="left" valign="top">Open a file for:<br />
1. add<br />
2. edit<br />
3. delete<br />
And then publish the change to others<br />
.</td>
<td align="left" valign="top">Use “p4” with the appropriate verb:<br />
• p4 add file.java<br />
• p4 edit file.java<br />
• p4 delete file.java<br />
Then “p4 submit” to publish it</td>
</tr>
<tr>
<td align="left" valign="top">What have I changed in the files I<br />
have opened for edit?</td>
<td align="left" valign="top">• p4 diff (for all opened files)<br />
• p4 diff file1 file2 (for specific files)</td>
</tr>
<tr>
<td align="left" valign="top">Undo a checkout.</td>
<td align="left" valign="top">If the file hasn’t been submitted yet:<br />
• Use “p4 revert –a” to find all opened files that have no modifications – it’ll revert those.<br />
• Use “p4 revert file.java” to revert an individual file.<br />
• Use “p4 revert //…” to revert all files.<br />
Remember that “p4 revert” is irreversible.<br />
If the file has been submitted, you’ll need to open the file for edit and check in a prior revision.<br />
Use very good change descriptions to say what you did and why.</td>
</tr>
<tr>
<td align="left" valign="top">Interrupt your work to edit a single<br />
file and check it in, without any other<br />
disruptions. (You’re hacking Java and<br />
someone needs a “relnotes.txt”<br />
updated ASAP to issue a release.)</td>
<td align="left" valign="top">Two ways:<br />
1. Edit the file and submit only that file.<br />
• p4 edit relnotes.txt<br />
• do the modifications<br />
• p4 submit relnotes.txt<br />
2. Make a new changelist to manage just that change.<br />
• p4 change<br />
remove all the files in this change from the Files: section, it’ll create an empty<br />
change.<br />
• p4 edit –c XXX relnotes.txt<br />
where XXX is the change number in the previous step<br />
• p4 submit –c XXX</td>
</tr>
<tr>
<td align="left" valign="top">Publish your work to others</td>
<td align="left" valign="top">“p4 submit”</td>
</tr>
<tr>
<td align="left" valign="top">Compress the data on the net<br />
because you have a slow modem line<br />
between your workspace and the<br />
server.</td>
<td align="left" valign="top">Run “p4 client” for your workspace, and change the options from “nocompress” to “compress”.<br />
(Read “p4 help client” for details.)</td>
</tr>
<tr>
<td align="left" valign="top">Get the list of…<br />
1. All changelists applied to the<br />
base codeline<br />
2. … to the prodxyz codeline<br />
3. … to the prodxyz codeline,<br />
including those applied<br />
originally to another codeline<br />
and integrated into prodxyz<br />
4. All revisions of file.java</td>
<td align="left" valign="top">Use “p4 changes” or “p4 filelog” as follows:<br />
1. p4 changes //depot/eng/…<br />
2. p4 changes //depot/eng/prodxyz/…<br />
3. p4 changes –i //depot/eng/prodxyz/…<br />
4. p4 filelog file.java</td>
</tr>
<tr>
<td align="left" valign="top">Push … from the base codeline<br />
(“prodxyz”) to the 1.0.1 codeline<br />
(“prodxyz-1.0.1”):<br />
1. Push change #1232<br />
2. From change #129 to #134<br />
3. all changes in the base<br />
codeline</td>
<td align="left" valign="top">Use “p4 integrate –b prodxyz-1.0.1” as the place to start, in each case:<br />
1. p4 integ –b prodxyz-1.0.1 //…@=1232<br />
2. p4 integ –b prodxyz-1.0.1 //…@129,@134<br />
3. p4 integ –b prodxyz-1.0.1 (no additional args)<br />
Note that this assumes that the named branch specification “prodxyz-1.0.1” has been created<br />
by your project lead or administrator using “p4 branch”.</td>
</tr>
<tr>
<td align="left" valign="top">Push … from the prodxyz-1.0.1<br />
codeline to the base (“prodxyz”)<br />
codeline:<br />
1. Push change #1235<br />
2. From change #127 to #128<br />
3. all changes in the base</td>
<td align="left" valign="top">Use “p4 integrate –b prodxyz-1.0.1” as the place to start, in each case:<br />
1. p4 integ –b prodxyz-1.0.1 –r @=1235<br />
2. p4 integ –b prodxyz-1.0.1 –r //…@127,@128<br />
3. p4 integ –b prodxyz-1.0.1 –r (no additional args)<br />
The “-r” reverses the order of source/target in that named branch specification.<br />
Note that for the ‘selective integration’ cases, you’ll want to be VERY CAUTIOUS of ‘accept<br />
theirs’.</td>
</tr>
<tr>
<td align="left" valign="top">Show the ‘diff’ between the<br />
prodxyz-1.0.1 codeline and its<br />
parent</td>
<td align="left" valign="top">“p4 diff2 –b prodxyz-1.0.1” (This works because “prodxyz” is the name of the branch<br />
specification, not because “prodxyz” is part of “//depot/prodxyz/…”)</td>
</tr>
<tr>
<td align="left" valign="top">What branches do I have?</td>
<td align="left" valign="top">If you use “p4 branch” to create branch specifications and use them consistently, then “p4<br />
branches” provides this info.</td>
</tr>
<tr>
<td align="left" valign="top">How do I make a new codeline<br />
named prodxyz-2.0?</td>
<td align="left" valign="top">There are several steps:<br />
1. Make a named branch specification. Save it.<br />
• “p4 prodxyz-2.0”<br />
• if you want to exactly imitate another branch (e.g. prodxyz), use<br />
“p4 branch –o prodxyz-1.0.1 &gt; tmp” to capture the output, edit this temporary file<br />
and replace the “1.0.1” references with “2.0”, then run “p4 branch –i &lt; tmp”.<br />
2. Run the “p4 integrate” command to populate this new codeline. Submit the change.<br />
• p4 integrate –b prodxyz-2.0<br />
or, if you want to push content as of a certain label (e.g. “xyz”) from the parent,<br />
p4 integrate –b prodxyz-2.0 //…@xyz<br />
• p4 submit<br />
3. Send e-mail telling everyone about this codeline and what it’s used for.</td>
</tr>
<tr>
<td align="left" valign="top">Put everything onto a laptop, you’re<br />
going to the beach and want to hack.<br />
(This assumes that you won’t be<br />
connected to a net while away.)</td>
<td align="left" valign="top">There are several steps:<br />
1. Connect the laptop to the net.<br />
2. Run “p4 sync” to populate the source onto the laptop.<br />
3. Leave for the beach.<br />
4. While editing, use “chmod” or “attrib” to make the files writeable. Make your changes.<br />
5. Get back to work, reconnect to the net.<br />
6. Run the following commands to tell you what’s updated and open them for<br />
add/edit/delete:<br />
• p4 diff –se | p4 –x – edit<br />
• p4 diff –sd | p4 –x – delete<br />
• find . –type f –print | p4 –x – add<br />
Then inspect what’s opened (“p4 opened”) and what you’ve changed (“p4 diff”). Submit or<br />
revert as appropriate.</td>
</tr>
<tr>
<td align="left" valign="top">Run a checkpoint</td>
<td align="left" valign="top">“p4 admin checkpoint” – only an administrator can run this. (An administrator has “super”<br />
permissions in the “p4 protect” data.)<br />
Be sure to back up the checkpoint, the current journal, and each of the “depot” directories on<br />
the server machine!</td>
</tr>
<tr>
<td align="left" valign="top">Change the security/permissions</td>
<td align="left" valign="top">“p4 protect” – only an administrator can run this.<br />
Also…<br />
“p4 protects” – used in 2006.1 and later to TELL you your permissions .</td>
</tr>
<tr>
<td align="left" valign="top">Make a label</td>
<td align="left" valign="top">It’s a two-step process:<br />
1. Make the label using “p4 label xxx”<br />
2. Populate it using “p4 labelsync –l xxx”<br />
or if you have a specific list of files,<br />
“p4 labelsync –l xxx file1 file2 …”.</td>
</tr>
<tr>
<td align="left" valign="top">Copy a label’s contents to another<br />
label. Assume that the existing label<br />
is “xxx” and the new label is to be<br />
“abc”.</td>
<td align="left" valign="top">Again, a two-step process:<br />
1. Make the label using “p4 label –t xxx abc”<br />
2. Populate it using<br />
“p4 labelsync –l abc //…@xxx”<br />
Note that the second step is really identical to the second step in the previous question – we’re<br />
just specifying a very specific list of revisions [of files] to include in the new label.<br />
(Also…<br />
In 2005.1 and later, “p4 tag” will make the label and apply it to a set of files.)</td>
</tr>
<tr>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/cheat-sheet-of-perforce-command-line/">“Cheat Sheet” of Perforce command-line | Perforce command-line Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/cheat-sheet-of-perforce-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows XP/2000 Commands &#038; Tools &#124; Windows XP Command-line Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/windows-xp-2000-commands-tools/</link>
					<comments>https://www.scmgalaxy.com/tutorials/windows-xp-2000-commands-tools/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:35:19 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[CheatSheet]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[List of Windows XP/2000 Command-line]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Useful Commands of Windows XP/2000]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Windows XP Command-line Cheatsheet]]></category>
		<category><![CDATA[Windows XP Command-line Guide]]></category>
		<category><![CDATA[Windows XP Command-line Reference]]></category>
		<category><![CDATA[Windows XP Command-line Resource]]></category>
		<category><![CDATA[Windows XP Command-line Tutorial]]></category>
		<category><![CDATA[Windows XP Commands help]]></category>
		<category><![CDATA[Windows XP/2000]]></category>
		<category><![CDATA[Windows XP/2000 Commands]]></category>
		<category><![CDATA[Windows XP/2000 Tools]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/windows-xp-2000-commands-tools/</guid>

					<description><![CDATA[<p>Here&#8217;s the ultimate Windows XP/2000 command list that will make any Linux user feel at home at the command prompt. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/windows-xp-2000-commands-tools/">Windows XP/2000 Commands &#038; Tools | Windows XP Command-line Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4065" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/windows-xp-2000-commands-to-1.png" alt="windows-xp-2000-commands-tools" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/windows-xp-2000-commands-to-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/windows-xp-2000-commands-to-1-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><span style="color: black; font-family: Arial; font-size: small;"><span style="font-size: 10pt;">Here&#8217;s the ultimate Windows XP/2000 command list that will make any Linux user feel at home at the command prompt. A lot of these commands are intended for administrating a network, but they are great for savvy home users as well.  We even listed which OS you need for these commands.</span></span></p>
<p style="text-align: center;" align="center"><strong><span style="color: black; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-weight: bold;">Many thanks to the digg users who &#8216;dugg&#8217; our site and care to leave comments of helpful commands that we have left out!</span></span></strong></p>
<ul>
<li class="MsoNormal" style="color: black;"><strong><span style="color: black; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">at </span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;">(windows XP/2000)<strong><span style="font-weight: bold;"><br />
</span></strong>Scheduling utility. </span></span></li>
<li class="MsoNormal" style="color: black;"><strong><span style="color: black; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">bootcfg</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
This utility allows you to set up your boot options, such as your default OS and other loading options. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: black; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; color: black;"><a href="http://www.scmgalaxy.com"><strong><span style="color: #333333;"><span style="color: #333333; font-weight: bold;">cacls</span></span></strong></a></span></span><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP, 2000, &amp; NT4.0)<br />
Changes the ACLs (security Settings) of files and folders. Very similar to chmod in Linux.  </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">comp</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
This utility is very similar to diff in Linux.  Use the /? switch to get examples of command usage. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><strong><span style="font-weight: bold;">contig</span></strong> (works with NT4.0 and newer)<br />
A great defrag utility for NTFS partitions. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">control</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only) &#8211; </span></span><em><span style="color: #aa1111; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; color: #aa1111; font-style: italic;">unpublished!</span></span></em><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><br />
Allows you to launch control panel applets from the command line.  </span></span><span style="color: #aa1111; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; color: #aa1111;">control userpasswords2</span></span><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;">, for example will launch a helpful local user admin utility. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><strong><span style="font-weight: bold;">defrag</span></strong> (XP only &#8211; NT4.0 and Win2k use contig)<br />
Yes, XP comes with a command line disk defrag utility. If you are running Win2k or NT4.0 there is still hope. Contig is a free defrag program that I describe on the defrag page. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">diskpart</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Use this command to manage your disk partitions.  This is the text version for the GUI Disk Manager. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">driverquery</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Produces a list of drivers, their properties, and their versions. Great for computer documentation. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">eudcedit</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only) &#8211; </span></span><em><span style="color: #aa1111; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; color: #aa1111; font-style: italic;">unpublished!</span></span></em><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><br />
Private Character editor.  Yes with this program built into Windows XP you can create your own font! </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">fsutil</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only) &#8211; </span></span><em><span style="color: #aa1111; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; color: #aa1111; font-style: italic;">unpublished!</span></span></em><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><br />
This is a utility with a lot of capability.  Come back soon for great examples. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">getmac</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
This command gets the Media Access Control (MAC) address of your network cards. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">gpresult</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
This generates a summary of the user settings and computer group policy settings. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">gpupdate</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Use this utility to manually apply computer and user policy from your windows 2000 (or newer) domain. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><strong><span style="font-weight: bold;">ipconfig</span></strong> (XP, 2000 &amp; NT4.0)<br />
This handy tool displays IP settings of the current computer and much more. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><strong><span style="font-weight: bold;">MMC</span></strong> (XP, 2000 &amp; NT4.0) &#8211; Microsoft Management Console<br />
This is the master tool for Windows, it is the main interface in which all other tools use starting primarily in Windows 2000 and newer systems. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">more<br />
</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;">Utility used to display text output one screen at a time. Ex. more c:\windows\win.ini </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><strong><span style="font-weight: bold;">msconfig</span></strong> (XP only)<br />
The ultimate tool to change the services and utilities that start when your Windows machine boots up. You can also copy the executable from XP and use it in Win2k. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">msinfo32</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp;smp; 2000)<br />
An awesome diagnostic tool. With it you can get a list of running processes, including the residing path of the executable (great for manually removing malware) and get detailed information about hardware and system diagnostics. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">narrator</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Turns on the system narrator (can also be found in accessibility options in control panel).  Will will allow your computer to dictate text to you. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">netsh</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
A network configuration tool console.  At the &#8216;netsh&gt;&#8217; prompt, use the &#8216;?&#8217; to list the available commands and type &#8220;exit&#8221; to get back to a command prompt. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">nslookup</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (all)<br />
A DNS name resolution tool. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">openfiles (XP Only)</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><br />
Allows an administrator to display or disconnect open files in XP professional. Type &#8220;openfiles /?&#8221; for a list of possible parameters. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">Pathping</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
A cross between the ping and traceroute utilities. Who needs Neotrace when you can use this? Type &#8220;pathping &lt;ip address&gt;&#8221; and watch it go. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">recover</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
This command can recover readable information from a damaged disk and is very easy to use. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">reg</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
A console registry tool, great for scripting Registry edits. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">sc</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
A command line utility called the Service Controller.  A power tool to make service changes via a logon/logoff or startup/shutdown script. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">schtasks</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
A newer version of the AT command.  This allows an administrator to schedule and manage scheduled tasks on a local and remote machines. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">secedit</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
Use this utility to manually apply computer and user policy from your windows 2000 (or newer) domain.  Example to update the machine policy: secedit /refreshpolicy machine_policy /enforce<br />
To view help on this, just type secedit.<br />
NOTE: In Windows XP SP1 and news, this command is superceded by: gpupdate /force </span></span></li>
<li class="MsoNormal" style="color: #333333;"><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"><strong><span style="font-weight: bold;">sfc</span></strong> (XP &amp; 2000)<br />
The system file checker scans important system files and replaces the ones you (or your applications) hacked beyond repair with the real, official Microsoft versions. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">shutdown</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
With this tool, You can shut down or restart your own computer, or an administrator can shut down or restart a remote computer. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">sigverif</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Microsoft has created driver signatures. A signed driver is Microsoft tested and approved. With the sigverif tool you can have all driver files analyzed to verify that they are digitally signed. Just type &#8216;sigverif&#8217; at the command prompt. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">systeminfo</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Basic system configuration information, such as the system type, the processor type, time zone, virtual memory settings, system uptime, and much more.  This program is great for creating an inventory of computers on your network. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">sysedit</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP/2000)<br />
System Configuration File Editor.  An old tool that was very handy for the Windows 9X days.  msconfig is what you want to use now. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">tasklist</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP pro only)<br />
Tasklist is the command console equivalent to the task manager in windows. It is a must have when fighting scumware and viruses. Try the command:<br />
tasklist /svc<br />
to view the memory resources your services take up. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">taskkill</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP only)<br />
Taskkill contains the rest of the task manager functionality.  It allows you to kill those unneeded or locked up applications. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">tree</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
An amazing experience everyone should try!  This command will provide a &#8216;family tree&#8217; style display of the drive/folder you specify. </span></span></li>
<li class="MsoNormal" style="color: #333333;"><strong><span style="color: #333333; font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">WMIC</span></span></strong><span style="font-family: Arial; font-size: small;"><span style="font-size: 10pt; font-family: Arial;"> (XP &amp; 2000)<br />
Windows Management Instrumentation Command tool.  This allows you to pull an amazing amount of low-level system information from a command line scripting interface. </span></span></li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/windows-xp-2000-commands-tools/">Windows XP/2000 Commands &#038; Tools | Windows XP Command-line Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/windows-xp-2000-commands-tools/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Command line switches of devenv.exe &#124; Devenv command line switches Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/command-line-switches-of-devenvexe/</link>
					<comments>https://www.scmgalaxy.com/tutorials/command-line-switches-of-devenvexe/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:34:43 +0000</pubDate>
				<category><![CDATA[IDEs and Editor]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Command line switch]]></category>
		<category><![CDATA[Command Line Switches]]></category>
		<category><![CDATA[Command-Line Reference]]></category>
		<category><![CDATA[Devenv Command Line Switches]]></category>
		<category><![CDATA[Devenv Switch Commands]]></category>
		<category><![CDATA[Devenv Switches]]></category>
		<category><![CDATA[devenv.exe]]></category>
		<category><![CDATA[devenv.exe Command Line Switches]]></category>
		<category><![CDATA[devenv.exe command line switches Guide]]></category>
		<category><![CDATA[devenv.exe command line switches Tutorial]]></category>
		<category><![CDATA[devenv.exe Switches]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Switch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/command-line-switches-of-devenvexe/</guid>

					<description><![CDATA[<p>To see this list, type devenv /? on command prompt /build &#8211; build the specified solution configuration &#160; /project &#8211; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/command-line-switches-of-devenvexe/">Command line switches of devenv.exe | Devenv command line switches Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4037 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/command-line-switches-of-de.png" alt="devenvexe-command-line-switches" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/command-line-switches-of-de.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/command-line-switches-of-de-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>To see this list, type devenv /? on command prompt</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/build &#8211; build the specified solution configuration</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/project &#8211; specifies the project to build instead of solution, must specify /build to use /project</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/projectconfig &#8211; specifies project configuration to build, must specify /project to use /projectconfig</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/out &#8211; write build output to specified file</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/rebuild &#8211; like /build, but forces a clean first</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/clean &#8211; clean up build outputs</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/deploy &#8211; build the specified solution configuration and then deploy it</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/run &#8211; run the specified solution configuration</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/runexit &#8211; run the specified solution configuration and then terminate</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/command &#8211; executes the specified internal command line after startup</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/mditabs &#8211; use tabbed documents interface</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/mdi &#8211; use MDI interface</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/fn &#8211; use specified font name</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/fs &#8211; use specified font size</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/LCID &#8211; use specified language ID</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/noVSIP &#8211; disables VSIP developers license key for VSIP testing</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>/safemode &#8211; only default environment and services load for stability</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>/resetskippkgs &#8211; allow VSPackages once flagged for loading failures to load again</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/command-line-switches-of-devenvexe/">Command line switches of devenv.exe | Devenv command line switches Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/command-line-switches-of-devenvexe/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to run Remote Desktop Console by using command line?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-run-remote-desktop-console-using-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-run-remote-desktop-console-using-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:24:04 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command line for Remote Desktop]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to run Remote Desktop by commands]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Remote connection]]></category>
		<category><![CDATA[Remote Desktop Console]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Run command]]></category>
		<category><![CDATA[Run command for remote desktop]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/how-to-run-remote-desktop-console-using-command-line/</guid>

					<description><![CDATA[<p>How to run Remote Desktop Console using command line If you may want to run Desktop Console from a batch [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-remote-desktop-console-using-command-line/">How to run Remote Desktop Console by using command line?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4006" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/desktop-console-using-comma.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/desktop-console-using-comma.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/desktop-console-using-comma-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table border="0" width="100%">
<tbody>
<tr>
<td class="HEADING"><strong>How to run Remote Desktop Console using command line</strong></td>
</tr>
<tr>
<td class="HEADING_BODY">If you may want to run Desktop Console from a batch file, for example RDC over VPN, you can use mstsc /v:servername /console command.</p>
<p><strong>Mstsc</strong></p>
<p>Creates connections to terminal servers or other remote computers, edits an existing Remote Desktop Connection (.rdp) configuration file, and migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.</p>
<p><strong>Syntax</strong></p>
<p>mstsc.exe {ConnectionFile | /v:ServerName[:Port]} [/console] [/f] [/w:Width /h:Height]<br />
mstsc.exe /edit&#8221;ConnectionFile&#8221;<br />
mstsc.exe /migrate<br />
Parameters</p>
<p><strong>ConnectionFile</strong></p>
<p>Specifies the name of an .rdp file for the connection.<br />
/v:ServerName[:Port]<br />
Specifies the remote computer and, optionally, the port number to which you want to connect.</p>
<p><strong>/console</strong><br />
Connects to the console session of the specified Windows Server 2003 family operating system.</p>
<p><strong>/f</strong><br />
Starts Remote Desktop connection in full-screen mode.</p>
<p><strong>/w:Width /h:Height</strong><br />
Specifies the dimensions of the Remote Desktop screen.</p>
<p><strong>/edit&#8221;ConnectionFile&#8221;</strong><br />
Opens the specified .rdp file for editing.</p>
<p><strong>/migrate</strong><br />
Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.</p>
<p><strong>Remarks</strong><br />
* You must be an administrator on the server to which you are connecting to create a remote console connection.<br />
* default.rdp is stored for each user as a hidden file in My Documents. User created .rdp files are stored by default in My Documents but can be moved anywhere.<br />
Examples</p>
<p>To connect to the console session of a server, type:<br />
mstsc /console</p>
<p>To open a file called filename.rdp for editing, type:<br />
mstsc /edit filename.rdp</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-remote-desktop-console-using-command-line/">How to run Remote Desktop Console by using command line?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-run-remote-desktop-console-using-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ant command line arguments &#8211; Examples &#8211; Summary</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-command-line-arguments/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-command-line-arguments/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:04:31 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Ant command line arguments]]></category>
		<category><![CDATA[Ant command line arguments Examples]]></category>
		<category><![CDATA[Arguments]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command line arguments in ANt]]></category>
		<category><![CDATA[command-line argument]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How to pass ant command line arguments]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/ant-command-line-arguments/</guid>

					<description><![CDATA[<p>Ant command line arguments Several tasks take arguments that will be passed to another process on the command line. To [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-command-line-arguments/">Ant command line arguments &#8211; Examples &#8211; Summary</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4015 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-command-line-arguments.png" alt="ant-command-line-arguments" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-command-line-arguments.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-command-line-arguments-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table border="0" width="100%">
<tbody>
<tr>
<td class="HEADING"><strong>Ant command line arguments</strong></td>
</tr>
<tr>
<td class="HEADING_BODY">Several tasks take arguments that will be passed to another process on the command line. To make it easier to specify arguments that contain space characters, nested arg elements can be used.</p>
<p><strong><em>value</em></strong> &#8211; a single command-line argument; can contain space characters.<br />
<strong><em>file</em></strong><em> &#8211; </em>The name of a file as a single command-line argument; will be replaced with the absolute filename of the file.<br />
<strong><em>path</em></strong><em> &#8211; </em>A string that will be treated as a path-like string as a single command-line argument; you can use ; or : as path separators and Ant will convert it to the platform&#8217;s local conventions.<br />
<strong><em>pathref</em></strong><em> &#8211;</em> Reference to a path defined elsewhere. Ant will convert it to the platform&#8217;s local conventions.<br />
<strong><em>line </em></strong><em>&#8211; </em>a space-delimited list of command-line arguments.</p>
<p>It is highly recommended to avoid the line version when possible. Ant will try to split the command line in a way similar to what a (Unix) shell would do, but may create something that is very different from what you expect under some circumstances.</td>
</tr>
<tr>
<td class="HEADING"><strong>Examples</strong></td>
</tr>
<tr>
<td class="HEADING_BODY">&lt;arg value=&#8221;-l -a&#8221;/&gt;<br />
is a single command-line argument containing a space character.<br />
&lt;arg line=&#8221;-l -a&#8221;/&gt;<br />
represents two separate command-line arguments.<br />
&lt;arg path=&#8221;/dir;/dir2:\dir3&#8243;/&gt;<br />
is a single command-line argument with the value \dir;\dir2;\dir3 on DOS-based systems and /dir:/dir2:/dir3 on Unix-like systems.</td>
</tr>
<tr>
<td class="HEADING"><strong>Command-line Options Summary</strong></td>
</tr>
<tr>
<td class="HEADING_BODY">ant [options] [target [target2 [target3] &#8230;]]</p>
<p>Options:</p>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>-help, -h</td>
<td>Displays help information describing the Ant command and its options</td>
</tr>
<tr>
<td>-projecthelp, -p</td>
<td>Print project help information</td>
</tr>
<tr>
<td>-version</td>
<td>Print the version information and exit</td>
</tr>
<tr>
<td>-diagnostics</td>
<td>Print information that might be helpful to diagnose or report problems.</td>
</tr>
<tr>
<td>-quiet, -q</td>
<td>Suppresses most messages not originated by an echo task in the buildfile</td>
</tr>
<tr>
<td>-verbose, -v</td>
<td>Displays detailed messages for every operation during a build.</td>
</tr>
<tr>
<td>-debug, -d</td>
<td>Print debugging information</td>
</tr>
<tr>
<td>-emacs, -e</td>
<td>Produce logging information without adornments</td>
</tr>
<tr>
<td>-lib &lt;path&gt;</td>
<td>Specifies a path to search for jars and classes</td>
</tr>
<tr>
<td>-logfile &lt;file&gt;</td>
<td>Use given file for log</td>
</tr>
<tr>
<td>-l &lt;file&gt;</td>
<td>Use given file for log</td>
</tr>
<tr>
<td>-logger &lt;classname&gt;</td>
<td>Specifies a class to handle Ant logging.</td>
</tr>
<tr>
<td>-listener &lt;classname&gt;</td>
<td>Add an instance of class as a project listener</td>
</tr>
<tr>
<td>-noinput</td>
<td>Do not allow interactive input</td>
</tr>
<tr>
<td>-buildfile &lt;file&gt;</td>
<td>Use given buildfile</td>
</tr>
<tr>
<td>-file &lt;file&gt;</td>
<td>Use given buildfile</td>
</tr>
<tr>
<td>-f &lt;file&gt;</td>
<td>Use given buildfile</td>
</tr>
<tr>
<td>-D&lt;property&gt;=&lt;value&gt;</td>
<td>Defines a property name-value pair on the command line.</td>
</tr>
<tr>
<td>-keep-going, -k</td>
<td>execute all targets that do not depend on failed target(s)</td>
</tr>
<tr>
<td>-propertyfile &lt;name&gt;</td>
<td>load all properties from file with -D properties taking precedence</td>
</tr>
<tr>
<td>-inputhandler &lt;class&gt;</td>
<td>the class which will handle input requests</td>
</tr>
<tr>
<td>-find &lt;file&gt;</td>
<td>Search for buildfile towards the root of the filesystem and use it</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="HEADING_BODY"></td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-command-line-arguments/">Ant command line arguments &#8211; Examples &#8211; Summary</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-command-line-arguments/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Command Line to find a Change list properties in perforce server</title>
		<link>https://www.scmgalaxy.com/tutorials/command-line-to-find-a-change-list-properties-in-perforce-server/</link>
					<comments>https://www.scmgalaxy.com/tutorials/command-line-to-find-a-change-list-properties-in-perforce-server/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 12 Jan 2009 12:04:18 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Changelist]]></category>
		<category><![CDATA[Changes]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Command Reference]]></category>
		<category><![CDATA[Find]]></category>
		<category><![CDATA[Line]]></category>
		<category><![CDATA[p4]]></category>
		<category><![CDATA[p4 Command Line]]></category>
		<category><![CDATA[Perforce get changelist number]]></category>
		<category><![CDATA[Perforce server]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/12/command-line-to-find-a-change-list-properties-in-perforce-server/</guid>

					<description><![CDATA[<p>Command Line to find a Change list properties and associated path of the file in perforce server view: Examples of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/command-line-to-find-a-change-list-properties-in-perforce-server/">Command Line to find a Change list properties in perforce server</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3644 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/command-line-to-find-a-chan.png" alt="command-line-to-find-a-change-list-properties-in-perforce-server" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/command-line-to-find-a-chan.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/command-line-to-find-a-chan-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Command Line to find a Change list properties and associated path of the file in perforce server view:</strong></p>
<p>Examples of the command you want:<br />
p4 describe 1231928<br />
p4 describe -s 1231928<br />
p4 files @=1231928</p>
<p>Where 1231928 is the change list number.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/command-line-to-find-a-change-list-properties-in-perforce-server/">Command Line to find a Change list properties in perforce server</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/command-line-to-find-a-change-list-properties-in-perforce-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Batch Script to Login and sync the files from perforce &#124; Step by step guide</title>
		<link>https://www.scmgalaxy.com/tutorials/batch-script-to-login-and-sync-the-files-from-perforce/</link>
					<comments>https://www.scmgalaxy.com/tutorials/batch-script-to-login-and-sync-the-files-from-perforce/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 12 Jan 2009 11:43:29 +0000</pubDate>
				<category><![CDATA[Batch Scripting]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Batch Command]]></category>
		<category><![CDATA[Batch File Login]]></category>
		<category><![CDATA[Batch Script]]></category>
		<category><![CDATA[Batch Script to Login Perforce server]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[Perforce server login by using command line]]></category>
		<category><![CDATA[Porcess]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/01/12/batch-script-to-login-and-sync-the-files-from-perforce/</guid>

					<description><![CDATA[<p>Batch Script to Login Perforce server using command line Step 1: Create a new text file Step2: Copy following command [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/batch-script-to-login-and-sync-the-files-from-perforce/">Batch Script to Login and sync the files from perforce | Step by step guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-3646 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/batch-script-to-login-and-s.png" alt="batch-script-to-login-and-sync-the-files-from-perforce" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/batch-script-to-login-and-s.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/01/batch-script-to-login-and-s-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Batch Script to Login Perforce server using command line</strong></p>
<p><strong>Step 1: </strong>Create a new text file<br />
<strong>Step2: </strong>Copy following command<br />
%path%<br />
@echo on<br />
p4 -p172.28.16.2:1666 -uUserName -P&#8221;Password&#8221; -c&#8221;Client_Name&#8221; client –o</p>
<p>Where<br />
UserName is User name of perforce server<br />
Password is Password of the perforce server.<br />
Client_Name is the existing perforce client</p>
<p><strong>Step3: </strong>Save with .bat extension</p>
<p><strong>Step4:</strong> Run the batch file</p>
<p><strong>Batch Script to Login and sync the files from perforce view</strong></p>
<p><strong>Step 1: </strong>Create a new text file<br />
<strong>Step2: </strong>Copy following command<br />
@echo off<br />
p4 -c Client_Name -p 172.28.16.2:1666 -u UserName-P Password sync -f //SEABU/LiveStateDelivery/LSDMaintenance/Components/Webadmin/&#8230; //SYSTEMBUILDSTAR/LiveStateDelivery/LSDMaintenance/Components/Webadmin/&#8230;</p>
<p>Where<br />
UserName is User name of perforce server<br />
Password is Password of the perforce server.<br />
Client_Name is the existing perforce client</p>
<p><strong>Step3:</strong> Save with .bat extension</p>
<p><strong>Step4:</strong> Run the batch file</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/batch-script-to-login-and-sync-the-files-from-perforce/">Batch Script to Login and sync the files from perforce | Step by step guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/batch-script-to-login-and-sync-the-files-from-perforce/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
