<?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 Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/command/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/command/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:44 +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>How do you create a composer.json file by using this command in your project?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-do-you-create-a-composer-json-file-by-using-this-command-in-your-project/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-do-you-create-a-composer-json-file-by-using-this-command-in-your-project/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 13:09:46 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8589</guid>

					<description><![CDATA[<p>We need to create a folder in xampp server. I am going to the local server (C /Drive ) then [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-do-you-create-a-composer-json-file-by-using-this-command-in-your-project/">How do you create a composer.json file by using this command in your project?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">We need to create a folder in xampp server. I am going to the local server (C /Drive ) then going to xampp server. Here at htdocs. Then here we will create a project folder that will run on the server.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-craete.png" alt="" class="wp-image-8591" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-craete.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-craete-300x150.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-xammp1.png" alt="" class="wp-image-8596" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-xammp1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-xammp1-300x150.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/htdocs-file.png" alt="" class="wp-image-8597" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/htdocs-file.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/htdocs-file-300x150.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-name.png" alt="" class="wp-image-8600" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-name.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-name-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph">I will need a text editor I am using Visual studio code you can use notepad, notepad++, sublime text anything.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vs-code.png" alt="" class="wp-image-8602" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vs-code.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vs-code-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph">Then Visual Studio Code has to be opened. After that open folder cmp has to go there location me c/drive/xampp/htdocs/ after that select project folder cmp. Here my project folder has been opened.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-craete-1.png" alt="" class="wp-image-8605" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-craete-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-craete-1-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph">Here we create a file index.php and write the code of the PHP in it. And if we need to start the server, then we have to go to Windows Search and search xampp. After that open it and start the Apache server.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/php-code.png" alt="" class="wp-image-8606" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/php-code.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/php-code-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/localhost-cmp.png" alt="" class="wp-image-8607" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/localhost-cmp.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/localhost-cmp-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph">After this, we have to run on the tube, for that we have to do a few searches in the search in Windows Manu and open the Run Administrator.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="977" height="514" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/run-administrator.png" alt="" class="wp-image-8614" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/run-administrator.png 977w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/run-administrator-300x158.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/run-administrator-768x404.png 768w" sizes="auto, (max-width: 977px) 100vw, 977px" /><figcaption>After that, we have to go to my own project of CMD.</figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="978" height="515" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-project-cmp.png" alt="" class="wp-image-8618" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-project-cmp.png 978w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-project-cmp-300x158.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/go-to-project-cmp-768x404.png 768w" sizes="auto, (max-width: 978px) 100vw, 978px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="979" height="511" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-folder.png" alt="" class="wp-image-8627" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-folder.png 979w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-folder-300x157.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/project-folder-768x401.png 768w" sizes="auto, (max-width: 979px) 100vw, 979px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="979" height="510" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/composer-init.png" alt="" class="wp-image-8628" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/composer-init.png 979w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/composer-init-300x156.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/composer-init-768x400.png 768w" sizes="auto, (max-width: 979px) 100vw, 979px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="980" height="514" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vender.png" alt="" class="wp-image-8630" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vender.png 980w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vender-300x157.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/vender-768x403.png 768w" sizes="auto, (max-width: 980px) 100vw, 980px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="545" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/packages-generation-1024x545.png" alt="" class="wp-image-8631" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/packages-generation-1024x545.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/packages-generation-300x160.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/packages-generation-768x409.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/packages-generation.png 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-do-you-create-a-composer-json-file-by-using-this-command-in-your-project/">How do you create a composer.json file by using this command in your project?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-do-you-create-a-composer-json-file-by-using-this-command-in-your-project/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is composer.JSON? How do I use it?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-composer-json-how-do-i-use-it/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-composer-json-how-do-i-use-it/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 16:31:50 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8406</guid>

					<description><![CDATA[<p>A file is generated from the composer tool. Which is the main file of the whole project which we call [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-composer-json-how-do-i-use-it/">What is composer.JSON? How do I use it?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">A file is generated from the composer tool. Which is the main file of the whole project which we call the composer file. The extension file is composer.json. It is the main composer.json that defines your project requirements.</p>



<script src="https://gist.github.com/vijaypk376/c3954db13ebe043e8993e0bb49fcd63f.js"></script>



<h2 class="wp-block-heading">How to setup a new or existing package</h2>



<p class="wp-block-paragraph">You can also say how to create a composer.json file in a Project to make it a package.</p>



<ul class="wp-block-list"><li>Ussing composer init Command</li><li>Manually Creating composer.json file</li></ul>



<h3 class="wp-block-heading">Ussing composer init Command</h3>



<p class="wp-block-paragraph">composer init &#8211; It is used to set up a new or existing package. The init command creates a basic composer.json file in the current directory.<br>Every project is a package.<br>As soon as you a composer.json in a directory, that directory is a package.</p>



<h3 class="wp-block-heading">composer.json</h3>



<p class="wp-block-paragraph">Package name &#8211; in order to make that package installable you need to give it a name. It consists of vendor name and project name, separated by/. The name can contain any character, including white spaces, names are case insensitive, the convention is all lowercase and dashes for word separation. It is required for published packages(libraries).</p>



<p class="wp-block-paragraph">Syntax:- vendorname/packagename</p>



<p class="wp-block-paragraph">Ex:- devopsschool/dev</p>



<script src="https://gist.github.com/vijaypk376/e3c8bb76a3f4323dd6100ca9e3e7096c.js"></script>



<p class="wp-block-paragraph"><strong>Description- </strong>A short description of the package. Usually, this is one line long. It is required for published packages(libraries).</p>



<p class="wp-block-paragraph"><strong>Authors &#8211; </strong>The authors of the package. This is an array of objects.</p>



<p class="wp-block-paragraph"><strong>Each author object can have the following properties:</strong></p>



<ul class="wp-block-list"><li>name: The author&#8217;s name. Usually their real name.</li><li>email: The author&#8217;s email aaddress.</li><li>homepage: An URL to the author&#8217;s website.</li><li>role: The author&#8217;s role in the prject (e.g. developer or translator)</li></ul>



<script src="https://gist.github.com/vijaypk376/278c0cd63fbbdaf41226ff182438ddf9.js"></script>



<p class="wp-block-paragraph"><strong>Minimum Stability &#8211;</strong> Composer accepts these flags as minimum-stability settings. The defualt setting for minimun-stability if not provided is assumed to be stable, but you sould define any of the flags down the hierarchy.</p>



<ul class="wp-block-list"><li>stable (most stable)</li><li>re</li><li>beta</li><li>alpha</li><li>dev (least stable)</li></ul>



<p class="wp-block-paragraph"><strong>Package Type &#8211;</strong> Package types are used for custom installation logic. If you have a package that needs some special logic, you can define a custom type. It default to library.</p>



<ul class="wp-block-list"><li>Library</li><li>Project</li><li>Metaapackage</li><li>Composer-plugin</li></ul>



<p class="wp-block-paragraph">License &#8211; The license of the package. This can be either a string or an array of strings.</p>



<p class="wp-block-paragraph"><strong>Ex:- MIT</strong></p>



<script src="https://gist.github.com/vijaypk376/a41cdb2e13a9d3b69db4625491a997d6.js"></script>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-composer-json-how-do-i-use-it/">What is composer.JSON? How do I use it?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-composer-json-how-do-i-use-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Composer in Laravel?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-composer-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-composer-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Thu, 26 Aug 2021 11:20:58 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[global command]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[libraries]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8342</guid>

					<description><![CDATA[<p>What is Composer? Composer is a tool dependency management in PHP. It allows you to declare the libraries your project [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-composer-in-laravel/">How to use Composer in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">What is Composer?</h2>



<p class="wp-block-paragraph">Composer is a tool dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) than for you. Composer is not a package manager in the same a Yum or Apt are. Yes, it deals with &#8220;packages&#8221; or libraries, but it manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project. By default, it does not install anything globally. Thus, it is a dependency manager. It does however support a &#8220;global&#8221; project for convenience via the global command.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/compose-in-laravel.png" alt="" class="wp-image-8347" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/compose-in-laravel.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/compose-in-laravel-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<h2 class="wp-block-heading">Why use Composer?</h2>



<ul class="wp-block-list"><li>You have a project that depend on a number of libraries.</li><li>Some of thoes libraries epen on other libraries.</li><li>Enable you to declare the libraries you depend on.</li><li>Find out which versions of which packeges can and need to be installed, and installs them.</li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/why-use-composer2.png" alt="" class="wp-image-8349" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/why-use-composer2.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/why-use-composer2-300x150.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph">You have a project that depends on several libraries. The libraries that I used in my project to create PDF are also supported by other libraries. It gives you the urgency to declare those libraries that you are on these libraries as it will manage them all for you. It will find out which packages are required for the project we have. Which version of the package is required and will install it for you.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-composer-in-laravel/">How to use Composer in Laravel?</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-use-composer-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DOS Command to display time without prompting for New time</title>
		<link>https://www.scmgalaxy.com/tutorials/dos-command-to-display-time-without-prompting-for-new-time/</link>
					<comments>https://www.scmgalaxy.com/tutorials/dos-command-to-display-time-without-prompting-for-new-time/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 05:16:14 +0000</pubDate>
				<category><![CDATA[others scripting language]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2556</guid>

					<description><![CDATA[<p>scmuser created the topic: DOS Command to display time without prompting for New time I think most of us know [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/dos-command-to-display-time-without-prompting-for-new-time/">DOS Command to display time without prompting for New time</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: DOS Command to display time without prompting for New time</strong></p>
<p>I think most of us know the DOS command “time/T” which displays current system time without prompting for new time.</p>
<p>But If one needs more granular output, say in HH:MM:SS format, here is a way out, use “echo %TIME%” which expands to current time using same format as TIME command.</p>
<p>There are so many other things which can be echoed. For example, try any of the following variables:<br />
%CD% – expands to the current directory string.</p>
<p>%DATE% – expands to current date using same format as DATE command.</p>
<p>%RANDOM% – expands to a random decimal number between 0 and 32767.</p>
<p>%ERRORLEVEL% – expands to the current ERRORLEVEL value</p>
<p>%CMDEXTVERSION% – expands to the current Command Processor Extensions version number.</p>
<p>%CMDCMDLINE% – expands to the original command line that invoked the Command Processor.</p>
<p>%PATH% – expands the current PATH variable.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/dos-command-to-display-time-without-prompting-for-new-time/">DOS Command to display time without prompting for New time</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/dos-command-to-display-time-without-prompting-for-new-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Passing command line arguments separated by comma</title>
		<link>https://www.scmgalaxy.com/tutorials/passing-command-line-arguments-separated-by-comma/</link>
					<comments>https://www.scmgalaxy.com/tutorials/passing-command-line-arguments-separated-by-comma/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 05:06:17 +0000</pubDate>
				<category><![CDATA[others scripting language]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2546</guid>

					<description><![CDATA[<p>scmuser created the topic: passing command line arguments separated by comma Any sample code in vb script to pass command [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/passing-command-line-arguments-separated-by-comma/">Passing command line arguments separated by comma</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: passing command line arguments separated by comma</strong></p>
<p>Any sample code in vb script to pass command line arguments separated by comma???</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/passing-command-line-arguments-separated-by-comma/">Passing command line arguments separated by comma</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/passing-command-line-arguments-separated-by-comma/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Check the exit code of the last command in batch file?</title>
		<link>https://www.scmgalaxy.com/tutorials/check-the-exit-code-of-the-last-command-in-batch-file/</link>
					<comments>https://www.scmgalaxy.com/tutorials/check-the-exit-code-of-the-last-command-in-batch-file/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 04:56:19 +0000</pubDate>
				<category><![CDATA[others scripting language]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2539</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: check the exit code of the last command in batch file? Test for a return code [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/check-the-exit-code-of-the-last-command-in-batch-file/">Check the exit code of the last command in batch file?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: check the exit code of the last command in batch file?</strong></p>
<p>Test for a return code greater than or equal to 1:</p>
<p>if ERRORLEVEL 1 echo Error<br />
or</p>
<p>if %ERRORLEVEL% GEQ 1 echo Error</p>
<p>or test for a return code equal to 0:</p>
<p>if %ERRORLEVEL% EQU 0 echo OK</p>
<p>You can use other commands such as GOTO where I show echo<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @<a href="http://twitter.com/RajeshKumarIn"> twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/check-the-exit-code-of-the-last-command-in-batch-file/">Check the exit code of the last command in batch file?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/check-the-exit-code-of-the-last-command-in-batch-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Get the application exit code from a Windows command line?</title>
		<link>https://www.scmgalaxy.com/tutorials/get-the-application-exit-code-from-a-windows-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/get-the-application-exit-code-from-a-windows-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 04:54:01 +0000</pubDate>
				<category><![CDATA[others scripting language]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2537</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: get the application exit code from a Windows command line? Two ways&#8230; (1) The results are [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/get-the-application-exit-code-from-a-windows-command-line/">Get the application exit code from a Windows command line?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: get the application exit code from a Windows command line?</strong></p>
<p>Two ways&#8230;</p>
<p>(1) The results are stored in a pseudo environment variable named errorlevel so&#8230;</p>
<p>echo Exit Code is %errorlevel%<br />
(2) and a special syntax of the if command:</p>
<p>if errorlevel<br />
see if /? for details.</p>
<p>For Example</p>
<p>@echo off<br />
my_nify_exe.exe<br />
if errorlevel 1 (<br />
echo Failure Reason Given is %errorlevel%<br />
exit /b %errorlevel%<br />
)<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>rajeshkumar replied the topic: get the application exit code from a Windows command line?</strong></p>
<p>:: Exit if a required file is missing<br />
@echo off<br />
If not exist MyimportantFile.txt Exit /b<br />
Echo If we get this far the file was found</p>
<p>:: Set the error level to 5<br />
@echo off<br />
call :setError<br />
echo %errorlevel%<br />
goto :eof</p>
<p>:setError<br />
Exit /B 5</p>
<p>To make this more flexible you can change the subroutine to set any errorlevel like this:</p>
<p>:setError<br />
Exit /B %1</p>
<p>Now you can call the subroutine: call :setError 6 replacing 6 with whatever value you need the errorlevel to be set to.</p>
<p>EXIT is an internal command.<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/get-the-application-exit-code-from-a-windows-command-line/">Get the application exit code from a Windows 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/get-the-application-exit-code-from-a-windows-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Useful Command for Process and Jobs in Unix/Linux</title>
		<link>https://www.scmgalaxy.com/tutorials/useful-command-for-process-and-jobs-in-unix-linux/</link>
					<comments>https://www.scmgalaxy.com/tutorials/useful-command-for-process-and-jobs-in-unix-linux/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 07:13:00 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2311</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Useful Command for Process and Jobs in Unix/Linux List out all background Job running in machine [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/useful-command-for-process-and-jobs-in-unix-linux/">Useful Command for Process and Jobs in Unix/Linux</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Useful Command for Process and Jobs in Unix/Linux</strong></p>
<p>List out all background Job running in machine i.e. list current jobs<br />
> jobs</p>
<p>How to sent Job into Background ie background the suspended job<br />
> bg</p>
<p>How to run background jobs on foreground</p>
<p>1. Find out the job number using &#8220;jobs&#8221; command<br />
2. Type follwoing fg %jobnumber</p>
<p>Whats the differnce between control c and control z in Linux</p>
<p>^C &#8211; kill the job running in the foreground<br />
^Z &#8211; suspend the job running in the foreground</p>
<p>To kill a suspended or background process<br />
> kill %jobnumber</p>
<p>To kill a job running in the foreground<br />
> sleep 100<br />
^C</p>
<p>List out all background job running by each user<br />
ps -u <username></p>
<p>To see every process on the system using standard syntax:<br />
> ps -ef</p>
<p>To see every process on the system using BSD syntax:<br />
> ps ax</p>
<p>To print a process tree:<br />
> ps -ejH</p>
<p>To get info about threads:<br />
> ps -eLf</p>
<p>To see every process running as root (real &#038; effective ID) in user format:<br />
> ps -U root -u root u<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @<a href="http://twitter.com/RajeshKumarIn"> twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/useful-command-for-process-and-jobs-in-unix-linux/">Useful Command for Process and Jobs in Unix/Linux</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/useful-command-for-process-and-jobs-in-unix-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Find command return type</title>
		<link>https://www.scmgalaxy.com/tutorials/find-command-return-type/</link>
					<comments>https://www.scmgalaxy.com/tutorials/find-command-return-type/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 06:35:01 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2290</guid>

					<description><![CDATA[<p>scmuser created the topic: Find command return type I am looking for following answer if anybody can help me out&#8230; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/find-command-return-type/">Find command return type</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Find command return type</strong><br />
I am looking for following answer if anybody can help me out&#8230;</p>
<p>How to Return a message when a file is not found using find command? OR<br />
Find command return type OR<br />
when the file is not found i want it to return some value OR</p>
<p><strong>tpatil replied the topic: Re: Find command return type</strong><br />
You can use exit code of find command to return the message.</p>
<p>e..g.</p>
<p><code>find . -name abc.txt > dev/null</p>
<p>if test $? -eq 0<br />
then<br />
   echo "File found"<br />
else<br />
   echo "File Not Found"<br />
fi</code></p>
<p>Hope this helps&#8230;</p>
<p><strong>rajeshkumar replied the topic: Re: Find command return type</strong><br />
Hi..</p>
<p>I guess following script will not work. The problem here is find command does always return true value no matter if find is available or not.</p>
<p>this is unique things in find command.</p>
<p>I feel we should go ahead in this way.</p>
<p><code>find . -name raj.txt > raj.txt<br />
counter= `cat abc.txt | wc -l'</p>
<p>if [$counter -gt 0]<br />
then<br />
	echo "File is found"<br />
else<br />
	echo "File is not found"<br />
fi</code></p>
<p>please let us your inputs on this<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>tpatil replied the topic: Re: Find command return type</strong><br />
Thanks Rajesh&#8230;You are right. I tried with my code. Find always retuns 0 though file not found.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/find-command-return-type/">Find command return type</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/find-command-return-type/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Expect command in unix /linux?</title>
		<link>https://www.scmgalaxy.com/tutorials/expect-command-in-unix-linux/</link>
					<comments>https://www.scmgalaxy.com/tutorials/expect-command-in-unix-linux/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 05:25:57 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2235</guid>

					<description><![CDATA[<p>scmuser created the topic: expect command in unix /linux? Hello, I am doing a project which asks me to enter [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/expect-command-in-unix-linux/">Expect command in unix /linux?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: expect command in unix /linux?</strong><br />
Hello,<br />
I am doing a project which asks me to enter password 4 times in a row. I need to enter the same password 4 times. My target is to enter password once and apply it 4 times.<br />
My friend told me to use &#8220;expect&#8221; command. Can you please give me a sample code to do so.</p>
<p>sample command :- $ ssh <user name>@<ip address>(like :ssh root@127.0.0.1)<br />
enter <user name>&#8216;s password:</p>
<p>Could somebody plz tell me where the command &#8220;expect&#8221; is used. and wud appreciate if you can write a simple standalone script that uses this command. thanks</p>
<p><strong>rajeshkumar replied the topic: Re: expect command in unix /linux?</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/expect-command-in-unix-linux/">Expect command in unix /linux?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/expect-command-in-unix-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to find success/failure status of a command in different shells?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-find-success-failure-status-of-a-command-in-different-shells/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-find-success-failure-status-of-a-command-in-different-shells/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 05:21:22 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2231</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: How to find success/failure status of a command in different shells? Ksh/Borne/Bash shell $ ls /usr/bin [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-find-success-failure-status-of-a-command-in-different-shells/">How to find success/failure status of a command in different shells?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: How to find success/failure status of a command in different shells?</strong></p>
<p>Ksh/Borne/Bash shell<br />
$ ls /usr/bin<br />
….<br />
# when success value is 0<br />
$ echo $?<br />
0<br />
$ ls /usr/bin/blah<br />
ls: 0653-341 The file /usr/bin/blah does not exist<br />
# when failure non-zero status<br />
$ echo $?<br />
1</p>
<p>c/Tcsh<br />
$ ls /usr/bin<br />
….<br />
# when success value is 0<br />
$ echo $status<br />
0<br />
$ ls /usr/bin/blah<br />
ls: 0653-341 The file /usr/bin/blah does not exist<br />
# when failure non-zero status<br />
$ echo $status<br />
1</p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-find-success-failure-status-of-a-command-in-different-shells/">How to find success/failure status of a command in different shells?</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-find-success-failure-status-of-a-command-in-different-shells/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Command to Start p4web</title>
		<link>https://www.scmgalaxy.com/tutorials/command-to-start-p4web/</link>
					<comments>https://www.scmgalaxy.com/tutorials/command-to-start-p4web/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 05 Dec 2017 12:08:38 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1680</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: command to Start p4web To Start p4 webroot: /local/home/perforce/bin/p4web -w 50000 -b -p IP:1666 -u perforce [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/command-to-start-p4web/">Command to Start p4web</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: command to Start p4web</strong><br />
To Start p4 webroot:</p>
<p>/local/home/perforce/bin/p4web -w 50000 -b -p IP:1666 -u perforce &#038;<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/command-to-start-p4web/">Command to Start p4web</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/command-to-start-p4web/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Run CreateInstall from the command line</title>
		<link>https://www.scmgalaxy.com/tutorials/run-createinstall-from-the-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/run-createinstall-from-the-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 08:05:17 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1382</guid>

					<description><![CDATA[<p>created the topic: Run CreateInstall from the command line? Goto page 1, 2 Next Hi, I am wondering if it [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/run-createinstall-from-the-command-line/">Run CreateInstall from the command line</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>created the topic: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
Hi,</p>
<p>I am wondering if it is possible to use CreateInstall to create an installer package from the command line (according to a specific .ci file).</p>
<p>This way I could create a package using a cmd file. Making the package could be done automatically &#8230;.. from a script of mine. Idea</p>
<p><strong>applicationPackaging replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
Yes, you can.</p>
<p>ci.exe <your .ci project></p>
<p>For example</p>
<p>ci.exe &#8220;c:\my setups\my.ci&#8221;<br />
ci-light.exe c:\temp\my.ci<br />
_________________</p>
<p><strong>replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
ow I am wondering if there is a switch that would suppress the &#8220;Creating Installation&#8221; Dialog ?</p>
<p>If not, maybe &#8220;we&#8221; could add this feature in the future? &#8212;- Wink</p>
<p><strong>applicationPackaging replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
There is not such feature.<br />
The state of checkboxes is the same as in the previous execution.</p>
<p><strong>replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
Hi,</p>
<p>Before I was Running ci.exe from the command line according to a specific .ci file</p>
<p>I ran from vbscript [ci.exe &#8220;File.ci&#8221;] it in a hidden window, I still saw the Build Dialog. But I did not see the ci.exe main window.</p>
<p>In CI5 is there a way?<br />
How about cicmd.exe ?</p>
<p>Does ci.exe have any undocumented switches?</p>
<p>I would at the very least like to run from a .cmd file without the Main window and see just the Build Dialog like I can do using vbscript.</p>
<p>I am trying to automate the Packaging operation. I would like it to be Totally quiet, and at the most see the Build Dialog.</p>
<p>I would like to do this without using vbscript.</p>
<p>Any hope for me? Rolling Eyes Rolling Eyes</p>
<p>I noticed if I make an XP shortcut to ci.exe, and in the properties window choose Run Minimized.</p>
<p>Then if you double click the shortcut, ci.exe does Not run minimized. So I cannot use this as a workaround.</p>
<p><strong>applicationPackaging replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
If you want to run creating setups from the command line then use cicmd.exe</p>
<p>cicmd.exe &#8220;path to your .ci project file&#8221;<br />
Also, see Project tab &#8211; > Setup Builder options of your project.</p>
<p>About minimizing shotrcuts<br />
Open cmds\cmds\system\shortcut.gt<br />
Change Line 91 from<br />
<min label = minimize>2</><br />
to<br />
<min label = minimize>7</></p>
<p>Save it. It will fix the problem.</p>
<p><strong>applicationPackaging replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
Great,</p>
<p>cicmd.exe let me run the ci file with the main window minimized.<br />
I only see the Build Dialog Box.</p>
<p>That was a big help.</p>
<p>Alexey I have a cmd script that is parsing and writing the *.ci file.<br />
At the end of the .cmd file, I run the file now using cicmd.exe.</p>
<p>It would really be nice to be able to suppress the Build Dialog.</p>
<p>In my .cmd file I want to parse and create the .ci file, then Build the CreateInstall.exe file.</p>
<p>Then I would like to go on without stopping in my .cmd file, and parse a new *.ci file, and then create a new Installerexe file then perhaps repeat again more times!</p>
<p>But I cannot do this as when I run cicmd.exe the first time, the Build Dialog Opens and I have to close it.</p>
<p>Though I would MUCH prefer to be able to suppress the Build Dialog when using cicmd.exe , I could get by if the Dialog would open then close automatically.</p>
<p>In CI5, checking the box in the Build Dialog for &#8220;Close Automatically On Completion&#8221; seems to do nothing (even for a re-build).</p>
<p>Help! (a little bit more) Smile</p>
<p><strong>replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
For example, you have a project myproject.ci.<br />
Open it with ci.exe<br />
Open Project Tab &#8211; Setup Builder.<br />
Check on &#8216;Close Automatically&#8217; checkbox there.<br />
Save it.<br />
Now if you run it as<br />
cicmd.exe myproject.ci<br />
then Build Dialog will be closed automatically.</p>
<p><strong>applicationPackaging replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
This may be true, but I never will use cicmd.exe on a .ci file that has been run by double clicking (thru the main window).</p>
<p>So When I run a .ci file with cicmd.exe, a .ci file that has never been run &#8230;&#8230; when I check the box &#8220;Close Automatically&#8221; then hit the button &#8220;Close&#8221;&#8230;. (here there is no way to &#8220;save&#8221;) .</p>
<p>For a new .ci file, the box is always unchecked by default.</p>
<p>I need a preference setting to choose cicmd.exe to always close automatically (for the next time I run a new file with cicmd.exe)</p>
<p>Always on a .ci file never Built, the box is unchecked.<br />
Am I wrong?</p>
<p><strong>replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
You can manage the state of checkboxes from the command line.<br />
-r or -r1 &#8211; &#8216;Launch setup on close&#8217; is checked<br />
-r0 &#8211; unchecked<br />
-c or -c1 &#8211; &#8216;Close Automatically&#8217; is checked<br />
-c0 &#8211; unchecked</p>
<p>For example,<br />
cicmd.exe -c -r &#8220;myproject.ci&#8221;</p>
<p><strong>applicationPackaging replied the topic: Re: Run CreateInstall from the command line? Goto page 1, 2 Next</strong><br />
Just what I needed !</p>
<p>That -c1 switch is just &#8220;what the Doctor ordered&#8221; !</p>
<p>That works and allows me to do what I wanted to do.</p>
<p>Smile Smile Smile Very Happy Very Happy Very Happy Very Happy Very Happy</p>
<p>Thanks for doing such a good job understanding what I wanted to do.<br />
Once again CreateInstall comes thru, and has the power to solve my problem to my perfect satisfaction.</p>
<p>This is rare in the world of software, and I say these things because I am fussy: it seems like I am always wanting to do something the software cannot do.</p>
<p>Also the time it takes to get answers in this forum is super short. Anyone reading this post Knows that real answers do not come quickly in the forums elsewhere on other subjects! I KNOW !!!!!!</p>
<p>All of this represents a level of quality, I for one, only aspire to !<br />
 Report This<br />
Quick Reply Action   Moderate Thank You</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/run-createinstall-from-the-command-line/">Run CreateInstall from the 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/run-createinstall-from-the-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Configure the Knife Command &#8211; Chef</title>
		<link>https://www.scmgalaxy.com/tutorials/configure-the-knife-command/</link>
					<comments>https://www.scmgalaxy.com/tutorials/configure-the-knife-command/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 21 Jul 2016 04:51:16 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Chef Knife Command]]></category>
		<category><![CDATA[Chef Knife Setup]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Knife]]></category>
		<category><![CDATA[Knife Command]]></category>
		<category><![CDATA[knife configuration]]></category>
		<category><![CDATA[Knife Setup]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/21/configure-the-knife-command/</guid>

					<description><![CDATA[<p>We now have to configure the knife command. This command is the central way of communicating with our server and the nodes [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/configure-the-knife-command/">Configure the Knife Command &#8211; Chef</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-3039 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/configure-the-knife-command.png" alt="configure-the-knife-command" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/configure-the-knife-command.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/configure-the-knife-command-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">We now have to configure the <code style="font-family: monospace, monospace; font-size: 15px; border-radius: 3px; line-height: 22px; padding: 3px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.0470588);">knife</code> command. This command is the central way of communicating with our server and the nodes that we will be configuring. We need to tell it how to authenticate and then generate a user to access the Chef server.</p>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">Luckily, we&#8217;ve been laying the groundwork for this step by acquiring the appropriate credential files. We can start the configuration by typing:</p>
<pre class="code-pre " style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);"><code style="font-family: monospace, monospace; border-radius: 3px; color: #3a3a3a; line-height: 22px; padding: 0px; margin: 0px; box-sizing: border-box; background-color: transparent;">knife configure --initial </code></pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">This will ask you a series of questions. We will go through them one by one:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">WARNING: No knife configuration file found Where should I put the config file? [/home/<span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">your_user</span>/.chef/knife.rb]</pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">The values in the brackets ([]) are the default values that knife will use if we do not select a value.</p>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">We want to place our knife configuration file in the hidden directory we have been using:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">/home/<span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">your_user</span>/chef-repo/.chef/knife.rb</pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">In the next question, type in the domain name or IP address you use to access the Chef server. This should begin with <code style="font-family: monospace, monospace; font-size: 15px; border-radius: 3px; line-height: 22px; padding: 3px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.0470588);">https://</code> and end with <code style="font-family: monospace, monospace; font-size: 15px; border-radius: 3px; line-height: 22px; padding: 3px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.0470588);">:443</code>:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">https://<span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">server_domain_or_IP</span>:443</pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">You will be asked for a name for the new user you will be creating. Choose something descriptive:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">Please enter a name for the new user: [root] <span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">station1</span></pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">It will then ask you for the admin name. This you can just press enter on to accept the default value (we didn&#8217;t change the admin name).</p>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">It will then ask you for the location of the existing administrators key. This should be:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">/home/<span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">your_user</span>/chef-repo/.chef/admin.pem</pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">It will ask a similar set of questions about the validator. We haven&#8217;t changed the validator&#8217;s name either, so we can keep that as <code style="font-family: monospace, monospace; font-size: 15px; border-radius: 3px; line-height: 22px; padding: 3px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.0470588);">chef-validator</code>. Press enter to accept this value.</p>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">It will then ask you for the location of the validation key. It should be something like this:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">/home/<span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">your_user</span>/chef-repo/.chef/chef-validator.pem</pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">Next, it will ask for the path to the repository. This is the <code style="font-family: monospace, monospace; font-size: 15px; border-radius: 3px; line-height: 22px; padding: 3px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.0470588);">chef-repo</code> folder we have been operating in:</p>
<pre style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);">/home/<span class="highlight" style="color: #e94849; box-sizing: border-box; background: 0px 0px;">your_user</span>/chef-repo</pre>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">Finally, it will ask you to select a password for your new user. Select anything you would like.</p>
<p style="margin: 0px auto 22px; padding: 0px; box-sizing: border-box; font-size: 16px; line-height: 28px; width: 745px; font-family: proxima-nova, sans-serif;">This should complete our knife configuration. If we look in our <code style="font-family: monospace, monospace; font-size: 15px; border-radius: 3px; line-height: 22px; padding: 3px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.0470588);">chef-repo/.chef</code> directory, we should see a knife configuration file and the credentials of our new user:</p>
<pre class="code-pre " style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 0px auto 28px; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);"><code style="font-family: monospace, monospace; border-radius: 3px; color: #3a3a3a; line-height: 22px; padding: 0px; margin: 0px; box-sizing: border-box; background-color: transparent;">ls ~/chef-repo/.chef </code></pre>
<pre class="code-pre " style="font-family: monospace, monospace; font-size: 14px; border-radius: 3px; box-sizing: border-box; word-wrap: normal; padding: 13px 17px; margin: 28px auto; width: 745px; overflow: auto !important; background-color: rgba(0, 0, 0, 0.0470588);"><code style="font-family: monospace, monospace; border-radius: 3px; color: #3a3a3a; line-height: 22px; padding: 0px; margin: 0px; box-sizing: border-box; background-color: transparent;">admin.pem  chef-validator.pem  knife.rb  station1.pem</code></pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/configure-the-knife-command/">Configure the Knife Command &#8211; Chef</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/configure-the-knife-command/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Setup AWS Credentials using AWS Command Line Interface?</title>
		<link>https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/</link>
					<comments>https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 27 Oct 2015 01:50:00 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Amazon AWS]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[AWS CLI]]></category>
		<category><![CDATA[AWS credentials]]></category>
		<category><![CDATA[AWS Guide]]></category>
		<category><![CDATA[AWS Tutorials]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Setup AWS credentials]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/27/setup-aws-credentails-using-aws-command-line-interface/</guid>

					<description><![CDATA[<p>Setup AWS Credentails using AWS Command Line Interface Install the AWS CLI Using Pip Please click here complete installation guide. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/">How to Setup AWS Credentials using AWS Command Line Interface?</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-3103 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/setup-aws-credentails-using.png" alt="setup-aws-credentials-using-aws-command" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/setup-aws-credentails-using.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/setup-aws-credentails-using-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Setup AWS Credentails using AWS Command Line Interface</strong></p>
<p><strong>Install the AWS CLI Using Pip</strong><br />
Please<strong> <a href="http://www.devopsschool.com/tutorial/aws/how-to-do/install-and-configure-aws-cli.html">click here</a> </strong>complete installation guide.</p>
<p><strong>Test the AWS CLI Installation</strong></p>
<pre class="brush: plain; title: ; notranslate"> $ aws help</pre>
<p><strong>Environment Variables &#8211; </strong></p>
<ul>
<li>AWS_ACCESS_KEY_ID</li>
<li>AWS_SECRET_ACCESS_KEY</li>
</ul>
<p><strong>Step 5: Get a key aws_access_key_id, aws_secret_access_key, region from AWS website, under your </strong></p>
<pre class="brush: plain; title: ; notranslate">$ aws configure</pre>
<p><strong>Step 6: Setup AWS with key</strong></p>
<pre class="brush: plain; title: ; notranslate">$  aws configure
AWS Access Key ID &#x5B;None]: AKIAJB6WCXXXXRKRT5SQ
AWS Secret Access Key &#x5B;None]: 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
Default region name &#x5B;None]: us-east-1
Default output format &#x5B;None]:
$  aws s3 list</pre>
<p><strong>Step 7: Verify details in ~/.aws/credentials and ~/.aws/config</strong></p>
<pre class="brush: plain; title: ; notranslate">$ more ~/.aws/credentials
&#x5B;default]
aws_access_key_id = AKIAJB6WCXXXXRKRT5SQ
aws_secret_access_key = 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

$  more ~/.aws/config
&#x5B;default]
region = us-east-1</pre>
<p><strong>Step 8: Verify AWS CLI setup</strong></p>
<pre class="brush: plain; title: ; notranslate">$ aws ec2 describe-instances --output table --region us-west-2</pre>
<p><strong>The AWS credentials file &#8211;</strong></p>
<p>Located at ~/.aws/credentials on Linux, OS X, or Unix, or at C:\Users\USERNAME \.aws\credentials on Windows. This file can contain multiple named profiles in addition to a default profile.</p>
<p><strong>The CLI configuration file &#8211;</strong></p>
<p>Typically located at ~/.aws/config on Linux, OS X, or Unix, or at C:\Users\USERNAME \.aws\config on Windows. This file can contain a default profile, named profiles, and CLI specific configuration parameters for each.</p>
<p><strong>Reference</strong><br />
<a href="http://docs.aws.amazon.com/cli/latest/userguide/installing.html" target="_blank" rel="noopener">http://docs.aws.amazon.com/cli/latest/userguide/installing.html</a><br />
<a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" target="_blank" rel="noopener">http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html</a><br />
<a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" target="_blank" rel="noopener">http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/">How to Setup AWS Credentials using AWS Command Line Interface?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/feed/</wfw:commentRss>
			<slash:comments>0</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 loading="lazy" 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="auto, (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>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>Use of p4 duplicate command &#124; P4 Command Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/</link>
					<comments>https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 16 May 2012 11:27:22 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Copy]]></category>
		<category><![CDATA[Duplicate]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[p4]]></category>
		<category><![CDATA[p4 clone]]></category>
		<category><![CDATA[p4 commands]]></category>
		<category><![CDATA[p4 commands guide]]></category>
		<category><![CDATA[p4 copy]]></category>
		<category><![CDATA[p4 duplicate command]]></category>
		<category><![CDATA[p4 duplicate tutorial]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Use]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2012/05/16/use-of-p4-duplicate-command/</guid>

					<description><![CDATA[<p>Use of p4 duplicate command Problem Area is &#8211; Is there any possibility to rename branch name? as directory rename [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/">Use of p4 duplicate command | P4 Command 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-3825 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/05/p4-duplicate-command.png" alt="p4-duplicate-command" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/05/p4-duplicate-command.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/05/p4-duplicate-command-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Use of p4 duplicate command</strong></p>
<p><strong>Problem Area is &#8211; </strong><br />
Is there any possibility to rename branch name? as directory rename is possible?</p>
<p><strong>Solution is &#8211; </strong>p4 duplicate command</p>
<p>What the command ‘p4 duplicate’ was implement to do was create a duplicated revision of a folder as if it always existed. This is explained in the ‘p4 help duplicate’, I have copied below:</p>
<pre>Duplicate revisions as if they always existed.  All aspects of
   the source revisions are mirrored into the target revisions,
   including changelist number, date, attributes, and contents.
   The target revision must not already exist, and the target file
must not be opened (for any operation) on any client.</pre>
<p>Integration records are duplicated as well.</p>
<p>To rename branch names is possible with the process of a deep rename operation.</p>
<p><strong><em>p4 duplicate //depot/Jam/MAINds/&#8230; //depot/Jam/MAIN/&#8230;</em></strong></p>
<p>The above command will create an exact copy of the branch you&#8217;re duplicating including its integration history.</p>
<p>Then the duplication source is not wanted anymore, so you will need to use the obliterate command:</p>
<p><em><strong>p4 obliterate -y //depot/Jam/MAINds/&#8230;</strong></em></p>
<p>You can find more information about &#8220;p4 duplicate&#8221; by running the &#8220;p4 help duplicate&#8221; command.</p>
<p>If you have any further questions please let me know.</p>
<p>Reference &#8211;</p>
<p>Perforce Support and</p>
<p><a href="http://maillist.perforce.com/pipermail/perforce-user/2010-November/027364.html" target="_blank" rel="noopener">http://maillist.perforce.com/pipermail/perforce-user/2010-November/027364.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/">Use of p4 duplicate command | P4 Command Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Basic Perforce Command &#8211; P4 Command Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/basic-perforce-command/</link>
					<comments>https://www.scmgalaxy.com/tutorials/basic-perforce-command/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 25 Nov 2010 09:09:08 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[Basic Perforce Command]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[List of Perforce Commands]]></category>
		<category><![CDATA[P4 Command]]></category>
		<category><![CDATA[P4 Command Cheatsheet]]></category>
		<category><![CDATA[Perforce command Cheat Sheet]]></category>
		<category><![CDATA[Perforce Command Guide]]></category>
		<category><![CDATA[Perforce Command Reference]]></category>
		<category><![CDATA[Perforce Commands]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/11/25/basic-perforce-command/</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/basic-perforce-command/">Basic Perforce Command &#8211; P4 Command 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-4350" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/11/perforce-command.png" alt="perforce-command-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/11/perforce-command.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/11/perforce-command-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table border="1" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td></td>
<td height="20">
<h1>Command</h1>
</td>
<td>
<h1>Description</h1>
</td>
</tr>
<tr>
<td width="76"></td>
<td width="228" height="20">
<div>p4 add</div>
</td>
<td width="996">Open file(s) in a client workspace for addition to the depot.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 admin</div>
</td>
<td>Perform administrative operations on the server.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 branch</div>
</td>
<td>Create or edit a branch specification and its view.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 change</div>
</td>
<td>Create or edit a changelist specification.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 changelists</div>
</td>
<td>List submitted and pending changelists.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 changelist</div>
</td>
<td>Create or edit a changelist specification.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 client</div>
</td>
<td>Create or edit a client workspace specification and its view.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 clients</div>
</td>
<td>List all client workspaces currently known to the system.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 delete</div>
</td>
<td>Open file(s) in a client workspace for deletion from the depot.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 depot</div>
</td>
<td>Create or edit a depot specification.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 depots</div>
</td>
<td>Display a list of depots known to the Perforce server.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 describe</div>
</td>
<td>Provides information about changelists and the changelists’ files.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 groups</div>
</td>
<td>List groups of users.</td>
</tr>
<tr>
<td></td>
<td height="20">
<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 height="20">
<div>p4 have</div>
</td>
<td>List files and revisions that have been synced to the client workspace</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 info</div>
</td>
<td>Display information about the current client and server.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 integrate</div>
</td>
<td>Open files for branching or merging.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 integrated</div>
</td>
<td>Show integrations that have been submitted.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 job</div>
</td>
<td>Create or edit a defect, enhancement request, or other job specification.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 jobs</div>
</td>
<td>List jobs known to the Perforce server.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 label</div>
</td>
<td>Create or edit a label specification and its view.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 labels</div>
</td>
<td>Display list of defined labels.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 lock</div>
</td>
<td>Lock an opened file against changelist submission.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 login</div>
</td>
<td>Log in to a Perforce server by obtaining a ticket.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 logout</div>
</td>
<td>Log out of a Perforce server by removing or invalidating a ticket.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 passwd</div>
</td>
<td>Change a user’s Perforce password on the server.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 rename</div>
</td>
<td>Renaming files under Perforce.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 resolve</div>
</td>
<td>Resolve conflicts between file revisions.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 revert</div>
</td>
<td>Discard changes made to open files.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 set</div>
</td>
<td>Set Perforce variables in the Windows registry.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 submit</div>
</td>
<td>Send changes made to open files to the depot.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 sync</div>
</td>
<td>Copy files from the depot into the workspace.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 tag</div>
</td>
<td>Tag files with a label.</td>
</tr>
<tr>
<td></td>
<td height="20">
<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 height="20">
<div>p4 user</div>
</td>
<td>Create or edit Perforce user specifications and preferences.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 users</div>
</td>
<td>Print a list of all known users of the current server.</td>
</tr>
<tr>
<td></td>
<td height="20">
<div>p4 verify</div>
</td>
<td>Verify that the server archives are intact.</td>
</tr>
<tr>
<td></td>
<td height="20">
<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/basic-perforce-command/">Basic Perforce Command &#8211; P4 Command Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/basic-perforce-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options</title>
		<link>https://www.scmgalaxy.com/tutorials/unix-command-grep/</link>
					<comments>https://www.scmgalaxy.com/tutorials/unix-command-grep/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 16 Apr 2010 08:52:59 +0000</pubDate>
				<category><![CDATA[Unix - Linux]]></category>
		<category><![CDATA[Basic grep commands]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Grep]]></category>
		<category><![CDATA[Grep command line options]]></category>
		<category><![CDATA[Grep Unix Command Guide]]></category>
		<category><![CDATA[Grep Unix Command Introduction]]></category>
		<category><![CDATA[Grep Unix Command Overview]]></category>
		<category><![CDATA[Grep Unix Command Quick reference]]></category>
		<category><![CDATA[Grep Unix Commands With Examples]]></category>
		<category><![CDATA[How to Use Grep]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[Unix command grep examples]]></category>
		<category><![CDATA[Unix grep command match pattern]]></category>
		<category><![CDATA[Unix Grep Command Options]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/16/unix-command-grep/</guid>

					<description><![CDATA[<p>Grep scans its input for a pattern, and can display the selected pattern, the line numbers of the filenames where [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/unix-command-grep/">Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options</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-4369" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/unix-command-grep.png" alt="unix-command-grep" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/unix-command-grep.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/unix-command-grep-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Grep </b>scans its input for a pattern, and can display the selected pattern, the line numbers of the filenames where the pattern occurs, The command uses the following syntax<br />
<i></i></span></span></p>
<p><span style="font-size: small;"><u><span style="font-family: verdana,geneva;"><i>grep options pattern filesname(s)</i></span></u><span style="font-family: verdana,geneva;"><br />
</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep searches for pattern in one or more filenames.<br />
</span></span></p>
<p><b><span style="font-size: small;"><span style="font-family: verdana,geneva;">Example for <u>Grep</u> command: </span></span></b></p>
<ol>
<li><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep “sales” emp.lst</span></span></li>
<li><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep “director” emp1.lst emp2.lst</span></span></li>
<li><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep ‘jai sharma’ emp.lst</span></span></li>
<li><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep “jai Sharma $var” emp.lst</span></span></li>
</ol>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>&#8212;&#8212;&#8212;&#8212;&#8212;-Grep options&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</b></span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Ignoring Case (i)</b> When you look for a name, but you are not sure of the case, grep offers the –i (ignore) option which ignores case for patteen matching.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">&gt; Grep –i ‘agarwal’ emp.lst</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Deleting Lines  or Inverse(-v):</b> -v (inverse) option selects all except lines containing the pattern. Thus, you can create a file other list containing all but director.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">&gt; Grep –v “director” emp.lst &gt; other list</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Displaying line Numbers (-n): </b>The –n(number) options displays the line numbers containing the pattern, along with the lines:</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">&gt; grep –n ‘marketing’ emp.lst</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Counting Line Containing patterns (-c):</b> The –c (count) option counts the number of lines containing the pattern ( which is not the same as number of occurrences).</span></span></p>
<ol>
<li><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep –c director emp.lst</span></span></li>
<li><span style="font-size: small;"><span style="font-family: verdana,geneva;">grep –c director emp*.lst</span></span></li>
</ol>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Displaying Filenames (-l):</b> The –l (list) option displays only the files names of files containing the pattern.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">&gt; grep –l ‘manager’ *.lst</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Matching Multiple Patterns(-e):</b> With the –e option, you can match the three agarwals by using grep like this:</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">&gt; grep –e “Agarwal” –e “aggarwal” –e “agarwal” emp.lst</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"><b>Taking patterns from a file (-f):</b> we can place all patterns in a separate file, one pattern per lin. Grep takes inputs from there with the –f option:</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;">&gt; grep –f pattern.lst emp.lst</span></span></p>
<p><span style="font-size: small;"><span style="font-family: verdana,geneva;"> </span></span></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/unix-command-grep/">Unix Command: Grep &#8211; Quick Reference &#8211; Pattern &#8211; Examples &#8211; Options</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/unix-command-grep/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
