<?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>Reference Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/reference/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/reference/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:55:15 +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>Java Command Line Options</title>
		<link>https://www.scmgalaxy.com/tutorials/java-command-line-options/</link>
					<comments>https://www.scmgalaxy.com/tutorials/java-command-line-options/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 08 Jan 2018 12:29:29 +0000</pubDate>
				<category><![CDATA[Concept & Definition]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Java Command Line Options]]></category>
		<category><![CDATA[Reference]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4553</guid>

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

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

					<description><![CDATA[<p>Walkthrough: Creating an MSBuild Project File from Scratch How to: Write a Simple MSBuild Project MSBuild Basics Build Your Project [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/">MSBuild Tutorial Reference for Beginner | MSBuild Learning Resources | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img decoding="async" class="aligncenter wp-image-3182 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/msbuild-tutorial-reference-.png" alt="msbuild-tutorial" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/msbuild-tutorial-reference-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/msbuild-tutorial-reference--300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<h3><a href="https://msdn.microsoft.com/en-us/library/dd576348.aspx">Walkthrough: Creating an MSBuild Project File from Scratch</a></h3>
<h3><a href="https://msdn.microsoft.com/en-us/library/ms171479(v=vs.90).aspx">How to: Write a Simple MSBuild Project</a></h3>
<h3><a href="http://thomasardal.com/msbuild-tutorial/">MSBuild Basics</a></h3>
<h3><a href="http://www.codeproject.com/Tips/997898/Build-Your-Project-File-from-Scratch-using-MSBuild">Build Your Project File from Scratch using MSBuild</a></h3>
<h3></h3>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/">MSBuild Tutorial Reference for Beginner | MSBuild Learning Resources | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins useful websites references &#124; Jenkins Resources &#124; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-useful-websites-reference/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-useful-websites-reference/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 12 Nov 2015 15:25:59 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Jenkins Installation]]></category>
		<category><![CDATA[Jenkins Installation Guide]]></category>
		<category><![CDATA[Jenkins installation process]]></category>
		<category><![CDATA[Jenkins Resources]]></category>
		<category><![CDATA[Jenkins useful references]]></category>
		<category><![CDATA[Link]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Useful]]></category>
		<category><![CDATA[Websites]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/11/12/jenkins-useful-websites-reference/</guid>

					<description><![CDATA[<p>How to take care of a large Jenkins installation and still keep your sanity &#8211; Part 1 How to take [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-useful-websites-reference/">Jenkins useful websites references | Jenkins Resources | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><a href="http://www.technology-ebay.de/the-teams/mobile-de/blog/taming-the-hydra-part-1.html"><img decoding="async" class="size-full wp-image-3095 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/jenkins-useful-websites-ref.png" alt="jenkins-useful-websites-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/jenkins-useful-websites-ref.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/jenkins-useful-websites-ref-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a></div>
<div></div>
<div><a href="http://www.technology-ebay.de/the-teams/mobile-de/blog/taming-the-hydra-part-1.html">How to take care of a large Jenkins installation and still keep your sanity &#8211; Part 1</a></div>
<div><a href="http://www.technology-ebay.de/the-teams/mobile-de/blog/taming-the-hydra-part-2.html">How to take care of a large Jenkins installation and still keep your sanity &#8211; Part 2</a></div>
<div><a href="http://www.technology-ebay.de/the-teams/mobile-de/blog/taming-the-hydra-part-3.html">How to take care of a large Jenkins installation and still keep your sanity &#8211; Part 3</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-useful-websites-reference/">Jenkins useful websites references | Jenkins Resources | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-useful-websites-reference/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Gerrit useful website reference &#124; Gerrit Performance CheatSheet</title>
		<link>https://www.scmgalaxy.com/tutorials/gerrit-performance-cheatsheet/</link>
					<comments>https://www.scmgalaxy.com/tutorials/gerrit-performance-cheatsheet/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 12 Nov 2015 15:14:20 +0000</pubDate>
				<category><![CDATA[Source Code Management]]></category>
		<category><![CDATA[CheatSheet]]></category>
		<category><![CDATA[Gerrit]]></category>
		<category><![CDATA[Gerrit Performance]]></category>
		<category><![CDATA[Gerrit Performance CheatSheet]]></category>
		<category><![CDATA[Gerrit Resources]]></category>
		<category><![CDATA[Link]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Websites]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/11/12/gerrit-performance-cheatsheet/</guid>

					<description><![CDATA[<p>Gerrit Performance CheatSheet</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/gerrit-performance-cheatsheet/">Gerrit useful website reference | Gerrit Performance 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="aligncenter wp-image-3098 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/gerrit-performance-cheatshe.png" alt="gerrit-performance-cheatsheet" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/gerrit-performance-cheatshe.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/gerrit-performance-cheatshe-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><a href="http://help.collab.net/topic/teamforge80-git-gerrit210x/reference/Gerrit-Performance-Tuning-Cheat-Sheet.pdf">Gerrit Performance CheatSheet</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/gerrit-performance-cheatsheet/">Gerrit useful website reference | Gerrit Performance CheatSheet</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/gerrit-performance-cheatsheet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Command line Reference for login and trigger a job</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-command-line-reference-for-login-and-trigger-a-job/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 05 Feb 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to login in Jenkins]]></category>
		<category><![CDATA[How to trigger a job in Jenkins]]></category>
		<category><![CDATA[Jenkins Command line]]></category>
		<category><![CDATA[Jenkins Command line Guide]]></category>
		<category><![CDATA[Jenkins Command line Reference]]></category>
		<category><![CDATA[Jenkins Command line Tutorial]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[Login Jenkins]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Trigger]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/02/05/jenkins-command-line-reference-for-login-and-trigger-a-job/</guid>

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

					<description><![CDATA[<p>Commonly Used Sign- Punctuation and their Name in Perl ( =&#62; ) Comma Arrow  ( ‘ ’, “ ”, &#8216; &#8216;, &#8221; &#8220; ) [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/commonly-used-sign-punctuation-and-their-name-in-perl/">Commonly Used Sign- Punctuation and their Name in Perl</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p align="center"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3658" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/sign-punctuation-name-in-pe-1.png" alt="perl-sign-punctuation-marks" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/sign-punctuation-name-in-pe-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/sign-punctuation-name-in-pe-1-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p style="text-align: left;" align="center"><strong><span style="text-decoration: underline;">Commonly Used Sign-</span></strong> <strong><span style="text-decoration: underline;">Punctuation and their Name in Perl </span></strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="319">( =&gt; ) Comma Arrow</td>
<td valign="top" width="319"> ( <strong>‘ ’</strong>, <strong>“ ”</strong>, <strong>&#8216; &#8216;</strong>, <strong>&#8221; &#8220;</strong> ) à Quotation marks</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>$</strong> ) àDollar sign</td>
<td valign="top" width="319">( <strong>~ </strong>) à Tilde</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>%</strong> ) àPercent sign</td>
<td valign="top" width="319">(  <strong>,</strong>  ) à Comma</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>@</strong> ) à At Sign</td>
<td valign="top" width="319">( <strong>;</strong> ) à Semicolon</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>&amp;</strong> ) à Ampersand Sign</td>
<td valign="top" width="319">( <strong>:</strong> ) à Colon</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>/</strong> ) à Forward Slash/Slash sign</td>
<td valign="top" width="319">( <strong>‒</strong>, <strong>–</strong>, <strong>—</strong> ) à Dash</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>\</strong> )  à Backslash/Slash Sign</td>
<td valign="top" width="319">( <strong>&#8211;</strong> )    à Hyphen-minus</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>&lt;</strong> )  à Less than Sign</td>
<td valign="top" width="319">( <strong>_</strong> ) àunderscore</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>&gt;</strong> )  à Greater than sign</td>
<td valign="top" width="319">( <strong>/</strong>,  <strong>⁄ </strong> ) à slash/stroke/solidus</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>{ }</strong> )  àCurly Braces</td>
<td valign="top" width="319">( <strong>* </strong>) à Asterisk</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>[  ]</strong> ) à Square brackets</td>
<td valign="top" width="319">( <strong>^</strong> ) à caret</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>( )</strong> )  à Round brackets</td>
<td valign="top" width="319">( <strong>¦</strong>, <strong>|</strong> ) à vertical bar/broken bar/pipe</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>′</strong>, <strong>″</strong>, <strong>‴ </strong>) àprime</td>
<td valign="top" width="319">( <strong>〃</strong> ) à Ditto mark</td>
</tr>
<tr>
<td valign="top" width="319">( <strong>!</strong> ) à Exclamation Mark</td>
<td valign="top" width="319">( <strong>?</strong> ) &#8211; Question Mark</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/commonly-used-sign-punctuation-and-their-name-in-perl/">Commonly Used Sign- Punctuation and their Name in Perl</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/commonly-used-sign-punctuation-and-their-name-in-perl/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Commands for User &#124; Linux User Commands Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/linux-commands-for-user/</link>
					<comments>https://www.scmgalaxy.com/tutorials/linux-commands-for-user/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 21 Jul 2014 00:00:00 +0000</pubDate>
				<category><![CDATA[Unix - Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Commands for User Guide]]></category>
		<category><![CDATA[Linux Commands for User Reference]]></category>
		<category><![CDATA[Linux Commands for User Tutorials]]></category>
		<category><![CDATA[Linux Commands for Users]]></category>
		<category><![CDATA[Linux Commands Guide]]></category>
		<category><![CDATA[Linux Commands Reference]]></category>
		<category><![CDATA[Linux Commands Tutorials]]></category>
		<category><![CDATA[Linux User Commands Guide]]></category>
		<category><![CDATA[Linux User Commands Tutorials]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[Users Linux Commands]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/07/21/linux-commands-for-user/</guid>

					<description><![CDATA[<p>General Commands Not Used Frequently cal – The Calender bc – The Calculator file – knowing the file types cmp [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/linux-commands-for-user/">Linux Commands for User | Linux User Commands 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-3671 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/linux-commands-user.png" alt="linux-commands-user" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/linux-commands-user.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/linux-commands-user-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>General Commands Not Used Frequently</strong><br />
cal – The Calender<br />
bc – The Calculator<br />
file – knowing the file types<br />
cmp – Comparing two files.<br />
comm – Common in two files<br />
dos2unix and unix2dos – Converting between dos and unix<br />
stat &#8211; Display file or file system status such as Access, Modify,Change, users and more<br />
# stat &lt;fileName&gt; unix Command</p>
<p><strong>General Commands Frequently Used</strong><br />
Script – recording your session<br />
Passwd – change your password<br />
Echo  &#8211; Displaying the message<br />
Printf &#8211; Displaying the message<br />
who – Who are the Users<br />
who am I – To know my user name<br />
uname – Knowing your machine characteristics<br />
# uname –a  &#8211; To Print all info.<br />
tty – knowing your terminal<br />
pwd – Checking Current Directory<br />
cd &#8211; changing the current Directory<br />
mkdir – Making directories<br />
rmdir – removing directories<br />
<strong>ls – Listing Directory Contents</strong><br />
# ls –F – Marks executables with *, directories with / and symbolic links with @ at the end of file name.<br />
# ls – a – Shows all filesnames including beginning with a dot.<br />
# ls –R – Recursive display list of files and folders<br />
# ls -1 – one filename in each line<br />
# ls –l long listing + time of last file modification<br />
# ls –t Sorts filenames by last modification time<br />
# ls –u – Sorts filenames by last access time<br />
# ls –I – Displays inode number<br />
# ls –lc – Time of last inode modifcation</p>
<p><strong>Cat – Displaying and creating Files</strong><br />
# cat filename – Displaying file contents<br />
# cat –n filename &#8211; Displaying file contents with line numbers<br />
# cat &gt; filename – To Create a file name</p>
<p><strong>More – Paging Output</strong><br />
# more filename – To to display the filename contents</p>
<p><strong>Less – Paging Output</strong></p>
<p><strong>wc – Counting lines, Words and Characters</strong><br />
# -l – Option counts only the number of lines<br />
# -w – Option counts only the words.<br />
# -c – Options counts only the characters.</p>
<p><strong>cp – copying a files</strong><br />
Options<br />
# -p – Copy the files including preserve the mode, ownership and permissions.<br />
# -R – Copying Directory Structure</p>
<p><strong>gzip and gunzip – Compressing and Decompressing Files</strong><br />
# gzip filename<br />
# gzip –l – To find out how much of the compression was archived.<br />
# gzip –d filename – To Decompress a file<br />
# gunzip filename – To Decompress a file<br />
# gzip –R dir – To Compress Recursive</p>
<p><strong>Tar – The archival Program</strong><br />
# -c – To create a archive<br />
# -x – Extract files from archive<br />
# -t – Display fils in archive<br />
# -v – verbose<br />
# -f – name of the arch filename .tar<br />
# tar –cvf filename.tar filename1 filename2<br />
# tar –xvf filename.tar</p>
<p><strong>Create tar and gzip</strong><br />
# tar cvf &#8211; foodir | gzip &gt; foo.tar.gz</p>
<p><strong>Un-tar and gunzip</strong><br />
# tar -zxvf apache-activemq-5.1.0-bin.tar.gz</p>
<p><strong>Un-tar and uncompress using gunzip</strong><br />
# gunzip -c apache-activemq-5.1.0-bin.tar.gz | tar xvf &#8211;<br />
or alternatively:<br />
# gunzip apache-activemq-5.1.0-bin.tar.gz | tar xvf &#8211;</p>
<p><strong>File Attributes</strong><br />
<strong>chmod – Changing File Permission</strong></p>
<p>Abbreviations Used by chmod</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="160"><strong>Category</strong></td>
<td valign="top" width="160"><strong>Operation</strong></td>
<td valign="top" width="160"><strong>Permission</strong></td>
<td valign="top" width="160"><strong>Assigned Number</strong></td>
</tr>
<tr>
<td valign="top" width="160">u -user</td>
<td valign="top" width="160">+ &#8211; Assigns Permission</td>
<td valign="top" width="160">r – Read permission</td>
<td valign="top" width="160">4</td>
</tr>
<tr>
<td valign="top" width="160">g -group</td>
<td valign="top" width="160">&#8211;  &#8211; Assigns Permission</td>
<td valign="top" width="160">w – Write Permission</td>
<td valign="top" width="160">2</td>
</tr>
<tr>
<td valign="top" width="160">o – other</td>
<td valign="top" width="160">= &#8211; Assigns Permission</td>
<td valign="top" width="160">x – Execute Permission</td>
<td valign="top" width="160">1</td>
</tr>
<tr>
<td valign="top" width="160">a –all(ugo)</td>
<td valign="top" width="160"></td>
<td valign="top" width="160"></td>
<td valign="top" width="160"></td>
</tr>
</tbody>
</table>
<p>Example:<br />
# chmod u+x filename<br />
# chmod u+x filename<br />
# chmod ugo+x filename<br />
# chmod u+x filename1 filename2 filename3<br />
# chmod a-x,go+r filename<br />
# chmod 566 filename<br />
# chmod 755 filename<br />
# chmod –R 755 .<br />
# chmod –R a+x *</p>
<p><strong>Chown – Changing File Ownership</strong><br />
# chown username filename<br />
More example needed.</p>
<p><strong>Shell’s Wild-Cards</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="149"><strong>Wild-Card</strong></td>
<td valign="top" width="489"><strong>Matches</strong></td>
</tr>
<tr>
<td valign="top" width="149"><strong>*</strong></td>
<td valign="top" width="489">Any numbers of characters including none</td>
</tr>
<tr>
<td valign="top" width="149"><strong>?</strong></td>
<td valign="top" width="489">A single character</td>
</tr>
<tr>
<td valign="top" width="149"><strong>[ijk]</strong></td>
<td valign="top" width="489">A single character – either I,j or k</td>
</tr>
<tr>
<td valign="top" width="149"><strong>[x-z]</strong></td>
<td valign="top" width="489">A single character that is within the ASCII range of the characters x and z</td>
</tr>
<tr>
<td valign="top" width="149"><strong>[!ijk]</strong></td>
<td valign="top" width="489">A single character that is not an I,j, or k</td>
</tr>
<tr>
<td valign="top" width="149"><strong>[!x-z]</strong></td>
<td valign="top" width="489">A single character that is not within the ASCII range of the characters x and z</td>
</tr>
<tr>
<td valign="top" width="149"><strong> </strong></td>
<td valign="top" width="489"></td>
</tr>
</tbody>
</table>
<p><strong>Ps – Process Status</strong><br />
<strong>Options to ps</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="158"><strong>POSIX Options</strong></td>
<td valign="top" width="480"><strong>Significance</strong></td>
</tr>
<tr>
<td valign="top" width="158"><strong>-f</strong></td>
<td valign="top" width="480">Full listing showing the PPID of each process</td>
</tr>
<tr>
<td valign="top" width="158"><strong>-e or –A</strong></td>
<td valign="top" width="480">All Process including user and Systems</td>
</tr>
<tr>
<td valign="top" width="158"><strong>-u usr</strong></td>
<td valign="top" width="480">Process of user usr only</td>
</tr>
<tr>
<td valign="top" width="158"><strong>-a</strong></td>
<td valign="top" width="480">Processes of all users excluding processes not associated with terminal</td>
</tr>
<tr>
<td valign="top" width="158"><strong>-l</strong></td>
<td valign="top" width="480">A long listing showing memory-related information</td>
</tr>
</tbody>
</table>
<p><strong>Example</strong><br />
# ps -ef<br />
# ps –u sumit<br />
# ps –a<br />
# ps –e<br />
# ps -A &#8211; ps command will report a snapshot of the current processes. To select all processes use the -A<br />
# ps -Al &#8211; Show Long Format Output<br />
# ps -AlF &#8211; To turn on extra full mode (it will show command line arguments passed to process):<br />
# ps axu &#8211; Print All Process On The Server<br />
# ps -U vivek -u vivek u &#8211; See Every Process Running As User Vivek<br />
# ps -p 55977 -o comm= &#8211; Display The Name of PID 55977<br />
# ps -auxf | sort -nr -k 4 | head -10 &#8211; Find Out The Top 10 Memory Consuming Process<br />
# ps -auxf | sort -nr -k 3 | head -10 &#8211; Find Out top 10 CPU Consuming Process</p>
<p># $! – Store the PID of the last background jobs<br />
# echo $$  &#8211; To Know the PID of current Shell<br />
# echo $SHELL – To Know the Current Shell<br />
# System process easily identifies the ? in the TTY coloumn.<br />
# Mechanism of Process Creation<br />
Fork<br />
Exec<br />
Wait</p>
<p><strong>&amp; and nohup – Ruunning jobs in background</strong><br />
# nohup sort emp.lst $</p>
<p><strong>nice – Job execution with low priority</strong><br />
Kernel decides how much processor time is required for a process based on the nice value. Possible nice value range is: -20 to 20. A process that has a nice value of -20 is very high priority. The process that has a nice value of 20 is very low priority.<br />
Use ps axl to display the nice value of all running process as shown below.<br />
# ps axl<br />
# nice command is used with &amp; operator to reduce the priority of jobs<br />
# nice script.sh &amp;<br />
# ./nice-test.sh &amp;                             Default the nice value of 0<br />
# nice -10 ./nice-test.sh &amp;            Nice value is 10                 Low priority.<br />
# nice &#8211;10 ./nice-test.sh &amp;          Nice value is -10                High priority.</p>
<p><strong>Kill – killing the process</strong><br />
# kill PID<br />
# kill PID1 PID2 PID3<br />
# kill $i – Killing the last background process<br />
# kill –s KILL PID – recommended way for killing (SIGKILL)<br />
# kill -9 PID – same as above but not recommended. (SIGKILL)<br />
# kill -9 $$  -$$ store the PID of current shell<br />
# kill –s KILL 0 – kill all the process including the login shell.<br />
# kill –l – To View the list of all signal names and numbers that are available on your machine.<br />
# kill %1 – Kill first background jobs</p>
<p><strong>Jobs </strong><br />
List the background jobs in following fashion<br />
[3] +       running                                command<br />
[1] &#8211;        running                                command<br />
[2]          running                                command</p>
<p><strong>bg – Convert Jobs to background</strong><br />
# if you have invoked a command and the prompt has not yet return, you can suspend the job by pressing Ctrl-Z. Observe that job has not been terminated yet; its onl y suspended (“stopped”). Now you can use bg command to push the current foreground job in the background.<br />
# bg %2 – Sends second job to background<br />
# bg %sort &#8211; Sends sort job to background</p>
<p><strong>fg – bring background job to foreground</strong><br />
# fg – To bring most recent job to forground<br />
# fg %1 – Bring First job to foreground<br />
# fg %2 – Bring second job to foreground<br />
# fg %sort &#8211; Bring sort job to foreground</p>
<p><strong>at – On time execution</strong><br />
# at 14:08<br />
at &gt; script.sh<br />
[ctrl-d]</p>
<p><strong>Batch – execute when system resources are available</strong><br />
# batch &lt; script.sh</p>
<p><strong>Cron – Schedule and run jobs periodically</strong><br />
# crontab –e – To Edit the cron tab<br />
# crontab –l – To Display the cron tab<br />
# crontab cron.tx – cron.txt contains cron commands<br />
# crontab –r – To Remove the cron</p>
<p>Format of crontab – TODO</p>
<p><strong>Customizing the environment</strong></p>
<p># set – set statemtent display a complete list of all environment variable<br />
# PATH =$PATH:/usr/xpg4/bin – Adding new value to old values<br />
# PS1 =”C&gt; “ – To Change the prompt<br />
# PS1=’[$PWD] ‘ – To Change the prompt to pwd<br />
# alias cp=”cp –I” – To Set the alias in bash<br />
# history – To See the history<br />
# IFS – Field Separators for commands and arguments<br />
# !! – Repeat Previous commands<br />
# !2 – Repeat commands 2 from history output<br />
# !-2 – Execute the commands prior to previous one<br />
# !v – Execture very last commands beginning withg v<br />
# $_ &#8211; Using last arugement of previous commands<br />
# mkdir raj<br />
# cd $_</p>
<p><strong>ln – Hard Links and Softlinks</strong><br />
# ln /usr/bin/perl  /usr/local/bin/perl – To create a hard links from src to dest<br />
# ls –I  &#8211; To Display the node number of files<br />
# ln –s /usr/bin/perl  /usr/local/bin/perl – To Create a soft link</p>
<p><strong>umask – default file and directory permission</strong><br />
# When you create a files and directories, the permission assigned to them depends on rge system’s default setting..<br />
# unix has default 666 for regular files &amp; 777 for directories<br />
# umask –ENTER<br />
# 022<br />
This is an octal number which has to be subtracted from system default to obtain the actual default. This becomes 644 (666-022) for ordinary files and 755 ( 777 -022) for directories.<br />
# User can set the umask such as umask 023.</p>
<p><strong>touch – Changing the time stamp</strong><br />
# touch emp.lst – Create a file name called emp.lst<br />
# touch 02161430 emp.lst – To Change the time stamp of file for MMDDhhmm format<br />
# touch –a 02161430 emp.lst – To Change the access time stamp of file for MMDDhhmm format<br />
# touch –m 02161430 emp.lst – To Change the modification time stamp of file for MMDDhhmm format</p>
<p><strong>find – Locating files</strong></p>
<p><strong>Expression Used by find.</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="149">Expression</td>
<td valign="top" width="489">Use</td>
</tr>
<tr>
<td valign="top" width="149">-inum n</td>
<td valign="top" width="489">Having inode number n</td>
</tr>
<tr>
<td valign="top" width="149">-type x</td>
<td valign="top" width="489">if of type x can include files, directories or symbolic link</td>
</tr>
<tr>
<td valign="top" width="149">-type f</td>
<td valign="top" width="489">If an ordinary file</td>
</tr>
<tr>
<td valign="top" width="149">-perm nnn</td>
<td valign="top" width="489">If octal permission match nnn completely</td>
</tr>
<tr>
<td valign="top" width="149">-links n</td>
<td valign="top" width="489">If having n links</td>
</tr>
<tr>
<td valign="top" width="149">-user usname</td>
<td valign="top" width="489">If owner by usname</td>
</tr>
<tr>
<td valign="top" width="149">-group gname</td>
<td valign="top" width="489">If owned by group gname</td>
</tr>
<tr>
<td valign="top" width="149">-size +x[C]</td>
<td valign="top" width="489"></td>
</tr>
<tr>
<td valign="top" width="149">-mtime –x</td>
<td valign="top" width="489">If modified in less than x days</td>
</tr>
<tr>
<td valign="top" width="149">-newer filename</td>
<td valign="top" width="489">If modified after filename</td>
</tr>
<tr>
<td valign="top" width="149">-mmin –x</td>
<td valign="top" width="489">If modified in less than x minutes</td>
</tr>
<tr>
<td valign="top" width="149">-atime +x</td>
<td valign="top" width="489">If accessed in more than x days</td>
</tr>
<tr>
<td valign="top" width="149">-amin +x</td>
<td valign="top" width="489">If accessed in more than x minutes</td>
</tr>
<tr>
<td valign="top" width="149">-name filename</td>
<td valign="top" width="489">Filename</td>
</tr>
<tr>
<td valign="top" width="149"><strong>Action</strong></td>
<td valign="top" width="489"><strong>Significance</strong></td>
</tr>
<tr>
<td valign="top" width="149">-print</td>
<td valign="top" width="489">Prints selected file on standard output</td>
</tr>
<tr>
<td valign="top" width="149">-ls</td>
<td valign="top" width="489">Executes ls –lids commands on selected files</td>
</tr>
<tr>
<td valign="top" width="149">-exec cmd</td>
<td valign="top" width="489">Executes UNIX command cmd followed by {} \;</td>
</tr>
<tr>
<td valign="top" width="149">-ok cmd</td>
<td valign="top" width="489">Like –exec, except that command is executed after user confirmation</td>
</tr>
</tbody>
</table>
<p><strong>Example</strong></p>
<p>Change File Permissions Recursively<br />
# find . -type f -exec chmod 644 {} \;<br />
# find . -type d -exec chmod 755 {} \;<br />
# find . -name Configuration.php -exec chmod 666 {} \;</p>
<p>Find files modified in the last 48 hours, and in current folder and one level below<br />
# find -maxdepth 2 -type f -mtime -2</p>
<p>To find all files modified in the last 24 hours (last full day) in a particular specific directory and its sub-directories:<br />
# find /directory_path -mtime -1 –print</p>
<p>To find all files with regular file types only, and modified in the last 24 hours (last full day) in current directory and its sub-directories:<br />
# find /directory_path -type f -mtime -1 –print<br />
# find . -type f -mtime -1 –print</p>
<p>To find all files that are modified today only (since start of day only, i.e. 12 am), in current directory and its sub-directories:<br />
# touch -t `date +%m%d0000` /tmp/$$<br />
# find /tmefndr/oravl01 -type f -newer /tmp/$$<br />
# rm /tmp/$$</p>
<p>To find all files in /home/user/demo directory<br />
# find /home/user/demo -type f –print</p>
<p>To find all files in /home/user/demo directory with permission 777, enter:<br />
# find /home/user/demo -type f -perm 777 –print</p>
<p>Apply new permission using the -exec option as follows:<br />
# find /home/user/demo -type f -perm 777 -print -exec chmod 755 {} \;</p>
<p>To select directories and subdirectories use the following syntax:<br />
# find /var/www/html -type d -perm 777 -print -exec chmod 755 {} \;</p>
<p>This first Linux find example searches through the root filesystem (&#8220;/&#8221;) for the file named &#8220;Chapter1&#8221;. If it finds the file, it prints the location to the screen.<br />
# find / -name Chapter1 -type f –print</p>
<p>A nice thing to know is that on Linux systems and modern Unix system you no longer need the -print option at the end of the find command, so you can issue it like this:<br />
# find / -name Chapter1 -type f</p>
<p>This next find command searches through the /usr and /home directories for the file named Chapter1:<br />
# find /usr /home -name Chapter1 -type f</p>
<p>To search in the current directory, and all subdirectories, just use the . character to reference the current directory in your find commands, like this:<br />
# find . -name Chapter1 -type f</p>
<p>This next command searches through the /usr directory for all files that begin with the letters Chapter, followed by anything else. The filename can end with any other combination of characters. It will match filenames such as Chapter, Chapter1, Chapter1.bad, Chapter-in-life, etc.:<br />
# find /usr -name &#8220;Chapter*&#8221; -type f</p>
<p>This next command searches through the /usr/local directory for files that end with the extension .html. These file locations are then printed to the screen.<br />
# find /usr/local -name &#8220;*.html&#8221; -type f</p>
<p>To find all directories named build under the current directory, use this command:<br />
# find . -type d -name build</p>
<p>This command searches through the htdocs and cgi-bin directories for files that end with the extension .cgi. When these files are found, their permission is changed to mode 755 (rwxr-xr-x). This example shows that the find command can easily search through multiple sub-directories (htdocs, cgi-bin) at one time.<br />
# find htdocs cgi-bin -name &#8220;*.cgi&#8221; -type f -exec chmod 755 {} \;</p>
<p>Find and display files last modified les than 90 days ago.<br />
# find . -name &#8220;*&#8221; -mtime -3 -print</p>
<p>find everything in your home that has been modified more recently than &#8220;abc.txt&#8221;:<br />
# find $HOME -newer ~joeuser/lastbatch.txt</p>
<p>For finding only files from all directories recursively<br />
# find ./ -type f | wc -l</p>
<p>For finding only files from all directories recursively<br />
# find ./ &#8211; type d | wc -l</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<br />
# find . -name raj.txt &gt; raj.txt<br />
# counter= `cat abc.txt | wc -l&#8217;<br />
# if [$counter -gt 0]<br />
# then<br />
#                echo &#8220;File is found&#8221;<br />
# else<br />
#                echo &#8220;File is not found&#8221;<br />
# fi<br />
<strong>That&#8217;s nice, but what if I want to see the last modification time of these files, or their filesize? No problem, I just add the &#8220;ls -ld&#8221; command to my find command, like this:</strong><br />
find . -name &#8220;*.pl&#8221; -exec ls -ld {} \;</p>
<p>Count Total number of files in Directory and Subdirectory<br />
# find . -type f | wc –l</p>
<p>Count Specific extention files in Directory and Subdirectory<br />
# find . -type f -name \*.mnp |wc –l</p>
<p>Count only Directory<br />
# find . -type d | wc –l</p>
<p><strong>head – Displaying the beginning of a file</strong><br />
# head –n 3 filename<br />
# vi `ls –t` | head –n 1` &#8211; Opens last modified file for editing</p>
<p><strong>tail – Displaying the end of a file</strong><br />
<strong># tail -3 filename</strong><br />
<strong># tail –f filename             Monitering file live</strong></p>
<p><strong>Cut</strong><br />
# cut –c 6-12,24-32 filename – Cutting column<br />
# cut –d \| -f 2,3 filename            &#8211; Cutting fields<br />
# cut –d “|” –f 1,4- filename –To cut out the fields numbered 1,4,5 and 6.</p>
<p><strong>Sort – Ordering a file</strong><br />
<strong>Sort Options</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="121"><strong>Option</strong></td>
<td valign="top" width="518"><strong>Description</strong></td>
</tr>
<tr>
<td valign="top" width="121"><strong>-tchar</strong></td>
<td valign="top" width="518">Use delimiter char to identify fields</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-k n</strong></td>
<td valign="top" width="518">Sorts on nth field</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-k m,n</strong></td>
<td valign="top" width="518">Start sort on mth field and end sort on nth field</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-k m.n</strong></td>
<td valign="top" width="518">Start sort on nth column of mth field</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-u </strong></td>
<td valign="top" width="518">Removes repeated lines</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-n </strong></td>
<td valign="top" width="518">Sort numerically</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-r </strong></td>
<td valign="top" width="518">Reverse sort order</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-m list</strong></td>
<td valign="top" width="518">Merge sorted files in list</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-c</strong></td>
<td valign="top" width="518">Checks of file sorted</td>
</tr>
<tr>
<td valign="top" width="121"><strong>-o filename</strong></td>
<td valign="top" width="518">Place output in file filename</td>
</tr>
</tbody>
</table>
<p><strong>Examples:</strong><br />
# sort –t”|” –k 2 shortlist<br />
# sort –t”|” –r –k 2 shortlist<br />
# sort –t “|” –k 3,3 –k 2,2 shortlist<br />
# sort –t”|” –k 5.7,5.8 shortlist<br />
# sort numfile<br />
# cut –d”|” –f3 filename | sort –u<br />
# sort –m foo1 foo2 foo3</p>
<p><strong>Uniq – Locate repeated and non-repeated lines</strong><br />
# sort dept.lst | uniq<br />
# cut –d”|” –f3 emp.lst | sort | uniq –u                                 ( -u selects only lines which is not repeated)<br />
# cut –d”|” –f3 emp.lst | sort | uniq –d                                 ( -d selects one copy of repeated lines)<br />
# cut –d”|” –f3 emp.lst | sort | uniq –c</p>
<p><strong>tr – Translating characters</strong><br />
# tr ‘|/’ ‘~-‘ &lt; emp.lst | head –n 3             – To replace the | with a ~ and the / with a  -.<br />
# head –n 3 emp.lst | tr ‘[a-z]’ ‘[A-Z]’     – Change first three lines from lower to upper.<br />
# tr –d ‘|’ &lt; emp.lst | head –n 3                                – To deleting characters</p>
<p><strong>grep – Searching for a pattern</strong><br />
# grep “director” filename1 filename2<br />
# grep “Rajesh Kumar” filename1<br />
# grep –i ‘rajesh’ filename1                                         To Ignore case<br />
# grep –v ‘rajesh’ filename1 &gt; filename2                              To Select all except lines containing patterns<br />
# grep –n ‘rajesh’ filename1                                       To Display line numbers<br />
# grep –c ‘rajesh’ filename                                          Counting line containing pattern<br />
# grep –l ‘rajesh’ *.lst                                                    -l options display only the name of files containing pattern<br />
# grep –f pattern.lst emp.lst                                       Taking patterns from files</p>
<p><strong>Grep a file, but show several surrounding lines?</strong></p>
<p>For BSD or GNU grep you can use -B num to set how many lines before the match and -A num for th number of lines after the match.<br />
grep -B 3 -A 2 foo README.txt</p>
<p>If you want the same amount of lines before and after you can use -C num.<br />
grep -C 3 foo README.txt<br />
This will show 3 lines before and 3 lines after.</p>
<p><strong>Basic Regular Expression tables</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="158"><strong>Symbols or Expressions</strong></td>
<td valign="top" width="480"><strong>Matches</strong></td>
</tr>
<tr>
<td valign="top" width="158"><strong>*</strong></td>
<td valign="top" width="480">Zero or more occurrances of the previous character</td>
</tr>
<tr>
<td valign="top" width="158"><strong>g*</strong></td>
<td valign="top" width="480">Nothing or g,gg,ggg, etc</td>
</tr>
<tr>
<td valign="top" width="158"><strong>.</strong></td>
<td valign="top" width="480">A Single Character</td>
</tr>
<tr>
<td valign="top" width="158"><strong>.*</strong></td>
<td valign="top" width="480">Nothing or any number of character</td>
</tr>
<tr>
<td valign="top" width="158"><strong>[pqr]</strong></td>
<td valign="top" width="480">A single character p, q or r</td>
</tr>
<tr>
<td valign="top" width="158"><strong>[c1-c2]</strong></td>
<td valign="top" width="480">A Single Character with ASCII range</td>
</tr>
<tr>
<td valign="top" width="158"><strong>[1-3]</strong></td>
<td valign="top" width="480">A single digit between 1 and 3</td>
</tr>
<tr>
<td valign="top" width="158"><strong>[^pqr]</strong></td>
<td valign="top" width="480">A Single character which is not a p,q or r</td>
</tr>
<tr>
<td valign="top" width="158"><strong>[^a-zA-Z]</strong></td>
<td valign="top" width="480">A non-alphabetic character</td>
</tr>
<tr>
<td valign="top" width="158"><strong>^pat</strong></td>
<td valign="top" width="480">Pattern pat at the beginning of the line</td>
</tr>
<tr>
<td valign="top" width="158"><strong>pat$</strong></td>
<td valign="top" width="480">Pattern pat at the end of the line</td>
</tr>
<tr>
<td valign="top" width="158"><strong>bash$</strong></td>
<td valign="top" width="480">Bash at the end of the line</td>
</tr>
<tr>
<td valign="top" width="158"><strong>^bash$</strong></td>
<td valign="top" width="480">Bash as the only one word in line</td>
</tr>
<tr>
<td valign="top" width="158"><strong>^$</strong></td>
<td valign="top" width="480">Line containing nothing</td>
</tr>
<tr>
<td valign="top" width="158"><strong>+</strong></td>
<td valign="top" width="480">Matches one or more character of previous character</td>
</tr>
<tr>
<td valign="top" width="158"><strong>?</strong></td>
<td valign="top" width="480">Matches zero or one occurrence of the previous character</td>
</tr>
<tr>
<td valign="top" width="158"><strong>|</strong></td>
<td valign="top" width="480">Delimiter for multiple pattern</td>
</tr>
<tr>
<td valign="top" width="158"><strong>( )</strong></td>
<td valign="top" width="480">Group pattern</td>
</tr>
</tbody>
</table>
<p><strong>Example:</strong><br />
# grep “[aA]g[ar][ar]wal filename<br />
# grep “[aA]gg*[ar][ar]wal” filename<br />
# grep “j.*Saxena” filename<br />
# grep “^2” filename<br />
# grep “7…$” filename<br />
# grep “^[^2]” filename<br />
# grep –E “[aA]gg?arwal” filename<br />
# grep –E ‘sengupta|dasgupta’ filename<br />
# grep –E ‘(sen|das)gupta’ filename</p>
<p><strong>Editor</strong><br />
Awk  &#8211; http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/<br />
Sed<br />
vi</p>
<p># sed – The Stream Editor<br />
# sed ‘3q’ filename == head –n 3                              Quit after line number 3<br />
# sed –n ‘1,2p’ filename                                                               Prints the first 2 lines. Must use –n with p<br />
# sed –n ‘$p’ filename                                                   print last line<br />
# sed –n ‘9,11p 7,9p $p’ filename<br />
# sed –n ‘3,$ip’ filename                                              Don’t print line 3 to the end, display only line 1 and 2</p>
<p># sed –n ‘/director/p’ filename                                 To print the lines which has pattern in filename<br />
# sed –n ‘/dasgupta/,/saksena/p’ filename<br />
# sed –n ‘1,/dasgupta/p’ filename<br />
# sed –n ‘/[aA]gg*[ar][ar]wal/p’ filename<br />
# sed –n ‘/sa[kx]s*ena/p /Gupta/p’ filename<br />
# sed –n ‘/50…..$/p’ filename</p>
<p># sed –n ‘director/w  dlsit’ filename<br />
# sed –n ‘director/w dlist /manager/w mlist /executive/w elist’ filename<br />
# sed –n ‘1,500w foo1 501,$w foo2’ filename</p>
<p># sed ‘1i\<br />
&gt; #include &lt;stdio.h&gt;\<br />
&gt; #include&lt;unistd.h&gt;<br />
&gt;’ foo.c  &gt;&gt; $$                                                                    Include these include on beginning of the program<br />
# sed ‘a\</p>
<p>‘ filename                                                                            # insert after every line this blank line<br />
# sed “/director/d’ filename &gt; filename2              -n option not to be used with d<br />
== # grep –v “director” filename &gt; filename2<br />
# sed –n ‘/director/!p’ filename1 &gt; filename2</p>
<p># sed ‘s/|/:/’ filename | head -2<br />
# sed ‘s/|/:/g’ filename | head -2<br />
# sed ‘1,3s/|/:/g’ filename<br />
# sed ‘1,5s/director/member /’ filename<br />
# sed ‘s/^/2’ filename<br />
# sed ‘s/$.00/’ filename</p>
<p><strong>Sed tables</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="130">Command</td>
<td valign="top" width="508">Description</td>
</tr>
<tr>
<td valign="top" width="130">I,a,c</td>
<td valign="top" width="508"><strong>Insert, Appends and Changes text</strong></td>
</tr>
<tr>
<td valign="top" width="130">d</td>
<td valign="top" width="508"><strong>Delete lines</strong></td>
</tr>
<tr>
<td valign="top" width="130">10q</td>
<td valign="top" width="508"><strong>Quit after reading the first 10 lines</strong></td>
</tr>
<tr>
<td valign="top" width="130">p</td>
<td valign="top" width="508"><strong>Print line on standard outputs</strong></td>
</tr>
<tr>
<td valign="top" width="130">3,$p</td>
<td valign="top" width="508"><strong>Print lines 3 to the end. –n option is required</strong></td>
</tr>
<tr>
<td valign="top" width="130">$!p</td>
<td valign="top" width="508"><strong>Prints all lines except last line. –n option required</strong></td>
</tr>
<tr>
<td valign="top" width="130">/begin/,/end/p</td>
<td valign="top" width="508"><strong>Print lines enclosed between begin and end. –n option required</strong></td>
</tr>
<tr>
<td valign="top" width="130">q</td>
<td valign="top" width="508"><strong>Quit after reading uo to the address line</strong></td>
</tr>
<tr>
<td valign="top" width="130"></td>
<td valign="top" width="508"><strong> </strong></td>
</tr>
</tbody>
</table>
<p><strong>Vi &#8211; Editor                            </strong></p>
<p><strong>IMPORTANT – YOU SHOULD USE DOUBLE QUOTES ONLY WHEN PARAMETER EVALULATION OR command substitution is embedded within command</strong></p>
<p>Write about command “w”</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/linux-commands-for-user/">Linux Commands for User | Linux User Commands Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/linux-commands-for-user/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>GIT Tutorial &#8211; Branching and Merging</title>
		<link>https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 04 Jun 2014 15:22:54 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Branching]]></category>
		<category><![CDATA[Branching and Merging in Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git Branching]]></category>
		<category><![CDATA[Git Branching and Merging]]></category>
		<category><![CDATA[Git Branching and Merging Guide]]></category>
		<category><![CDATA[Git Branching and Merging Tutorial]]></category>
		<category><![CDATA[Git Guide]]></category>
		<category><![CDATA[Git Merging]]></category>
		<category><![CDATA[Git Reference]]></category>
		<category><![CDATA[Git Tutorial]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Merging]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/06/04/git-tutorial-branching-and-merging/</guid>

					<description><![CDATA[<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/">GIT Tutorial &#8211; Branching and Merging</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-3709 alignleft" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-tutorial.png" alt="git-branching-and-merging-tutorial" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-tutorial.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-tutorial-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/">GIT Tutorial &#8211; Branching and Merging</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Recommended Books for Maven &#124; Good books for Maven learning</title>
		<link>https://www.scmgalaxy.com/tutorials/recommended-books-for-maven/</link>
					<comments>https://www.scmgalaxy.com/tutorials/recommended-books-for-maven/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 11 Feb 2014 05:42:05 +0000</pubDate>
				<category><![CDATA[Maven]]></category>
		<category><![CDATA[Best Maven Books]]></category>
		<category><![CDATA[Bood books to learn maven]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Good books for Maven]]></category>
		<category><![CDATA[Learn Maven]]></category>
		<category><![CDATA[Maven Books]]></category>
		<category><![CDATA[Maven books reference]]></category>
		<category><![CDATA[Maven Guide]]></category>
		<category><![CDATA[Maven learning resources]]></category>
		<category><![CDATA[Maven tutorials]]></category>
		<category><![CDATA[Recommended]]></category>
		<category><![CDATA[Recommended books for Maven]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Top Maven Books]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/02/11/recommended-books-for-maven/</guid>

					<description><![CDATA[<p>Recommended Books for Maven http://www.maestrodev.com/wp-content/uploads/2012/03/betterbuildswithmaven-2008.pdf</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/recommended-books-for-maven/">Recommended Books for Maven | Good books for Maven learning</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-3733 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/maven-books-references-1.png" alt="maven-books-references" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/maven-books-references-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/02/maven-books-references-1-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Recommended Books for Maven<br />
</strong><br />
<!-- [if gte mso 9]><xml>  <o:OfficeDocumentSettings>   <o:AllowPNG/>  </o:OfficeDocumentSettings> </xml><![endif]--></p>
<p class="MsoPlainText"><a href="http://www.maestrodev.com/wp-content/uploads/2012/03/betterbuildswithmaven-2008.pdf">http://www.maestrodev.com/wp-content/uploads/2012/03/betterbuildswithmaven-2008.pdf</a></p>
<p><!-- [if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves/>   <w:TrackFormatting/>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF/>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>X-NONE</w:LidThemeAsian>   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>    <w:SplitPgBreakAndParaMark/>    <w:EnableOpenTypeKerning/>    <w:DontFlipMirrorIndents/>    <w:OverrideTableStyleHps/>   </w:Compatibility>   <w:DoNotOptimizeForBrowser/>   <m:mathPr>    <m:mathFont m:val="Cambria Math"/>    <m:brkBin m:val="before"/>    <m:brkBinSub m:val="&#45;-"/>    <m:smallFrac m:val="off"/>    <m:dispDef/>    <m:lMargin m:val="0"/>    <m:rMargin m:val="0"/>    <m:defJc m:val="centerGroup"/>    <m:wrapIndent m:val="1440"/>    <m:intLim m:val="subSup"/>    <m:naryLim m:val="undOvr"/>   </m:mathPr></w:WordDocument> </xml><![endif]--><!-- [if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true" DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267">   <w:LsdException Locked="false" Priority="0" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Normal"/>   <w:LsdException Locked="false" Priority="9" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>   <w:LsdException Locked="false" Priority="39" Name="toc 1"/>   <w:LsdException Locked="false" Priority="39" Name="toc 2"/>   <w:LsdException Locked="false" Priority="39" Name="toc 3"/>   <w:LsdException Locked="false" Priority="39" Name="toc 4"/>   <w:LsdException Locked="false" Priority="39" Name="toc 5"/>   <w:LsdException Locked="false" Priority="39" Name="toc 6"/>   <w:LsdException Locked="false" Priority="39" Name="toc 7"/>   <w:LsdException Locked="false" Priority="39" Name="toc 8"/>   <w:LsdException Locked="false" Priority="39" Name="toc 9"/>   <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>   <w:LsdException Locked="false" Priority="10" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Title"/>   <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>   <w:LsdException Locked="false" Priority="11" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>   <w:LsdException Locked="false" Priority="22" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Strong"/>   <w:LsdException Locked="false" Priority="20" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>   <w:LsdException Locked="false" Priority="59" SemiHidden="false" UnhideWhenUsed="false" Name="Table Grid"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>   <w:LsdException Locked="false" Priority="1" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 1"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 1"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 1"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>   <w:LsdException Locked="false" Priority="34" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>   <w:LsdException Locked="false" Priority="29" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Quote"/>   <w:LsdException Locked="false" Priority="30" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 1"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 1"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 2"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 2"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 2"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 2"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 2"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 3"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 3"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 3"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 3"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 3"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 4"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 4"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 4"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 4"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 4"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 5"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 5"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 5"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 5"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 5"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 6"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 6"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 6"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 6"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 6"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>   <w:LsdException Locked="false" Priority="19" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>   <w:LsdException Locked="false" Priority="21" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>   <w:LsdException Locked="false" Priority="31" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>   <w:LsdException Locked="false" Priority="32" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>   <w:LsdException Locked="false" Priority="33" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>   <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>   <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>  </w:LatentStyles> </xml><![endif]--><!-- [if gte mso 10]>



<style>  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} </style>

 <![endif]--></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/recommended-books-for-maven/">Recommended Books for Maven | Good books for Maven learning</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/recommended-books-for-maven/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>SCM Build and Release Engineer Jobs Website &#124; Portal</title>
		<link>https://www.scmgalaxy.com/tutorials/scm-build-and-release-engineer-jobs-website/</link>
					<comments>https://www.scmgalaxy.com/tutorials/scm-build-and-release-engineer-jobs-website/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 19 Apr 2013 09:44:33 +0000</pubDate>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Build & Release Engineer Jobs]]></category>
		<category><![CDATA[Build & Release Engineer Jobs Portal]]></category>
		<category><![CDATA[Build & Release Engineer Jobs Website]]></category>
		<category><![CDATA[Build & Release Jobs]]></category>
		<category><![CDATA[Engineer]]></category>
		<category><![CDATA[Hiring]]></category>
		<category><![CDATA[Jobs]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[Recruitment]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[SCM Engineer Jobs]]></category>
		<category><![CDATA[SCM Engineer Jobs Portal]]></category>
		<category><![CDATA[SCM Engineer Jobs Website]]></category>
		<category><![CDATA[SCM Jobs]]></category>
		<category><![CDATA[Sites]]></category>
		<category><![CDATA[Vacancy]]></category>
		<category><![CDATA[Website]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2013/04/19/scm-build-and-release-engineer-jobs-website/</guid>

					<description><![CDATA[<p>Build and Release Engineer Jobs &#124; Build Engineer Jobs &#124; Clearcase Administrator Jobs &#124; Configuration Engineer Jobs &#124; SCM Administrator [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/scm-build-and-release-engineer-jobs-website/">SCM Build and Release Engineer Jobs Website | Portal</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-3768 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/04/scm-build-and-release-engin.png" alt="scm-build-and-release-engineer-jobs-website" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/04/scm-build-and-release-engin.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/04/scm-build-and-release-engin-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h2>
<h2><a title="Build and Release Engineer Jobs" href="http://jobs.scmgalaxy.com">Build and Release Engineer Jobs</a> | <a title="Build Engineer Jobs" href="http://jobs.scmgalaxy.com">Build Engineer Jobs</a> | <a title="Clearcase Administrator Jobs" href="http://jobs.scmgalaxy.com">Clearcase Administrator Jobs</a> | <a title="Configuration Engineer Jobs" href="http://jobs.scmgalaxy.com">Configuration Engineer Jobs</a> | <a title="SCM Administrator Jobs" href="http://jobs.scmgalaxy.com">SCM Administrator Jobs</a> | <a title="Release Engineer Jobs" href="http://jobs.scmgalaxy.com">Release Engineer Jobs</a> | <a title="Perforce Administrator Jobs" href="http://jobs.scmgalaxy.com">Perforce Administrator Jobs</a> | <a title="Subversion Jobs" href="http://jobs.scmgalaxy.com">Subversion Jobs </a>| <a title="Github Jobs" href="http://jobs.scmgalaxy.com">Github Jobs</a> | <a title="SCM Engineer Jobs" href="http://jobs.scmgalaxy.com">SCM Engineer Jobs</a> |</h2>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/scm-build-and-release-engineer-jobs-website/">SCM Build and Release Engineer Jobs Website | Portal</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/scm-build-and-release-engineer-jobs-website/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Performance Monitoring using iostat, mpstat and vmstat &#124; Linux Performance Monitoring Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/linux-performance-monitoring-using-iostat-mpstat-and-vmstat/</link>
					<comments>https://www.scmgalaxy.com/tutorials/linux-performance-monitoring-using-iostat-mpstat-and-vmstat/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 08:58:38 +0000</pubDate>
				<category><![CDATA[Unix - Linux]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[iostat]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Performance Monitoring]]></category>
		<category><![CDATA[Linux Performance Monitoring using iostat]]></category>
		<category><![CDATA[Linux Performance Monitoring using mpstat]]></category>
		<category><![CDATA[Linux Performance Monitoring using vmstat]]></category>
		<category><![CDATA[Linux Tutorial]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[mpstat]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Performance Monitoring]]></category>
		<category><![CDATA[Performance Monitoring Guide]]></category>
		<category><![CDATA[Performance Monitoring Tutorial]]></category>
		<category><![CDATA[Performance Monitoring using iostat]]></category>
		<category><![CDATA[Performance Monitoring using mpstat]]></category>
		<category><![CDATA[Performance Monitoring using vmstat]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vmstat]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2012/07/06/linux-performance-monitoring-using-iostat-mpstat-and-vmstat/</guid>

					<description><![CDATA[<p>iostat reports CPU, disk I/O, and NFS statistics. mpstat reports processors statictics. vmstat reports virtual memory statistics. vxstat &#8211; This [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/linux-performance-monitoring-using-iostat-mpstat-and-vmstat/">Linux Performance Monitoring using iostat, mpstat and vmstat | Linux Performance Monitoring Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3788 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/07/linux-performance-monitorin.png" alt="linux-performance-monitoring" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/07/linux-performance-monitorin.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/07/linux-performance-monitorin-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<h3><strong>iostat</strong> reports CPU, disk I/O, and NFS statistics.</h3>
<p><strong>mpstat</strong> reports processors statictics.<br />
<strong>vmstat</strong> reports virtual memory statistics.</p>
<p><a href="http://sfdoccentral.symantec.com/vom/4.0/win_unix/html/vom_winadm_addon_users/SFW_VOM40/apas11.htm">vxstat</a> &#8211; This Utility can be used as well.</p>
<h3><strong>iostat</strong> reports CPU, disk I/O, and NFS statistics.</h3>
<p>The iostat command generates two types of reports, the CPU Utilization report and the Device Utilization report. The first report generated by the iostat command is the CPU Utilization Report.</p>
<table border="1" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">iostat commands Table</td>
</tr>
<tr>
<td valign="top" width="192">iostat</td>
<td valign="top" width="959">Iostat without any argument displays information about the CPU usage, and I/O statistics</td>
</tr>
<tr>
<td valign="top" width="192">iostat -c</td>
<td valign="top" width="959">Display only cpu statistics</td>
</tr>
<tr>
<td valign="top" width="192">iostat -d</td>
<td valign="top" width="959">Display only disk I/O statistics</td>
</tr>
<tr>
<td valign="top" width="192">iostat -n</td>
<td valign="top" width="959">Display only network statistics (device and NFS statistics)</td>
</tr>
<tr>
<td valign="top" width="192">iostat -m</td>
<td valign="top" width="959">Display the device I/O statistics in Blocks and To change I/O data in MB/second</td>
</tr>
<tr>
<td valign="top" width="192">iostat –p</td>
<td valign="top" width="959">Display I/O statistics only for a device(data for all the disks available in the system)</td>
</tr>
<tr>
<td valign="top" width="192">iostat -t</td>
<td valign="top" width="959">By default iostat displays only the current date. To display the current time, use this option</td>
</tr>
<tr>
<td valign="top" width="192">iostat -x</td>
<td valign="top" width="959">Display extended disk I/O statistics information</td>
</tr>
<tr>
<td valign="top" width="192">iostat -x sda1</td>
<td valign="top" width="959">Display Extended status of device sda1</td>
</tr>
<tr>
<td valign="top" width="192">iostat 2</td>
<td valign="top" width="959">Execute Every 2 seconds (until you press Ctl-C)</td>
</tr>
<tr>
<td valign="top" width="192">iostat 2 3</td>
<td valign="top" width="959">To execute every 2 seconds for a total of 3 times</td>
</tr>
<tr>
<td valign="top" width="192">iostat -N</td>
<td valign="top" width="959">To display the LVM statistics use option -N as shown below.</td>
</tr>
<tr>
<td valign="top" width="192">iostat –V</td>
<td valign="top" width="959">To Display Version</td>
</tr>
<tr>
<td valign="top"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">iostat -d -x</td>
<td valign="top">Display only disk I/O statisticsin in extended form</td>
</tr>
<tr>
<td valign="top">iostat -d -x sda</td>
<td valign="top">Display only sda device I/O statisticsin in extended form</td>
</tr>
<tr>
<td valign="top">iostat -Td -xdn 5</td>
<td valign="top">For Solaris</td>
</tr>
<tr>
<td valign="top">iostat -d -x 5</td>
<td valign="top">For Linux</td>
</tr>
<tr>
<td colspan="2" valign="top"><strong>if Average read or write times over 50 ms, this should be consider for serious i/o problems</strong></td>
</tr>
</tbody>
</table>
<p><strong>The report has the following format:</strong></p>
<p><strong>%user</strong> &#8211; Show the percentage of CPU utilization that occurred while executing at the user level (application).<br />
<strong>%nice </strong>&#8211; provides statistics on a per physical device or partition basis.<br />
<strong>Device</strong> &#8211; This column gives the device name<br />
<strong>tps </strong>&#8211; Indicate the number of transfers per second that were issued to the device. A transfer is an I/O request to the device.<br />
<strong>Blk_read/s</strong> &#8211; Indicate the amount of data read from the drive expressed in a number of blocks per second.<br />
<strong>Blk_wrtn/s</strong> &#8211; Indicate the amount of data written to the drive expressed in a number of blocks per second.<br />
<strong>Blk_read</strong> &#8211; The total number of blocks read.<br />
<strong>Blk_wrtn </strong>&#8211; The total number of blocks written.<br />
<strong>kB_read/s</strong> &#8211; Indicate the amount of data read from the drive expressed in kilobytes per second.<br />
<strong>kB_wrtn/s</strong> &#8211; Indicate the amount of data written to the drive expressed in kilobytes per second.<br />
<strong>wrqm/s </strong>&#8211; The number of write requests merged per second that were issued to the device.<br />
<strong>r/s</strong> &#8211; The number of read requests that were issued to the device per second.<br />
<strong>w/s</strong> &#8211; The number of write requests that were issued to the device per second.<br />
<strong>rsec/s</strong> &#8211; The number of sectors read from the device per second.<br />
<strong>wsec/s</strong> &#8211; The number of sectors written to the device per second.<br />
<strong>await</strong> &#8211; The average time (in milliseconds) for I/O requests issued to the device to be served.<br />
<strong>svctm</strong> &#8211; The average service time (in milliseconds) for I/O requests that were issued to the device.<br />
<strong>%util </strong>&#8211; Percentage of CPU time during which I/O requests were issued to the device.</p>
<h3><strong>vmstat</strong> reports virtual memory statistics.</h3>
<table border="1" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="183">vmstat -a</td>
<td valign="top" width="968">Display active and inactive memory</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -f</td>
<td valign="top" width="968">Display number of forks since last boot</td>
</tr>
<tr>
<td valign="top" width="183">vmstat 2</td>
<td valign="top" width="968">Execute Every x seconds (for y number of times)</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -t 1 100</td>
<td valign="top" width="968">Display timestamp</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -V</td>
<td valign="top" width="968">version info</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -m</td>
<td valign="top" width="968">Display slab info</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -s</td>
<td valign="top" width="968">Display statistics in a table format</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -d</td>
<td valign="top" width="968">Use option -d to display the disk statistics as shown below. This displays the reads, writes, and I/O statistics of the disk.</td>
</tr>
<tr>
<td valign="top" width="183">vmstat 1 3</td>
<td valign="top" width="968">vmstat – Increase the width of the display</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -p sdb1</td>
<td valign="top" width="968">Display statistics for a partition</td>
</tr>
<tr>
<td valign="top" width="183">vmstat -S m</td>
<td valign="top" width="968">Display in MB</td>
</tr>
</tbody>
</table>
<p><strong>The report has the following format:</strong></p>
<p><strong>Procs – r</strong>: Total number of processes waiting to run<br />
<strong>Procs – b</strong>: Total number of busy processes<br />
<strong>Memory – swpd</strong>: Used virtual memory<br />
<strong>Memory – free</strong>: Free virtual memory<br />
<strong>Memory – buff</strong>: Memory used as buffers<br />
<strong>Memory – cache</strong>: Memory used as cache.<br />
<strong>Swap – si</strong>: Memory swapped from disk (for every second)<br />
<strong>Swap – so</strong>: Memory swapped to disk (for every second)<br />
<strong>IO – bi</strong>: Blocks in. i.e blocks received from device (for every second)<br />
<strong>IO – bo</strong>: Blocks out. i.e blocks sent to the device (for every second)<br />
<strong>System – in</strong>: Interrupts per second<br />
<strong>System – cs</strong>: Context switches<br />
CPU – us, sy, id, wa, st: CPU user time, system time, idle time, wait time</p>
<h3><strong>mpstat</strong> reports processors statictics.</h3>
<p>reports processors statictics(mpstat &#8211; Report processors related statistics and mpstat displays CPU statistics )</p>
<p>mpstat :- mpstat displays CPU statistics<br />
mpstat -A :- Display all information<br />
mpstat -P ALL :- Display CPU statistics of individual CPU (or) Core</p>
<p><strong>Reference:</strong><br />
<a href="http://www.linux-tutorial.info/modules.php?name=ManPage&amp;sec=1&amp;manpage=iostat" target="_blank" rel="noopener">http://www.linux-tutorial.info/modules.php?name=ManPage&amp;sec=1&amp;manpage=iostat</a><br />
<a href="http://www.thegeekstuff.com/2011/07/iostat-vmstat-mpstat-examples/" target="_blank" rel="noopener">http://www.thegeekstuff.com/2011/07/iostat-vmstat-mpstat-examples/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/linux-performance-monitoring-using-iostat-mpstat-and-vmstat/">Linux Performance Monitoring using iostat, mpstat and vmstat | Linux Performance Monitoring Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/linux-performance-monitoring-using-iostat-mpstat-and-vmstat/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Unix Sed Quick Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/unix-sed-quick-reference/</link>
					<comments>https://www.scmgalaxy.com/tutorials/unix-sed-quick-reference/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 23 Nov 2010 09:49:04 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Introduction of Unix Sed]]></category>
		<category><![CDATA[Quick]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Sed]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[Unix Sed]]></category>
		<category><![CDATA[Unix sed command]]></category>
		<category><![CDATA[Unix Sed Guide]]></category>
		<category><![CDATA[UNIX SED Introduction]]></category>
		<category><![CDATA[Unix Sed Overview]]></category>
		<category><![CDATA[UNIX Sed Working Method]]></category>
		<category><![CDATA[What is Unix sed]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/11/23/unix-sed-quick-reference/</guid>

					<description><![CDATA[<p>UNIX SED Introduction · Sed is a “non-interactive” stream-oriented editor. Since its an “non-interactive” it can be used to automate [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/unix-sed-quick-reference/">Unix Sed Quick 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-4353" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/11/unix-sed-quick-reference.png" alt="unix-sed-quick-reference" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/11/unix-sed-quick-reference.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/11/unix-sed-quick-reference-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">UNIX SED Introduction</span></span></span></span></strong></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1;"><span style="color: #000000;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;"><span style="font-size: small;">·</span> </span></span><span style="font-family: Calibri; font-size: small;">Sed is a “non-interactive” stream-oriented editor. Since its an “non-interactive” it can be used to automate editing.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1;"><span style="color: #000000;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;"><span style="font-size: small;">·</span> </span></span><span style="font-family: Calibri; font-size: small;">This allows you to edit multiple files, or to perform common editing operations without opening VI or emacs.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1;"><span style="color: #000000;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;"><span style="font-size: small;">·</span> </span></span><span style="font-family: Calibri; font-size: small;">Sed reads from a file or from its standard input and outputs to its standard output.</span></span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; margin: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1;"><span style="color: #000000;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;"><span style="font-size: small;">·</span> </span></span><span style="font-size: small;"><span style="font-family: Calibri;"> Sed has two buffers which are called pattern buffer and hold buffer. Both are initially empty.</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">UNIX Sed Working Method</span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; color: #000000; font-size: small;">This is called as one execution cycle. Cycle continues till end of file/input is reached.</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l1 level1 lfo2;"><span style="color: #000000;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span> </span></span><span style="font-family: Calibri; font-size: small;">Read a entire line from stdin/file.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l1 level1 lfo2;"><span style="color: #000000;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">2.</span> </span></span><span style="font-family: Calibri; font-size: small;">Removes any trailing newline.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l1 level1 lfo2;"><span style="color: #000000;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">3.</span> </span></span><span style="font-family: Calibri; font-size: small;">Places the line, in its pattern buffer.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l1 level1 lfo2;"><span style="color: #000000;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">4.</span> </span></span><span style="font-family: Calibri; font-size: small;">Modify the pattern buffer according to the supplied commands</span></span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; margin: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo2;"><span style="color: #000000;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">5.</span> </span></span><span style="font-family: Calibri; font-size: small;">Print the pattern buffer to stdout.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">Printing Operation in Sed</span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; color: #000000; font-size: small;">Linux Sed command allows you to print only specific lines based on the line number or pattern matches. <strong style="mso-bidi-font-weight: normal;">“p” </strong>is a command for printing the data from the pattern buffer.</span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">Syntax:</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;"># sed -n &#8216;ADDRESS&#8217;p filename</span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt 0.5in;"><span style="color: #000000;"><em style="mso-bidi-font-style: normal;"><span style="line-height: 115%;"># sed -n &#8216;/PATTERN/p&#8217; filename</span></em></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; color: #000000; font-size: small;">Create the txt file <strong style="mso-bidi-font-weight: normal;">sample.txt</strong> that will be used in all examples below.</span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;"># cat sample.txt</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">1. Linux &#8211; Sysadmin, Scripting etc.</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">2. Databases &#8211; Oracle, mySQL etc.</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">3. Hardware</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">4. Security (Firewall, Network, Online Security etc)</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">5. Storage</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">6. Cool gadgets and websites</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">7. Productivity (Too many technologies to explore)</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">8. Website Design</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">9. Software Development</span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="line-height: 115%;"><span style="color: #000000;">10.Windows- Sysadmin, reboot etc.</span></span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">Sed Address Format 1: NUMBER</span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; color: #000000; font-size: small;">This will only match Nth line in the input.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">#sed –n ‘N’p filename</span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; color: #000000; font-size: small;">For example, 3p prints 3<sup>rd</sup> line of the input file sample.txt as below</span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;"># sed -n &#8216;3&#8217;p thegeekstuff.txt</span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt 0.5in;"><span style="color: #000000;"><em style="mso-bidi-font-style: normal;"><span style="line-height: 115%;">3. Hardware</span></em> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">Sed Address Format 2: NUMBER1~NUMBER2</span></span></span></span></strong></p>
<p><span style="color: #000000;">M~N with “p” command prints every Nth line starting from line M.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘M~N’p filename</span></strong></strong></p>
<p><span style="color: #000000;">For example, 3~2p prints every 2nd line starting from 3rd line as shown below.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '3~2'p thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">3. Hardware</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">5. Storage</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">7. Productivity (Too many technologies to explore)</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">9. Software Development</span></span></em></pre>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 3;"><strong><span style="text-decoration: underline;"><span style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">Sed Address Format 3: START,END</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri; color: #000000; font-size: small;">M,N with “p” command prints Mth line to Nth line.<br />
</span><strong><br />
<span style="font-family: Calibri; color: #000000; font-size: small;"># sed -n ‘M,N’p filename</span></strong></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;">For example, 4,8p prints from 4th line to 8th line from input file thegeekstuff.txt</span></span></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;"># sed -n &#8216;4,8&#8217;p thegeekstuff.txt</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">4. Security (Firewall, Network, Online Security etc)</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">5. Storage</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">6. Cool gadgets and websites</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">7. Productivity (Too many technologies to explore)</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">8. Website Design</span></em></p>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Address Format 4: ‘$’ Last Line</span></span></h3>
<p><span style="color: #000000;">$ with “p” command matches only the last line from the input.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘$’p filename</span></strong></strong></p>
<p><span style="color: #000000;">For example, $p prints only the last line as shown below.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '$'p thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">10.Windows- Sysadmin, reboot etc.</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;"> </span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Address Format 5: NUMBER,$</span></span></h3>
<p><span style="color: #000000;">N,$ with “p” command prints from Nth line to end of file.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘N,$p’ filename</span></strong></strong></p>
<p><span style="color: #000000;">For example 4,$p prints from 4th line to end of file.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '4,$p' thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">4. Security (Firewall, Network, Online Security etc)</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">5. Storage</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">6. Cool gadgets and websites</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">7. Productivity (Too many technologies to explore)</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">8. Website Design</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">9. Software Development</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;">10.Windows- Sysadmin, reboot etc.</span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Pattern Format 1: PATTERN</span></span></h3>
<p><span style="color: #000000;">PATTERN could be unix regular expression. The below command prints only the line which matches the given pattern.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n /PATTERN/p filename</span></strong></strong></p>
<p><span style="color: #000000;">For example, following prints the line only which matches the pattern “Sysadmin”.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n /Sysadmin/p thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">1. Linux - Sysadmin, Scripting etc.</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;">10.Windows- Sysadmin, reboot etc.</span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Pattern Format 2: /PATTERN/,ADDRESS</span></span></h3>
<p><span style="color: #000000;"><strong># sed -n ‘/PATTERN/,Np’ filename</strong></span></p>
<p><span style="color: #000000;">For example, following prints lines which matches the pattern to Nth line, from input. 3rd line matches the pattern “Hardware”, so it prints from 3rd line to 6th line.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '/Hardware/,6p' thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">3. Hardware</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">4. Security (Firewall, Network, Online Security etc)</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">5. Storage</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">6. Cool gadgets and websites</span></span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Pattern Format 3: ADDRESS,/PATTERN/</span></span></h3>
<p><span style="color: #000000;">It prints from the Nth line of the input, to the line which matches the pattern. If the pattern doesnt match, it prints upto end of the input.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘N,/PATTERN/p’ filename</span></strong></strong></p>
<p><span style="color: #000000;">For example, 4th line matches the pattern “Security”, so it prints from 3rd line to 4th line.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '3,/Security/p' thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">3. Hardware</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;">4. Security (Firewall, Network, Online Security etc)</span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Pattern Format 4: /PATTERN/,$</span></span></h3>
<p><span style="color: #000000;">It prints from the line matches the given pattern to end of file.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘/PATTERN/,$p’ filename</span></strong></strong></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '/Website/,$p' thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">8. Website Design</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">9. Software Development</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;">10.Windows- Sysadmin, reboot etc.</span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Pattern Format 5: /PATTERN/,+N</span></span></h3>
<p><span style="color: #000000;">It prints the lines which matches the pattern and next N lines following the matched line.<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘/PATTERN/,+Np’ filename</span></strong></strong></p>
<p><span style="color: #000000;">For example, following prints the 5th line which matches the pattern /Storage/ and next two lines following /Storage/.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '/Storage/,+2p' thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">5. Storage</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">6. Cool gadgets and websites</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;">7. Productivity (Too many technologies to explore)</span></em></pre>
<h3 style="margin: auto 0in;"><span style="text-decoration: underline;"><span style="color: #000000;">Sed Pattern Format 6: /PATTERN/,/PATTERN/</span></span></h3>
<p><span style="color: #000000;">Prints the section of file between two regular expression (including the matched line ).<br />
</span><strong><br />
<strong><span style="color: #000000;"># sed -n ‘/P1/,/P2/p’ filename</span></strong></strong></p>
<p><span style="color: #000000;">For example, 5th line matches “Storage” and 8th line matches “Design”, so it prints 5th to 8th.</span></p>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;"># sed -n '/Storage/,/Design/p' thegeekstuff.txt</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">5. Storage</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">6. Cool gadgets and websites</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-size: x-small;"><span style="font-family: Courier New;">7. Productivity (Too many technologies to explore)</span></span></em></pre>
<pre style="margin-left: 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Courier New; font-size: x-small;">8. Website Design</span></em></pre>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="line-height: 115%; font-size: 12pt;"><span style="font-family: Calibri;"><span style="color: #000000;">Delete File Lines Using Address and pattern in Sed</span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="line-height: 115%; font-size: 12pt;"><span style="font-family: Calibri;"><span style="color: #000000;">“p” command prints the buffer (Remember to use “-n” option with “p”)</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="line-height: 115%; font-size: 12pt;"><span style="font-family: Calibri;"><span style="color: #000000;">“d” command is just opposite, it’s for deletion. “d” will delete the pattern space buffer and immediately starts the next cycle.</span></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;">Syntax:</span></em></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><em style="mso-bidi-font-style: normal;"><span style="color: #000000;"># sed &#8216;ADDRESS&#8217;d filename</span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt 0.5in;"><em style="mso-bidi-font-style: normal;"><span style="line-height: 115%;"><span style="color: #000000;"># sed /PATTERN/d filename</span></span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">Delete the Nth line.</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">“Nd” delete the Nth line and prints the other lines.</span></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">For example, 3d deletes 3<sup>rd</sup> line and prints other lines.</span></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed 3d sample.txt</em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">Delete Starting from 3<sup>rd</sup> line and every 2<sup>nd</sup> line from there.</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed ‘3~2d’ sample.txt</em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;">Delete from 4ht to 8<sup>th</sup> line from file</span></span></strong></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed ‘4,8d’ sample.txt</em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">Delete the last line from input</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed ‘$d’ sample.txt</em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;">Delete the line which matches the given pattern from input</span></span></strong></span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed /Sysadmin/d sample.txt </em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">Delete the line from which matches the given pattern to end of the file</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed ‘/Website/ ,$d’ sample.txt</em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">Delete the line from which matches the given pattern and 2 lines next to that</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"> <em style="mso-bidi-font-style: normal;">$sed ‘Storage/ ,+2d’ sample.txt</em></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="color: #000000;">Delete blank line from a file using sed.</span></span></span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><em style="mso-bidi-font-style: normal;"><span style="font-size: small;"><span style="color: #000000;"> $sed ‘/^$/d’ sample.txt</span></span></em></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/unix-sed-quick-reference/">Unix Sed Quick Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/unix-sed-quick-reference/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Simple Ant Example &#8211; clean, prepare, and compile tasks</title>
		<link>https://www.scmgalaxy.com/tutorials/sample-ant-clean-prepare-and-compile-tasks/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sample-ant-clean-prepare-and-compile-tasks/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:04:50 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[and compile example]]></category>
		<category><![CDATA[Ant Build]]></category>
		<category><![CDATA[Ant clean]]></category>
		<category><![CDATA[Ant Example]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Clean]]></category>
		<category><![CDATA[Compile]]></category>
		<category><![CDATA[Echo]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Prepare]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Sample]]></category>
		<category><![CDATA[Scipt]]></category>
		<category><![CDATA[Simple Ant Example]]></category>
		<category><![CDATA[Task]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/07/22/sample-ant-clean-prepare-and-compile-tasks/</guid>

					<description><![CDATA[<p>Sample Ant clean, prepare, and compile tasks &#60;target name=&#8221;clean&#8221;&#62; &#60;echo&#62;=== CLEAN ===&#60;/echo&#62; &#60;delete failonerror=&#8221;false&#8221;&#62; &#60;fileset dir=&#8221;${dest.dir}&#8221; includes=&#8221;**/*&#8221;/&#62; &#60;/delete&#62; &#60;delete dir=&#8221;${temp.dir}&#8221; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sample-ant-clean-prepare-and-compile-tasks/">Simple Ant Example &#8211; clean, prepare, and compile tasks</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-4415" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/sample-ant-clean-prepare-an.png" alt="ant-clean-prepare-and-compile-tasks" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/sample-ant-clean-prepare-an.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/sample-ant-clean-prepare-an-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Sample Ant clean, prepare, and compile tasks</strong></p>
<p>&lt;target name=&#8221;clean&#8221;&gt;<br />
&lt;echo&gt;=== CLEAN ===&lt;/echo&gt;<br />
&lt;delete failonerror=&#8221;false&#8221;&gt;<br />
&lt;fileset dir=&#8221;${dest.dir}&#8221; includes=&#8221;**/*&#8221;/&gt;<br />
&lt;/delete&gt;<br />
&lt;delete dir=&#8221;${temp.dir}&#8221; /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;target name=&#8221;prepare&#8221; depends=&#8221;clean&#8221;&gt;<br />
&lt;echo&gt;=== PREPARE ===&lt;/echo&gt;<br />
&lt;mkdir dir=&#8221;${dest.dir}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.lib}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.meta-inf}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.web-inf}&#8221; /&gt;<br />
&lt;mkdir dir=&#8221;${temp.dir.classes}&#8221; /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;target name=&#8221;compile&#8221; depends=&#8221;prepare&#8221;&gt;<br />
&lt;echo&gt;=== COMPILE ===&lt;/echo&gt;<br />
&lt;echo&gt;Compiling ${src.dir} files &#8230;&lt;/echo&gt;<br />
&lt;javac debug=&#8221;on&#8221; srcdir=&#8221;${src.dir}&#8221; destdir=&#8221;${temp.dir.classes}&#8221; includes=&#8221;**/*&#8221;&gt;<br />
&lt;classpath refid=&#8221;build.class.path&#8221; /&gt;<br />
&lt;/javac&gt;</p>
<p>&lt;!&#8211; compile files on the src-tests path &#8211;&gt;<br />
&lt;echo&gt;Compiling ${src.tests.dir} files &#8230;&lt;/echo&gt;<br />
&lt;javac debug=&#8221;on&#8221; srcdir=&#8221;${src.tests.dir}&#8221; destdir=&#8221;${temp.dir.classes}&#8221; includes=&#8221;com/**&#8221;&gt;<br />
&lt;classpath refid=&#8221;build.class.path&#8221; /&gt;<br />
&lt;/javac&gt;<br />
&lt;/target&gt;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sample-ant-clean-prepare-and-compile-tasks/">Simple Ant Example &#8211; clean, prepare, and compile tasks</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sample-ant-clean-prepare-and-compile-tasks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to configure and use SSH authentication system server CVS</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 20 Apr 2010 12:19:22 +0000</pubDate>
				<category><![CDATA[CVS]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Configure CVS with SSH]]></category>
		<category><![CDATA[CVS with SSH Configuration]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Instructions]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Setup CVS through SSH]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[System server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Use SSH with CVS]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/20/how-to-configure-and-use-ssh-authentication-system-server-cvs/</guid>

					<description><![CDATA[<p>How to configure and use SSH authentication system server CVS cvs (Concurrent Version System) is a very popular version control [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/">How to configure and use SSH authentication system server CVS</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-4374" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ssh-authentication-system-s.png" alt="ssh-with-cvs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ssh-authentication-system-s.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ssh-authentication-system-s-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>How to configure and use SSH authentication system server CVS</strong></p>
<p>cvs (Concurrent Version System) is a very popular version control tool. Although its function as Perforce, Subversion and other powerful, but because of its easy configuration, simple to use and the introduction of longer, so in all a kind of software project widely used.</p>
<p>first is to install FreeBSD, and application security patches. This step is very simple, download a FreeBSD (the upcoming 5.2-RELEASE is a good choice, in this article was published, this version may have been able to download a) of the mini iso burning CD-ROM, then you can install the (choose “Minimum” installation). Note that, in order to be able to use ssh authentication, be sure to install the crypto. Configure the network for this machine, so after the restart just fine.</p>
<p>then install the necessary package. FreeBSD 4.x built-in perl, but in 5.x in, perl be deleted from the basic system. In order to better use, including ACL, commit mail, and a number feature, you must install perl.</p>
<p>I personally recommend using the ports in the 5.8.x version of perl. Before installing, first of all convinced that the system does not perl 5.6.x installed, the new system, they can safely execute the following command:</p>
<p>This will remove the existing any package. In general, the majority of FreeBSD users use cvsup to update the system, but the release of the CD, cvsup-without-gui is not included, while the ordinary cvsup package requires a series of X11 libraries. To avoid trouble, consider the following two different ways to complete the first code update:</p>
<div></div>
<p><strong>1, using the FreeBSD&#8217;s cvs to synchronize code: </strong></p>
<p>cvs-d: pserver: anoncvs@anoncvs.jp.FreeBSD.org: / home / ncvs login</p>
<p>enter “anoncvs”, Enter</p>
<p>cd / usr</p>
<p>cvs-R-d: pserver: anoncvs@anoncvs.jp.FreeBSD.org: / home / ncvs export-r RELENG_5_2 src ports</p>
<p>Note: If you are not using 5.2-RELEASE, please make appropriate amendments to RELENG_5_2 (for example ,4-STABLE is RELENG_4, – CURRENT is the HEAD, etc.)</p>
<p><strong>2, install cvsup-without-gui: </strong></p>
<p>pkg_add-r cvsup-without-gui</p>
<p>then use cvsup to synchronize code, space is limited, I will not repeat them</p>
<p>I recommend the first method, of course, the second method should be faster, and does not require manually compiling cvsup. Subsequently, the installation of Perl 5.8.x:</p>
<p>cd / usr / ports / lang / perl5.8 &amp; &amp; make all install clean &amp; &amp; rehash</p>
<p>Then we will face a very serious problem: ports inside use.perl script does not know the system had not installed perl, so the time to be wrong in the implementation – this time, just make a symbolic link to perl on it. Well, the implementation:</p>
<p>use.perl port</p>
<p>This script will help you complete use.perl modify configuration files (such as / etc / make.conf) and a series of work. Here is not the table, a little profile about OpenSSH (sshd) configuration, in general, add the following two lines:</p>
<p><strong>Protocol 2 </strong></p>
<p><strong>PasswordAuthentication no </strong></p>
<p>the benefits of doing so: ( 1) only allow ssh2 protocol log, which can provide better security (2) does not allow password login, which no doubt will increase security.</p>
<p><strong>1, create a cvs repository </strong></p>
<p>Well, pre-configuration is basically over. Do not forget to create a user for the cvs group, for example, ncvs, as well as a cvs repository for the management of users, such as the repoman (which of course is ncvs that group), and then create a directory to save the cvs repository, in this case , we put it into / home / ncvs in:</p>
<p>rm-rf / home / ncvs</p>
<p>mkdir-p / home / ncvs</p>
<p>chown-R repoman: ncvs / home / ncvs</p>
<p>chmod-R 775 / home / ncvs</p>
<p>next step is to initialize the repository, and simple to implement:</p>
<p>su-l repoman</p>
<p>cvs-d / home / ncvs init</p>
<p>on it.</p>
<p>present, all the FreeBSD version of cvs are included in the safety of the existence of a small vulnerability, although this flaw only in local use, but we recommend that you put it back on is to find / usr / src / contrib / cvs / src / expand_path.c in</p>
<p>return current_parsed_root-&gt; original;</p>
<p>line, turning it into a</p>
<p>return current_parsed_root-&gt; directory;</p>
<p>Of course, the next step is to re-make world kernel of. Need to note is that if you are using a 5-CURRENT, also need to modify some code for it to reach 5.2-RELEASE as performance (-CURRENT in a large number of debugging options turned on), specific methods will not go into here.</p>
<p><strong>2, the configuration commitmail and ACL </strong></p>
<p>then configure cvs commitmail and ACL. I personally think that commitmail the team software development a very important thing to cvs, it is especially important because cvs is not atomic submit function, but commitmail just enough to make up for this.</p>
<p>FreeBSD development team used a very good perl script to complete commitmail function, while the hook they use cvs to achieve a simple access control function (ACL). I use the cvs repository based on FreeBSD&#8217;s CVSROOT, and made a few changes.</p>
<p>use the CVSROOT cover your CVSROOT, and you also need to freebsd directory mailsend.c which compiled the results into the / usr / local / bin (the script assumes that the CVSROOT in this matter). In addition, the CVSROOT need some modifications before it is put into use (for example, machine name, etc.). These settings can be found in the cfg_local.pm inside:</p>
<p>$ MAILADDRS = &#8216;cvs- all@example.org &#8216;;</p>
<p>commitmail this is the place to be sent to.</p>
<p>$ MAIL_BRANCH_HDR = “X-Phantasm-CVS-Branch”;</p>
<p>this is to be added to the commitmail head of information, if you use the mailing list, then it can help mailing list automatically sorted.</p>
<p>$ MAILBANNER = “The Phantasm Studio repository”;</p>
<p>this soon in commitmail said that they commit to which a repository.</p>
<p>if ($ hostname = ~ / ^ cvs \. Example \. Org $ / i)</p>
<p>commit to this is to determine the host name</p>
<p>$ CVSWEB_URL = “http://cvsweb.example.org/cgi-bin/cvsweb.cgi”;</p>
<p>This is cvsweb services at</p>
<p>a brief CVSROOT in the other documents</p>
<p>avail: the file used to control access to user group.</p>
<p>access: This file is used to control who can perform cvs operations.</p>
<p>exclude: This file is used to control those files do not need to check the cvs tag</p>
<p>options: this file used to control the commencement of cvs tag, for example, can define $ Phantasm $, etc.</p>
<p><strong>3, configuration of users and restrict ssh permissions </strong></p>
<p>ssh authentication using a more vexing question is, ssh means that users have a system account, and that they be able to log in.. If configured properly, they can get a shell, it is natural to be a potential security risk.</p>
<p>must therefore be very careful in handling the ssh cvs authentication issue. The underlying principle is: any action against the user, unless we allow them to do so.</p>
<p>create a user in accordance with the following rules:</p>
<p>user&#8217;s” primary “group is ncvs (This will not only restrict the user&#8217;s permission, so we can more easily control the other users in the cvs repository which can not be free to commit)</p>
<p>users do not use password authentication, which will ease because they do not properly set up ftp and other safety hazards caused by</p>
<p>still give the user a shell, the “shell” can be a perl script, it only allow the implementation of the beginning of the command cvs</p>
<p>then allow users to use openssh&#8217;s ssh-keygen to generate your own key pair. OpenSSH in most * BSD and Linux distributions can be found in, if the user uses the Windows Desktop, you need to install cygwin (in particular, the installation of net in OpenSSH), of course, the implementation of the command is the same:</p>
<p>ssh-keygen-t dsa-b 2048</p>
<p>for the paranoid security enthusiasts, can consider later in 2048 will be replaced by-b 4096. Of course, under the barrel theory, if you are a paranoid, then obviously you should be forced to use all the partners are also at least as long as your key:)</p>
<p>, the administrator should be user (committer) the key into the server, the user corresponding to the authorized_keys file in the folder inside. For example, one of my public key as follows:</p>
<p>ssh-dss AAAAB3NzaC1kc3MAAAEBAL +1 jinOw +86 RcTEaSM5/Hz4Lr9tIS0IQsX8ebo</p>
<p>TwLzWnqpOHRh2KBCGn/e0xGCIAai7PGz7c + SZCvrLiRvG9mCsMMMue8ZIL + QF4OAmMd</p>
<p>Cz8Qoyg0cc4YXImOd + UEpdOX29PC4aMAz28v/GO2yf58/Qa49Clfq1kHa/8q3IAgs9o</p>
<p>W95 / ArG + IWFOsN1Tv9nh4XJb5AQjpa5uMlB5SEmvKGTXQ2oYiRVIxL8vzHL6MtO/8×1</p>
<p>j8 + RioSH6FCpEXS7UJbYxE7vF3m5Fa5o6g2dIZewphsleOeHkvYJ442Hqvsly3p4 +4 N</p>
<p>dvim4bY2HMDha5r5zeTV8tTlOz4wQVgKyWoEAAAAVAINGzX7uU0vR8l63qhBhUeWGZt</p>
<p>C9AAABADWiO +9 bvV7DApsn08LR1eoEnMjJFQgEfGlbV + EvZHkO0bkHZAdRIKtVmgNUw</p>
<p>G6uufykkt2Tb + q5SbVNZkzeaFVv4ZMtnjSvEPIZrEXcQFFguGk1it5v5EYcmq4G8 + j1</p>
<p>BFTVHef4b1wMTSt11WtEz0LUYncuZ6LA48/WGTuZiSm8JkchgVm8HhR9NqjdeFJH8sO</p>
<p>RUhUBoxyWjo/hv7zFg7HqoJGzeNfrEhFg36psR2RDaRvSP0vN1W2q4j5OZy3gB6ZyVt</p>
<p>nsEPl1HELhlaCFifmdz1LVxDx + FyPy6wMsPQLTmB1g6N1J6PWy3qCTJ0NyQgarSt3 / A</p>
<p>TQ0InF1BOdJn8QAAAEAPb1OgswuMHdEsHk2ETZVmOKOkI9Rjf72vjZ3xG45iEbCH/7p</p>
<p>aTP8OQmJMW9FD4MHjdmtktPVYXDIa9Hj/IM44zhfMHEdKs9LlFUK5dBgNUps + yPj2Ns</p>
<p>Mr2rl771ODR0mB52FwrXm1FCmNTM7WQpFOEy/QhtZRpHK +7 / YZp7PBggt17Fw7rbjP2</p>
<p>zhWnZluoSKLgvfkhxhJuOMm/ElNJx2c + XHdxPqI3eR5UxzLNjDUNh59I8 + h + E69bFB3</p>
<p>b2uhKqziziHOQcqoH5r0Kud / DBBE79lU3mRUF8FQNygCRh/V3yFzed40rc0nF0PQpNZ</p>
<p>6zodDTJByrm6vX5wr2lI4RgA9w == bitripper@grimreaper.delphij.net</p>
<p>Description: public key is not allowed off-line, here is convenient for typesetting. We have just opened to the user shell, which is still potential pitfalls, so we tighten security in this regard, the public key by adding the following text before the project:</p>
<p>command = “/ usr / bin / cvs – allow-root = / home / ncvs server”</p>
<p>So, the whole line should look like this:</p>
<p>command =” / usr / bin / cvs – allow-root = / home / ncvs server “ssh-dss AAAAB</p>
<p>…… …………………..</p>
<p>X5wr2lI4RgA9w == bitripper@grimreaper.delphij.net</p>
<p>ssh this command means that up on the implementation of / usr / bin / cvs – allow-root = / home / ncvs server this command, and can only perform this command. Thus, unless there are loopholes in the cvs itself, otherwise, can not really cut out through ssh shell. – Allow-root limits the ability to use the repository, so users can not easily specify the other repository, thus trying to undermine the security will become more difficult. If you need multiple repository, you can specify the number of allow-root parameter.</p>
<p>be noted is that if users have multiple public key, you need to specify each public key before the command.</p>
<p><strong>4, configuration cvsweb </strong></p>
<p>configuration cvsweb is quite simple. First install the apache (I tried 1.3.x and 2.0.x), configure the ready, from the port which install cvsweb on it:</p>
<p>cd / usr / ports / devel / cvsweb &amp; &amp; make all installl clean</p>
<p>and then to modify it configuration file:</p>
<p>cd / usr / local / etc / cvsweb</p>
<p>vi cvsweb.conf</p>
<p>find</p>
<p>;</p>
<p>@ CVSrepositories = (</p>
<p>line, follow the example of an increase in following their own repository, For example:</p>
<p>&#8216;ncvs&#8217; =&gt; [&#8216; New CVS Repository &#8216;,&#8217; / home / ncvs&#8217;],</p>
<p>write the number of how many, of course, @ CVSrepositories the first to directly access cvsweb.cgi when the repository.</p>
<p>in FreeBSD 5.1-CURRENT development process carried out by some of the changes caused by the ports in the cvsweb not normally call the cvs and rcs tools, which will cause it to not work properly. To solve this problem, can be found from the following web site the latest version of cvsweb:</p>
<p>http://www.freebsd.org/projects/cvsweb.html</p>
<p>the author of this writing, the latest cvsweb version is 2.9.1 beta. Before the installation, need to install the other two port:</p>
<p>cd / usr/ports/devel/p5-IPC-Run &amp; &amp; make all install clean</p>
<p>cd / usr/ports/net/p5-URI &amp; &amp; make all install clean</p>
<p>then downloaded tbz file unpack, copy to the appropriate location (cgi-bin and related images directory) can be used.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-and-use-ssh-authentication-system-server-cvs/">How to configure and use SSH authentication system server CVS</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-configure-and-use-ssh-authentication-system-server-cvs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Usage of ANT_OPTS in Ant Script &#124; ANT_OPTS capabilities</title>
		<link>https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/</link>
					<comments>https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Apr 2010 07:00:20 +0000</pubDate>
				<category><![CDATA[Apache Ant]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[ANT OPTS]]></category>
		<category><![CDATA[ANT OPTS capabilities]]></category>
		<category><![CDATA[Ant Opts in Ant Script]]></category>
		<category><![CDATA[ANT OPTS Usage]]></category>
		<category><![CDATA[ANT OPTS Usage in Ant Script]]></category>
		<category><![CDATA[Ant Script]]></category>
		<category><![CDATA[Capabilities]]></category>
		<category><![CDATA[Capabilities of Ant opts]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How to use Ant opts in Ant Script]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Usage]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/14/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/</guid>

					<description><![CDATA[<p>Usage of ANT_OPTS in Ant Script &#124; ANT_OPTS capabilities Ant has three environment variables that you can use to set [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/">Usage of ANT_OPTS in Ant Script | ANT_OPTS capabilities</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-4239" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ant_opts-in-ant-script.png" alt="ant_opts-in-ant-script" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ant_opts-in-ant-script.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/ant_opts-in-ant-script-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><b>Usage of ANT_OPTS in Ant Script | ANT_OPTS capabilities</b></p>
<p>Ant has three environment variables that you can use to set its default behavior.<br />
• ANT_ARGS Set this variable to include those options you use frequently.<br />
• ANT_OPTS is a list of arguments that you want to pass to the JVM that will run Ant.<br />
• JAVACMD is the absolute path to the Java executable you want Ant to use. you may specify a value for the JAVACMD environment variable. This defaults to %JAVA_HOME%\bin\java, typically invoking the JVM provided in Sun&#8217;s Java Development Kit. Ant provides JAVACMD for those who wish to specify an alternate JVM. full path of the Java executable. Use this to invoke a different JVM than JAVA_HOME/bin/java(.exe).</p>
<p>These are useful environment variables that the Ant wrapper scripts use when<br />
invoking Ant: ANT_OPTS and ANT_ARGS. Neither of these is typically set by users,<br />
but each can provide value for certain situations.</p>
<p>The ANT_OPTS environment variable provides options to the JVM executing Ant,<br />
such as system properties and memory configuration. ANT_OPTS &#8211; command-line arguments that should be passed to the JVM. For example, you can define system properties or set the maximum Java heap size here.</p>
<p><b>For authenticated proxy: </b><br />
Set your ANT_OPTS environment variable to configure your proxy if you have one. For instance:<br />
set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128</p>
<p>You can set these properties by either modifying Ant&#8217;s startup script, or by<br />
using the ANT_OPTS environment variable. The following example shows the Windows commands to specify these properties using ANT_OPTS, and then to invoke Ant:<br />
set ANT_OPTS=-DproxySet=true -DproxyHost=localhost -DproxyPort=80<br />
ant mytarget<br />
The same trick works on Unix, although the syntax is slightly different depending on which<br />
shell you use:<br />
$ export ANT_OPTS=&#8221;-DproxySet=true -DproxyHost=localhost -DproxyPort=80&#8243;<br />
$ ant mytarget</p>
<p>set ANT_OPTS=-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=8080 -Dhttp.proxyUserName=myproxyusername -Dhttp.proxyPassword=myproxypassword -Dhttps.proxyHost=myproxyhost -Dhttps.proxyPort=8080</p>
<p>&nbsp;</p>
<p><b>Use </b><b>ANT_OPTS </b><b>to control Ant’s virtual machine settings.</b><br />
Some tasks may require more memory, which you can set in the ANT_OPTS environment variable, using the appropriate mechanism for your platform:<br />
set ANT_OPTS=-Xmx500M<br />
export ANT_OPTS=-Xmx500M</p>
<p>Setting the maximum heap size is another common use of ANT_OPTS. Here is how we set the maximum size to 128 MB when using Sun&#8217;s JDK:<br />
set ANT_OPTS=-Xmx128m</p>
<p>One environment variable you may wish to set is ANT_OPTS. The value of this variable is passed as a JVM argument. Specifying system properties is a common use. In this simple<br />
<b>example, we pass the </b><b>log.dir </b><b>system property to the JVM running Ant:</b><br />
$ set ANT_OPTS=-Dlog.dir=C:\logs<br />
$ ant run<br />
Now this property is available within the buildfile, for instance:<br />
&lt;echo&gt;Log directory is set to: ${log.dir}&lt;/echo&gt;<br />
If the buildfile runs a Java application, the property may be retrieved from within it as<br />
follows:<br />
String logDir = System.getProperty(&#8220;log.dir&#8221;);</p>
<p>&nbsp;</p>
<p><b>Troubleshoot: Illegal Java options in the ANT_OPTS variable</b><br />
The environment variable ANT_OPTS provides a means to pass options into Ant,<br />
such as a permanent definition of some properties, or the memory parameters for<br />
Java. The variable must contain only options the local JVM recognizes. Any invalid<br />
parameter will generate an error message such as the following (where ANT_OPTS was<br />
set to –3):<br />
Unrecognized option: -3<br />
Could not create the Java virtual machine.</p>
<p>If the variable contains a string that is mistaken for the name of the Java class to run<br />
as the main class, then a different error appears:</p>
<p>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: error-string<br />
Test: Examine ANT_OPTS and verify that the variable is unset or contains valid<br />
JVM options.<br />
Fix: Correct or clear the variable.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/">Usage of ANT_OPTS in Ant Script | ANT_OPTS capabilities</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/usage-of-ant_opts-in-ant-script-ant_opts-capabilities/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Run/Deploy Java EE applications on Amazon EC2?</title>
		<link>https://www.scmgalaxy.com/tutorials/running-java-ee-applications-on-amazon-ec2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/running-java-ee-applications-on-amazon-ec2/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 06:01:03 +0000</pubDate>
				<category><![CDATA[Amazon (Elastic Cloud)]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Deploy]]></category>
		<category><![CDATA[Deploy Java EE app on Amazon Ec2]]></category>
		<category><![CDATA[ec2deploy]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[How to Deploe Java EE app on Ec2]]></category>
		<category><![CDATA[How to Run Java EE app on Ec2]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Java EE app on Ec2]]></category>
		<category><![CDATA[Java EE application on Amazon Ec2]]></category>
		<category><![CDATA[Push]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Run Java EE applications on Amazon EC2]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/03/10/running-java-ee-applications-on-amazon-ec2/</guid>

					<description><![CDATA[<p>Running Java EE applications on Amazon EC2: deploying to 20 machines with no money down Computer hardware has traditionally been [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/running-java-ee-applications-on-amazon-ec2/">How to Run/Deploy Java EE applications on Amazon EC2?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4109 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/java-ee-applications-on-ama.png" alt="running-java-ee-applications-on-amazon-ec2" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/java-ee-applications-on-ama.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/java-ee-applications-on-ama-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h1>
<h1>Running Java EE applications on Amazon EC2: deploying to 20 machines with no money down</h1>
<p>Computer hardware has traditionally been a scarce, expensive resource. In the early days of computing developers had to share a single machine. Today each developer usually has their own machine but it’s rare for a developer to have more than one. This means that running performance tests often involves scavenging for machines.  Likewise, replicating even just part of a production environment is a major undertaking. With <a href="http://www.amazon.com/gp/browse.html?node=201590011" target="_blank" rel="noopener">Amazon’s Elastic Compute Cloud (EC2)</a>, however, things are very different. A set of Linux servers is now just a web service call away. Depending on the <a href="http://www.amazon.com/gp/browse.html?node=370375011" target="_blank" rel="noopener">type of the servers</a> you simply pay 10-80 cents per server per hour for up to 20 servers! No more upfront costs or waiting for machines to be purchased and configured.</p>
<p>To make it easier for enterprise Java developers to use EC2, I have created EC2Deploy.  It’s a Groovy framework for deploying an enterprise Java application on a set of Amazon EC2 servers. EC2Deploy provides a simple, easy to use API for launching a set of EC2 instances; configuring MySQL, Apache and one or more Tomcat servers; and deploying one or more web applications. In addition, it can also run JMeter and collect performance metrics.</p>
<p>Here is an example script that launches some EC2 instances; configures MySQL with one slave, Tomcat and Apache; deploys a single web application on the Tomcat server; and runs a JMeter test with first one thread and then two.</p>
<pre>class ClusterTest extends GroovyTestCase {</pre>
<pre>  void testSomething() {</pre>
<pre>    AWSProperties awsProperties = new</pre>
<pre>        AWSProperties("/…/aws.properties")</pre>
<pre></pre>
<pre>    def ec2 = new EC2(awsProperties)</pre>
<pre></pre>
<pre>    def explodedWar = '…/projecttrack/webapp/target/ptrack'</pre>
<pre></pre>
<pre>    ClusterSpec clusterSpec =</pre>
<pre>       new ClusterSpec()</pre>
<pre>            .schema("ptrack", ["ptrack": "ptrack"],</pre>
<pre>                    ["src/test/resources/testdml1.sql",</pre>
<pre>                     "src/test/resources/testdml2.sql"])</pre>
<pre>            .slaves(1)</pre>
<pre>            .tomcats(1)</pre>
<pre>            .webApp(explodedWar, "ptrack")</pre>
<pre>            .catalinaOptsBuilder({builder, databasePrivateDnsName -&gt;</pre>
<pre>                 builder.arg("-Xmx500m")</pre>
<pre>                 builder.prop("com.sun.management.jmxremote")</pre>
<pre>                 builder.prop("com.sun.management.jmxremote.port", 8091)</pre>
<pre>                 builder.prop("com.sun.management.jmxremote.authenticate",</pre>
<pre>                                     false)</pre>
<pre>                 builder.prop("com.sun.management.jmxremote.ssl", false)</pre>
<pre>                 builder.prop("ptrack.application.environment", "ec2")</pre>
<pre>                 builder.prop("log4j.configuration",</pre>
<pre>                               "log4j-minimal.properties")</pre>
<pre>                 builder.prop("jdbc.db.server", databasePrivateDnsName)})</pre>
<pre></pre>
<pre>    SimpleCluster cluster = new SimpleCluster(ec2, clusterSpec)</pre>
<pre></pre>
<pre>    cluster.loadTest("…/projecttrack/functionalTests/jmeter/SimpleTest.jmx",</pre>
<pre>        [1, 2])</pre>
<pre></pre>
<pre>    cluster.stop()</pre>
<pre>  }</pre>
<pre>}</pre>
<p>Let’s look at each of the pieces.</p>
<p>First, we need to configure the framework as follows:</p>
<pre>    AWSProperties awsProperties = new</pre>
<pre>        AWSProperties("/…/aws.properties")</pre>
<pre>    def ec2 = new EC2(awsProperties)</pre>
<p>The aws.properties file contains various properties including the Amazon WS security credentials and the EC2 AMI (i.e. OS image) to launch. All servers use my EC2 appliance AMI that has Java, MySQL, Apache, Tomcat, Jmeter and some other useful tools pre-installed.</p>
<p>Next we need to configure the servers:</p>
<pre>     ClusterSpec clusterSpec =</pre>
<pre>        new ClusterSpec()</pre>
<pre>             .schema("ptrack", ["ptrack": "ptrack"],</pre>
<pre>                    ["src/test/resources/testdml1.sql",</pre>
<pre>                     "src/test/resources/testdml2.sql"])</pre>
<pre>             .slaves(1)</pre>
<pre>             .tomcats(1)</pre>
<pre>             .webApp(explodedWar, "ptrack")</pre>
<pre>             .catalinaOptsBuilder({builder, databasePrivateDnsName -&gt;</pre>
<pre>                 builder.arg("-Xmx500m")</pre>
<pre>                 builder.prop("com.sun.management.jmxremote")</pre>
<pre>                 builder.prop("com.sun.management.jmxremote.port", 8091)</pre>
<pre>                 builder.prop("com.sun.management.jmxremote.authenticate",</pre>
<pre>                                     false)</pre>
<pre>                 builder.prop("com.sun.management.jmxremote.ssl", false)</pre>
<pre>                 builder.prop("ptrack.application.environment", "ec2")</pre>
<pre>                 builder.prop("log4j.configuration",</pre>
<pre>                               "log4j-minimal.properties")</pre>
<pre>                 builder.prop("jdbc.db.server", databasePrivateDnsName)})</pre>
<pre></pre>
<pre>     SimpleCluster cluster = new SimpleCluster(ec2, clusterSpec)</pre>
<p>This code first creates a ClusterSpec, which defines the configuration of the machines and the applications:</p>
<ul>
<li>schema() – specifies the name of the database schema to create; names of the users and their passwords; the DML scripts to execute once the database has been create</li>
<li>slaves() – specifies how many MySql slaves to create</li>
<li>tomcats() &#8211; specifies how many Tomcats to run.</li>
<li>webApp() &#8211; configures a web application. This method takes two parameters: the path to the exploded WAR directory (conveniently created by Maven) and the context to deploy the web application under.</li>
<li>catalinaOptsBuilder() – supplies a closure that takes a builder and the DNS name of the MySQL server as arguments and returns the CATALINA_OPTS used to launch Tomcat. It’s primary purpose is to configure the web application(s) to use the correct database server</li>
</ul>
<p>It then creates a cluster with that specification.</p>
<p>We then start the cluster:</p>
<pre>    cluster.start()</pre>
<p>At this point EC2Deploy will:</p>
<ol>
<li>Launch the EC2 instances running my appliance AMI.</li>
<li>Initialize the MySql master database</li>
<li>Create the MySql slave</li>
<li>Create the database schema and the users</li>
<li>Run any DML scripts (these are cached on S3 in a bucket called “tmp&#8211;dml” for the reasons described next)</li>
<li>Upload the web applications to <a href="http://www.amazon.com/gp/browse.html?node=16427261" target="_blank" rel="noopener">Amazon S3 (Simple Storage Service)</a> where they are cached in order to avoid time consuming uploads (over slow DSL connections, for example). EC2Deploy only uploads new and changed files, which means that the bulky 3<sup>rd</sup> party libraries are only uploaded once. Each web application is stored in an S3 bucket called -tmp-war. If this bucket does not exist you will see some warning messages and the bucket will be created.</li>
<li>Deploy the web applications on each of the Tomcat servers</li>
<li>Configure Apache to load balance across the Tomcat servers</li>
</ol>
<p>Once the cluster is started we can run a JMeter load test:</p>
<pre>    cluster.loadTest("…/projecttrack/functionalTests/jmeter/SimpleTest.jmx", [1, 2])</pre>
<p>The first argument specifies the test to run and the second argument is a list of JMeter thread counts. In this example, EC2deploy first runs the load test with one thread and then two threads. For each test run, it generates a report describing CPU utilization for each machine, average response time and throughput.</p>
<p>Finally, we stop the EC2 instances:</p>
<p>cluster.stop()</p>
<p>As you can see, EC2Deploy makes it pretty easy to deploy and test your enterprise Java application. I’ve used it to clone a production environment and run load tests. NOTE 1/28/08: The source code EC2Deploy along with a very cool Maven plugin is now <a href="http://www.chris-richardson.blog-city.com/ec2deploy_and_the_cloud_tools_maven_plugin_are_now_available.htm">available</a> !</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/running-java-ee-applications-on-amazon-ec2/">How to Run/Deploy Java EE applications on Amazon EC2?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/running-java-ee-applications-on-amazon-ec2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Installation and Configuration Guide: Bamboo</title>
		<link>https://www.scmgalaxy.com/tutorials/installation-and-configuration-bamboo/</link>
					<comments>https://www.scmgalaxy.com/tutorials/installation-and-configuration-bamboo/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 25 Feb 2010 09:45:34 +0000</pubDate>
				<category><![CDATA[Configuration Management Tools]]></category>
		<category><![CDATA[Bamboo]]></category>
		<category><![CDATA[Bamboo Configuration]]></category>
		<category><![CDATA[Bamboo Configuration Guide]]></category>
		<category><![CDATA[Bamboo Configuration Tutorial]]></category>
		<category><![CDATA[Bamboo Installation]]></category>
		<category><![CDATA[Bamboo installation and Configuration process]]></category>
		<category><![CDATA[Bamboo Installation Guide]]></category>
		<category><![CDATA[Bamboo Installation Tutorial]]></category>
		<category><![CDATA[Bamboo Setup]]></category>
		<category><![CDATA[Bamboo Standalone Installation Process]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[How to Configure Bamboo]]></category>
		<category><![CDATA[How to Install Bamboo]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Procedure]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/02/25/installation-and-configuration-bamboo/</guid>

					<description><![CDATA[<p>Bamboo is available in two &#8216;distributions&#8217; — Standalone or EAR-WAR. The Standalone distribution is recommended (even for organisations with an [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/installation-and-configuration-bamboo/">Installation and Configuration Guide: Bamboo</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-4159 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/02/bamboo-installation-and-con.png" alt="bamboo-installation-and-configuration" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/02/bamboo-installation-and-con.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/02/bamboo-installation-and-con-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Bamboo is available in two &#8216;distributions&#8217; — Standalone or EAR-WAR. The Standalone distribution is recommended (even for organisations with an existing application server environment).<br />
<b>Standalone Installation Guide — Windows</b></p>
<h4>Download and Install Bamboo Standalone for Windows (Windows Installer)</h4>
<p>·  Download Bamboo Standalone for Windows. Bamboo Standalone for Windows is available for download from the <a href="http://www.atlassian.com/software/bamboo/BambooDownloadCenter.jspa">Bamboo Download Center</a>. Choose the <b>Windows Installer (.exe)</b> download.<br />
·  Launch the Bamboo Windows installer (atlassian-bamboo-x.x-standalone.exe) to begin the installation wizard.<br />
·  The installer requires you to specify two directories:<br />
<b>Bamboo installation directory</b> — This is the directory where Bamboo&#8217;s application files will be installed. The default is:<br />
C:/Program Files/Bamboo<br />
<b>Bamboo home directory</b> — This is the directory where Bamboo will store its configuration data. If the directory you specify doesn&#8217;t exist, Bamboo will create the directory when it launches. The default is:<br />
C:/Documents and Settings//Bamboo-home<br />
<b>Note:</b> You must use forward-slashes in your directory path. Backslashes are not recognised by Bamboo. Please ensure that the <b>Bamboo home directory</b> is not located inside the <b>Bamboo installation directory</b><b></b></p>
<h4>Download and Install Bamboo Standalone for Windows (ZIP Archive)</h4>
<p>·  Download Bamboo Standalone for Windows. Bamboo Standalone for Windows is available for download from the <a href="http://www.atlassian.com/software/bamboo/BambooDownloadCenter.jspa">Bamboo Download Center</a>. Choose the <b>ZIP Archive (.zip)</b> download (click the &#8216;<b>Show all</b>&#8216; link to show the &#8216;<b>ZIP Archive</b>&#8216; download link).<br />
·  Extract the files from the ZIP Archive (atlassian-bamboo-x.x-standalone.zip) to a <b>Bamboo installation directory</b> of your choice. By default, the root directory in your zip file is named &#8220;Bamboo&#8221;.<br />
·  Set up your <b>Bamboo home directory</b> — this is the directory where Bamboo will store its root configuration data. To do this, edit the file named bamboo-init.properties in the Bamboo/webapp/WEB-INF/classes directory. In this file, insert the property &#8220;bamboo.home&#8221;, with an absolute path to your Bamboo home directory. Your file should look something like this:</p>
<pre>    bamboo.home=C:/test/bamboo-home</pre>
<p>Alternatively, you can specify an environment variable &#8216;BAMBOO_HOME&#8217; which specifies the absolute path to your {BAMBOO_HOME} directory. Bamboo will check if an environment variable is defined.<br />
·  If you are going to use Bamboo remote agents, set the following in the bamboo-init.properties file in the /webapp/WEB-INF/classes directory:<br />
bamboo.jms.broker.uri=tcp://localhost:54663</p>
<ul type="disc">
<li>Replace &#8216;localhost&#8217; with the real host name or IP address of your Bamboo server.</li>
<li>If port number 54663 is already in use, specify a different port number.</li>
</ul>
<h2>Launch Bamboo</h2>
<p><b>Launch via the Start Menu</b><br />
If you have used the &#8216;Windows Installer&#8217; to install Bamboo, you can start Bamboo via the Start Menu in Windows (generally under the &#8216;Bamboo&#8217; folder by default). The following options will be available in your Start Menu:</p>
<ul type="disc">
<li>&#8216;<b>Bamboo Continuous Integration Server Uninstaller</b>&#8216; — uninstalls Bamboo from your computer</li>
<li>&#8216;<b>Install Service</b>&#8216; — installs Bamboo as a Windows service (note, this will not start Bamboo)</li>
<li>&#8216;<b>Remove Service</b>&#8216; — removes the Bamboo Windows service, if you have previously installed it (note, Bamboo will not be uninstalled from your computer)</li>
<li>&#8216;<b>Start in Console</b>&#8216; — starts Bamboo in a Windows console</li>
<li>&#8216;<b>Start Service</b>&#8216; — starts your installed Bamboo Windows service</li>
<li>&#8216;<b>Stop Service</b>&#8216; — stops your installed Bamboo Windows service</li>
</ul>
<p>You can run Bamboo in two modes, either in a Windows console or as a Windows service:</p>
<ul type="disc">
<li><b>To run Bamboo in a Windows console,</b> click the &#8216;<b>Start in Console</b>&#8216; option.</li>
<li><b>To run Bamboo as a Windows service,</b> click the &#8216;<b>Install service</b>&#8216; option. After the service is installed, click &#8216;<b>Start Service</b>&#8216;. Once you have installed Bamboo as a service, Bamboo will start up automatically every time Windows restarts.</li>
</ul>
<p><b>Launch via batch file</b><br />
You can start Bamboo via the batch files that are shipped with Bamboo. If you have installed Bamboo via the ZIP Archive, you will need to use the batch files to start Bamboo. You can find the following batch files in your installation directory:</p>
<ul type="disc">
<li>&#8216;<b>BambooConsole.bat</b>&#8216; — this starts Bamboo in a Windows console.</li>
<li>&#8216;<b>InstallAsService.bat</b>&#8216; — this installs Bamboo as a Windows service. Note that this will not start Bamboo.</li>
<li>&#8216;<b>StartBamboo.bat</b>&#8216; — this starts your installed Bamboo Windows service.</li>
<li>&#8216;<b>StopBamboo.bat</b>&#8216; — this stops your installed Bamboo Windows service</li>
<li>&#8216;<b>UninstallService.bat</b>&#8216; — this un-installs the Bamboo Windows service from your machine. Note that your Bamboo installation still remains.</li>
</ul>
<p>You can run Bamboo in two modes, either in a Windows console or as a Windows service:</p>
<ul type="disc">
<li><b>To run Bamboo in a Windows console,</b> run &#8216;<b>BambooConsole.bat</b>&#8216;</li>
<li><b>To run Bamboo as a Windows service,</b> run &#8216;<b>InstallAsService.bat</b>&#8216;. After the service is installed, run &#8216;<b>StartBamboo.bat</b>&#8216;. Once you have installed Bamboo as a service, Bamboo will start up automatically every time Windows restarts.</li>
</ul>
<h2>Configure Bamboo</h2>
<ol start="1" type="1">
<li>Access your running Bamboo instance by going to your web browser and entering the address: http://localhost:8085/.</li>
<li>Configure Bamboo via the Setup Wizard which will display. Read <a title="Running the Setup Wizard" href="http://confluence.atlassian.com/display/BAMBOO/Running+the+Setup+Wizard">Running the Setup Wizard</a> for further instructions.</li>
</ol>
<p>For more details on Installation and Configuration, please review following links<br />
<a href="http://confluence.atlassian.com/pages/viewpage.action?pageId=55246864">http://confluence.atlassian.com/pages/viewpage.action?pageId=55246864</a></p>
<ul type="disc">
<li><a title="Bamboo Installation Guide" href="http://confluence.atlassian.com/display/BAMBOO/Bamboo+Installation+Guide">Bamboo Installation Guide</a>
<ul type="circle">
<li><a title="Bamboo EAR-WAR Installation Guide" href="http://confluence.atlassian.com/display/BAMBOO/Bamboo+EAR-WAR+Installation+Guide">Bamboo EAR-WAR Installation Guide</a></li>
<li><a title="Bamboo Remote Agent Installation Guide" href="http://confluence.atlassian.com/display/BAMBOO/Bamboo+Remote+Agent+Installation+Guide">Bamboo Remote Agent Installation Guide</a></li>
<li><a title="Bamboo Standalone Installation Guide (Linux)" href="http://confluence.atlassian.com/display/BAMBOO/Bamboo+Standalone+Installation+Guide+%28Linux%29">Bamboo Standalone Installation Guide (Linux)</a></li>
<li><a title="Bamboo Standalone Installation Guide (Mac)" href="http://confluence.atlassian.com/display/BAMBOO/Bamboo+Standalone+Installation+Guide+%28Mac%29">Bamboo Standalone Installation Guide (Mac)</a></li>
<li><a title="Bamboo Standalone Installation Guide (Windows)" href="http://confluence.atlassian.com/display/BAMBOO/Bamboo+Standalone+Installation+Guide+%28Windows%29">Bamboo Standalone Installation Guide (Windows)</a></li>
<li><a title="Connecting Bamboo to an external database" href="http://confluence.atlassian.com/display/BAMBOO/Connecting+Bamboo+to+an+external+database">Connecting Bamboo to an external database</a></li>
<li><a title="Running the Setup Wizard" href="http://confluence.atlassian.com/display/BAMBOO/Running+the+Setup+Wizard">Running the Setup Wizard</a></li>
</ul>
</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/installation-and-configuration-bamboo/">Installation and Configuration Guide: Bamboo</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/installation-and-configuration-bamboo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to copy VSS project from one VSS database to another one without loosing history</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 06 Oct 2009 11:45:33 +0000</pubDate>
				<category><![CDATA[VSS]]></category>
		<category><![CDATA[Copy]]></category>
		<category><![CDATA[Copy from VSS database to another with history]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[Loss]]></category>
		<category><![CDATA[project copy one VSS database to another one with history]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Visual Source Safe]]></category>
		<category><![CDATA[visual source safe Guide]]></category>
		<category><![CDATA[visual source safe tutorial]]></category>
		<category><![CDATA[VSS best practices]]></category>
		<category><![CDATA[VSS Database]]></category>
		<category><![CDATA[VSS database best practices]]></category>
		<category><![CDATA[VSS database copy with history]]></category>
		<category><![CDATA[VSS Project]]></category>
		<category><![CDATA[Without]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/10/06/how-to-copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history/</guid>

					<description><![CDATA[<p>If you have any of the following questions in your mind, then this article is the perfect destination for you. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history/">How to copy VSS project from one VSS database to another one without loosing history</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-4182" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/10/vss-project.png" alt="copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/10/vss-project.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/10/vss-project-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><b>If you have any of the following questions in your mind, then this article is the perfect destination for you.</b></p>
<ul>
<li>How to copy VSS project from one VSS database to another one without loosing history</li>
<li>How to move VSS project from one location to another location</li>
<li>Moving Visual SourceSafe projects or databases to a new location?</li>
<li>Moving a project or projects from one database to another, while preserving the project&#8217;s history?</li>
</ul>
<p>The procedures within each scenario may vary depending on the version of Visual SourceSafe you are running.</p>
<p><b>APPLIES TO</b></p>
<p>Microsoft Visual SourceSafe 5.0 Standard Edition</p>
<p>Microsoft Visual SourceSafe 6.0 Standard Edition</p>
<p>NOTE: This process is for Visual SourceSafe 5.0 or greater only.</p>
<p><b>Requirement:</b></p>
<p>1.   Use the SSARC and SSRESTOR utilities included in Visual SourceSafe 5.0. With these utilities, you can archive projects, preserve their histories, and restore them to a new database.</p>
<p>2.   You must have SourceSafe Admin privileges to use these utilities</p>
<p>3.   In order to restore a project successfully your archive must include the latest versions all the files in the project. If you use the -v switch with SSARC to archive off earlier versions of your files, you will not be able to restore that archive to a different database because it needs the later versions.</p>
<p>4.   Because the physical file names get renamed when you restore a project to a new database, it may be necessary to reconnect projects that are integrated with Visual SourceSafe.</p>
<p><b>Warning:</b></p>
<p>1.   always be very careful when archiving and deleting files</p>
<p>2.   Backing up source files is like voting, do it early and often (warning, this may not be legal in your jurisdiction).</p>
<p>3.   Test your backups out before you actually need them, avoid permanent deletes and keep copies in multiple locations.</p>
<p><b> </b></p>
<p><b>There are two ways to Archive and Restore Project/Files from one database to another.</b></p>
<p><b>To Archive:</b></p>
<p>1.   Using To archive a database using Visual SourceSafe Administrator</p>
<p>2.   SSARC</p>
<p><b>Archival of a database allows you to:</b></p>
<p>* Save disk space on the Visual SourceSafe server or other machine hosting the database.<br />
* Make the Show History command work more quickly.<br />
* Transport files and projects between Visual SourceSafe databases, keeping history information intact.<br />
* Provide a compressed file backing up all or part of a database.</p>
<p><b>How to Archive Visual SourceSafe (VSS) Project?</b></p>
<p><b>Method1: Using Visual SourceSafe Administrator:</b></p>
<p>The Visual SourceSafe Administrator program allows you to archive your databases using the Archive Projects command, and to restore them from backup using the Restore Projects command.</p>
<p><b>To archive a database using Visual SourceSafe Administrator:</b></p>
<p>1. Ensure that no one is using the database and that the ANALYZE utility will not run during the archive operation.<br />
2. Open the database for which you want to archive information.<br />
3. On the Archive menu of Visual SourceSafe Administrator, click Archive Projects.<br />
4. In the Archive wizard, select the project(s) to archive, and click OK.<br />
5. If there are additional projects to be archived, indicate this in step 1 of the wizard, and click Next when finished.<br />
6. In step 2 of the wizard, specify how you want the project(s) to be archived, and click Next when finished. For each choice, you can use Browse to search for and select an archived file to overwrite the existing file.<br />
7. In step 3 of the wizard, specify the versions for the data to archive, using the Version box.<br />
8. Add a comment to the Comment box to document the archive operation.<br />
9. Click Finish to complete the wizard. The archive is written to a *.ssa file in the directory that you have specified.</p>
<p><b>Method2: Using SSARC: &#8211;</b></p>
<p>Another way of making an archive is to use the Visual SourceSafe SSARC utility from the command line.<br />
Examples</p>
<p>SSARC -d- -yadmin,password archive.ssa $/<br />
Backup the entire default Sourcesafe database to archive.ssa, leaving the database exactly as it is.</p>
<p>SSARC -d- &#8220;-vlProduction Release&#8221; -yadmin,password -olog.txt archive.ssa $/Test</p>
<p>Backup everything since the version labelled &#8216;Production Release&#8217; and create a log file with the results of the archiving process.</p>
<p>SSARC -d -x -yadmin,password archive.ssa &#8220;$/Project Global Domination&#8221; $/OtherProject</p>
<p>Description:  Archive, and delete the deleted files from two projects.</p>
<p>SSARC -i -yadmin,password -olog.txt &#8220;-cArchive Everything&#8221; archive.ssa $/</p>
<p>Description:  Archive the entire Sourcesafe database, while creating a log file, adding a comment, and running non-interactively, suitable for a scheduled task.<br />
To Restore Project/Files from one database to another.</p>
<p><b>To Restore:</b></p>
<p>1.   Using To archive a database using Visual SourceSafe Administrator</p>
<p>2.   SSRESTOR</p>
<p>&nbsp;</p>
<p><b>How to Restore Visual SourceSafe(VSS)Project?</b></p>
<p><b>Method 1: Using Visual SourceSafe Administrator</b></p>
<p>Visual SourceSafe Administrator supports restoration of a database from an archive using its Restore Projects command.</p>
<p><b>To restore a database using Visual SourceSafe Administrator</b></p>
<p>1. Make sure that no one is using the database and that the ANALYZE utility will not run during the restore operation.<br />
2. On the Archive menu of Visual SourceSafe Administrator, click Restore Projects.<br />
3. In the Restore wizard, enter or locate the archive file from which to restore, and then click Next.<br />
4. In step 2 of the wizard, you can choose the items to restore to the database, and click Next to proceed.<br />
5. Use step 3 of the wizard to specify options for restoring the selected items to the database.<br />
6. Add a comment to the Comment box to document the restore operation.<br />
7. Click Finish to complete the wizard.<br />
8. Verify the database directories carefully to make sure that the restore operation has put the restored items where you intended.</p>
<p><b>Method 2: Using SSRESTOR Utility</b></p>
<p>Restores information from a previously created archive. If the restore operation attempts to create a duplicate file or project name, the operation fails. Visual SourcSafe also implements restore operations through its Restore wizard, available in Visual SourceSafe Administrator.<br />
Examples</p>
<p>SSRESTOR -la -yadmin,password archive.ssa $/</p>
<p>Display a list of all of the files archived in archive.ssa.</p>
<p>SSRESTOR &#8220;-p$/Test 2&#8221; -sD:\newfolder\ -yadmin,password backup.ssa $/Test</p>
<p>Restores project $/Test to the database to a new location, $/Test 2, from the archive file backup.ssa, in a different Sourcesafe database.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history/">How to copy VSS project from one VSS database to another one without loosing history</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-copy-vss-project-from-one-vss-database-to-another-one-without-loosing-history/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
