<?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>Scripting Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/scripting/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/scripting/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:42 +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>Understanding cmd: The Command Line Interface of Windows</title>
		<link>https://www.scmgalaxy.com/tutorials/understanding-cmd-the-command-line-interface-of-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/understanding-cmd-the-command-line-interface-of-windows/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Thu, 12 Jun 2025 12:39:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[CommandLine]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12699</guid>

					<description><![CDATA[<p>Introduction The Command Prompt, often referred to as cmd, is a powerful, text-based interface for interacting with the operating system. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/understanding-cmd-the-command-line-interface-of-windows/">Understanding cmd: The Command Line Interface of Windows</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="930" height="485" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-72.png" alt="" class="wp-image-12708" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-72.png 930w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-72-300x156.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-72-768x401.png 768w" sizes="(max-width: 930px) 100vw, 930px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">Introduction</h3>



<p class="wp-block-paragraph">The Command Prompt, often referred to as <code>cmd</code>, is a powerful, text-based interface for interacting with the operating system. While modern computing tends to rely heavily on graphical user interfaces (GUIs), the command-line interface (CLI) remains an essential tool, especially for system administrators, developers, and advanced users who need greater control over their operating systems.</p>



<p class="wp-block-paragraph">In Windows, the Command Prompt provides an efficient way to manage system resources, troubleshoot issues, and automate tasks. Despite the rise of more advanced terminal tools and shells, such as PowerShell or Linux-based terminal emulators, the classic <code>cmd</code> remains one of the most important and versatile tools for many users.</p>



<p class="wp-block-paragraph">This comprehensive guide will walk you through the <code>cmd</code> utility, discussing its key functions, major use cases, architectural components, and how to work with it effectively. We&#8217;ll also provide a step-by-step guide to getting started with <code>cmd</code>, offering examples and practical tips along the way.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">What is CMD?</h3>



<p class="wp-block-paragraph">The <strong>Command Prompt</strong>, often known as <code>cmd</code> or <code>cmd.exe</code>, is the command-line interface built into Microsoft Windows. It allows users to interact with the operating system by typing commands rather than using the standard graphical user interface (GUI). Although many commands that users execute in <code>cmd</code> can be done through the GUI, using the command-line interface provides a more flexible and efficient way to perform complex tasks and automate repetitive operations.</p>



<p class="wp-block-paragraph">The <code>cmd</code> utility works by executing a series of commands typed by the user, interpreting those commands, and returning output. These commands could involve anything from file system navigation and program execution to system management and configuration.</p>



<p class="wp-block-paragraph">In Windows, <code>cmd</code> serves as the default command-line interpreter, and it is often used in conjunction with <strong>batch files</strong> (<code>.bat</code> or <code>.cmd</code> files), which allow users to automate multiple tasks by running a script of commands in sequence.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">Key Features of CMD</h3>



<p class="wp-block-paragraph">Here are some key features that make CMD a vital tool for various users:</p>



<h4 class="wp-block-heading">1. <strong>File System Management</strong></h4>



<p class="wp-block-paragraph">CMD allows for comprehensive file and directory management through a series of commands that can be used to navigate the file system, create and delete files, move or copy files, and modify file attributes.</p>



<h4 class="wp-block-heading">2. <strong>Batch Scripting and Automation</strong></h4>



<p class="wp-block-paragraph">With CMD, users can create batch scripts to automate repetitive tasks. Batch scripts contain a series of commands that are executed in sequence. This automation capability is widely used for system configuration, backups, and other maintenance tasks.</p>



<h4 class="wp-block-heading">3. <strong>System Configuration</strong></h4>



<p class="wp-block-paragraph">Through <code>cmd</code>, users can access a wide range of system settings and modify environment variables, control user accounts, and execute system-level tasks like managing network connections and services.</p>



<h4 class="wp-block-heading">4. <strong>Diagnostic and Troubleshooting Tools</strong></h4>



<p class="wp-block-paragraph">CMD is heavily used for diagnostic tasks. Commands like <code>ping</code>, <code>tracert</code>, <code>ipconfig</code>, and <code>chkdsk</code> are frequently used by system administrators to troubleshoot network issues, check disk integrity, and gather system information.</p>



<h4 class="wp-block-heading">5. <strong>Network Configuration</strong></h4>



<p class="wp-block-paragraph">CMD provides a variety of tools for managing and configuring network settings. It can be used to view IP addresses, configure network interfaces, and test connectivity between devices on a network.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">Major Use Cases of CMD</h3>



<p class="wp-block-paragraph">The Command Prompt (<code>cmd</code>) has a wide range of uses, from file management to network diagnostics and automation. Below are the major use cases of <code>cmd</code> in both everyday computing and professional IT environments:</p>



<h4 class="wp-block-heading">1. <strong>File and Directory Management</strong></h4>



<p class="wp-block-paragraph">CMD allows users to perform tasks such as:</p>



<ul class="wp-block-list">
<li><strong>Navigating Directories</strong>: Using <code>cd</code> (change directory) to move between directories.</li>



<li><strong>Listing Directory Contents</strong>: Using <code>dir</code> to view files and folders within the current directory.</li>



<li><strong>Creating and Deleting Files</strong>: Using commands like <code>mkdir</code> (make directory) to create directories, and <code>del</code> to remove files.</li>



<li><strong>Moving and Renaming Files</strong>: Commands like <code>move</code> and <code>rename</code> are used to organize files and folders.</li>
</ul>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
cd C:UsersYourNameDocuments
dir

</pre></div>


<h4 class="wp-block-heading">2. <strong>Batch Scripting and Automation</strong></h4>



<p class="wp-block-paragraph">Batch scripting allows users to automate sequences of commands. For example, a user might write a script to back up files, automate system checks, or clean up temporary files. These scripts save time and reduce errors in repetitive tasks.</p>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
@echo off
echo Performing system cleanup...
del C:WindowsTemp* /f /q
echo Cleanup complete.

</pre></div>


<h4 class="wp-block-heading">3. <strong>Network Troubleshooting</strong></h4>



<p class="wp-block-paragraph">CMD provides several commands to troubleshoot and manage network settings. Common tools include:</p>



<ul class="wp-block-list">
<li><code>ping</code>: Used to test network connectivity between two devices.</li>



<li><code>ipconfig</code>: Displays the IP configuration of the system.</li>



<li><code>tracert</code>: Traces the route packets take to a destination and helps identify network bottlenecks.</li>



<li><code>netstat</code>: Displays active network connections.</li>
</ul>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
ping google.com

</pre></div>


<h4 class="wp-block-heading">4. <strong>System Diagnostics and Maintenance</strong></h4>



<p class="wp-block-paragraph">System administrators often use CMD to diagnose and maintain Windows systems. Common diagnostic commands include:</p>



<ul class="wp-block-list">
<li><code>chkdsk</code>: Checks the disk for errors and attempts repairs.</li>



<li><code>sfc</code>: Scans system files for integrity and restores missing or corrupt files.</li>



<li><code>tasklist</code>: Lists currently running processes.</li>
</ul>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
chkdsk C: /f

</pre></div>


<h4 class="wp-block-heading">5. <strong>Managing System Settings</strong></h4>



<p class="wp-block-paragraph">CMD allows users to configure system settings such as user accounts, network settings, and system services:</p>



<ul class="wp-block-list">
<li><strong>Setting Environment Variables</strong>: <code>set</code> command can be used to define system-wide or user-specific environment variables.</li>



<li><strong>User Management</strong>: <code>net user</code> command can be used to manage user accounts.</li>



<li><strong>Service Management</strong>: Commands like <code>net start</code> and <code>net stop</code> allow users to start or stop services.</li>
</ul>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
net user username /add

</pre></div>


<h4 class="wp-block-heading">6. <strong>Running Executables and Programs</strong></h4>



<p class="wp-block-paragraph">With CMD, you can run executable programs and scripts directly from the command line, which is essential for running automation tasks or launching background processes. You can also pass arguments to programs or configure environment variables for the running processes.</p>



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


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
python myscript.py

</pre></div>


<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">How CMD Works Along with Architecture</h3>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="626" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-1024x626.png" alt="" class="wp-image-12709" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-1024x626.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-300x183.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-768x469.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-1536x939.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-2048x1251.png 2048w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-73-680x415.png 680w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">To understand how <code>cmd</code> works, it&#8217;s helpful to look at the architecture and components that make it function:</p>



<h4 class="wp-block-heading">1. <strong>Command Processor (cmd.exe)</strong></h4>



<p class="wp-block-paragraph">The primary component responsible for interpreting and executing commands in <code>cmd</code> is the <strong>Command Processor</strong>. <code>cmd.exe</code> is the executable that launches the Command Prompt window, allowing users to interact with the system. When you open the Command Prompt, the <code>cmd.exe</code> process is started, which then reads and executes commands typed by the user.</p>



<p class="wp-block-paragraph">The command processor takes user input and attempts to match it to known commands. If the command is found, it executes the corresponding program or function. If no matching command is found, <code>cmd.exe</code> will return an error message indicating that the command is not recognized.</p>



<h4 class="wp-block-heading">2. <strong>Batch File Interpreter</strong></h4>



<p class="wp-block-paragraph">In addition to processing individual commands, <code>cmd.exe</code> is also responsible for executing <strong>batch files</strong>. Batch files are scripts that contain a series of commands, which <code>cmd.exe</code> runs sequentially. Batch files are typically used for automating tasks and workflows.</p>



<p class="wp-block-paragraph"><strong>Batch File Execution</strong>:<br>When you run a batch file, <code>cmd.exe</code> reads each line of the file and executes the commands in order. Batch files can include conditional logic, loops, and variables, providing powerful automation capabilities.</p>



<h4 class="wp-block-heading">3. <strong>Environment Variables</strong></h4>



<p class="wp-block-paragraph"><code>cmd.exe</code> uses environment variables to store system-wide settings and configuration information. These variables contain information about the system, such as the paths for system executables, user directories, and network settings.</p>



<p class="wp-block-paragraph">For example, the <code>PATH</code> variable tells the operating system where to look for executables when running commands. You can modify environment variables using the <code>set</code> command or by editing system settings.</p>



<h4 class="wp-block-heading">4. <strong>Command Execution Pipeline</strong></h4>



<p class="wp-block-paragraph">When a user types a command in <code>cmd</code>, it can invoke one or more programs, pass data between them, or redirect input/output. The Command Prompt allows for the creation of execution pipelines, where the output of one command can be used as the input for another command.</p>



<p class="wp-block-paragraph"><strong>Example of piping commands</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
dir | find &quot;example&quot;

</pre></div>


<p class="wp-block-paragraph">This command first lists the contents of the directory and then pipes the output to the <code>find</code> command, which searches for the term &#8220;example.&#8221;</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">Basic Workflow of CMD</h3>



<p class="wp-block-paragraph">The typical workflow for using the Command Prompt follows these steps:</p>



<ol class="wp-block-list">
<li><strong>Open Command Prompt</strong>:<br>To start using <code>cmd</code>, first open the Command Prompt application. This can be done by searching for <code>cmd</code> or <code>Command Prompt</code> in the Start menu or pressing <code>Win + R</code> and typing <code>cmd</code>.</li>



<li><strong>Enter Commands</strong>:<br>Once the Command Prompt is open, you can enter commands in the terminal window. These commands can range from simple file operations (like <code>dir</code> or <code>cd</code>) to more advanced system configuration or diagnostic tasks.</li>



<li><strong>Execute Commands</strong>:<br>After entering a command, press Enter to execute it. The Command Prompt will execute the command, display the results in the terminal window, or alert you to any errors.</li>



<li><strong>Automate with Batch Files</strong>:<br>For tasks you perform repeatedly, you can create a batch file containing a series of commands. Batch files allow you to automate your workflow and save time.</li>



<li><strong>Close Command Prompt</strong>:<br>Once you&#8217;re finished, you can exit the Command Prompt by typing <code>exit</code> and pressing Enter, or by clicking the &#8220;X&#8221; button in the window.</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading">Step-by-Step Getting Started Guide for CMD</h3>



<h4 class="wp-block-heading">Step 1: Open Command Prompt</h4>



<ul class="wp-block-list">
<li><strong>Windows 10/11</strong>: Press <code>Win + X</code> and select <code>Command Prompt</code> or search for <code>cmd</code> in the Start menu.</li>



<li><strong>Windows 7/8</strong>: Press <code>Win + R</code>, type <code>cmd</code>, and press Enter.</li>
</ul>



<h4 class="wp-block-heading">Step 2: Enter Basic Commands</h4>



<p class="wp-block-paragraph">Once <code>cmd</code> is open, you can enter commands like:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
cd C:UsersYourNameDocuments  # Change to a specific directory
dir                               # List files in the current directory

</pre></div>


<h4 class="wp-block-heading">Step 3: Create and Run a Batch Script</h4>



<p class="wp-block-paragraph">You can automate tasks by writing batch scripts:</p>



<ol class="wp-block-list">
<li>Open a text editor and write commands like: <code>@echo off echo Hello, World! pause</code></li>



<li>Save the file as <code>example.bat</code>.</li>



<li>Double-click the batch file to run it.</li>
</ol>



<h4 class="wp-block-heading">Step 4: Use Advanced Commands</h4>



<p class="wp-block-paragraph">To manage system settings or perform troubleshooting, use more advanced commands such as:</p>



<ul class="wp-block-list">
<li><code>ipconfig</code>: Check network settings.</li>



<li><code>chkdsk</code>: Check and repair disk issues.</li>



<li><code>sfc /scannow</code>: Repair system files.</li>
</ul>



<h4 class="wp-block-heading">Step 5: Automate with More Complex Scripts</h4>



<p class="wp-block-paragraph">As you grow more comfortable with <code>cmd</code>, you can create more complex batch files with loops, conditionals, and variables. For example:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
@echo off
set /p username=Enter your name: 
echo Hello, %username%!

</pre></div><p>The post <a href="https://www.scmgalaxy.com/tutorials/understanding-cmd-the-command-line-interface-of-windows/">Understanding cmd: The Command Line Interface of Windows</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/understanding-cmd-the-command-line-interface-of-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mastering PowerShell: A Comprehensive Guide to Scripting and Automation</title>
		<link>https://www.scmgalaxy.com/tutorials/mastering-powershell-a-comprehensive-guide-to-scripting-and-automation/</link>
					<comments>https://www.scmgalaxy.com/tutorials/mastering-powershell-a-comprehensive-guide-to-scripting-and-automation/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Sat, 10 May 2025 11:24:33 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[CloudManagement]]></category>
		<category><![CDATA[CommandLine]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[ITManagement]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShellCore]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[SystemAdministration]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12279</guid>

					<description><![CDATA[<p>What is PowerShell? PowerShell is a powerful, task automation framework and scripting language developed by Microsoft. Initially released in 2006, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mastering-powershell-a-comprehensive-guide-to-scripting-and-automation/">Mastering PowerShell: A Comprehensive Guide to Scripting and Automation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-35.png" alt="" class="wp-image-12282" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-35.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-35-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-35-768x432.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading"><strong>What is PowerShell?</strong></h2>



<p class="wp-block-paragraph"><strong>PowerShell</strong> is a powerful, task automation framework and scripting language developed by Microsoft. Initially released in 2006, it is designed for system administrators and IT professionals to automate and manage the administration of Windows-based systems and applications. PowerShell combines both a <strong>command-line shell</strong> and a <strong>scripting language</strong>, providing a comprehensive environment for managing tasks across both local and remote machines.</p>



<p class="wp-block-paragraph">Unlike traditional shells like Command Prompt, PowerShell is built on the <strong>.NET framework</strong> and uses <strong>cmdlets</strong> (command-lets), which are small, specialized commands. PowerShell is not just a simple command shell; it integrates with the Windows operating system, allowing users to access and control all aspects of the system, such as file systems, processes, services, registry settings, and much more.</p>



<p class="wp-block-paragraph">A key feature of PowerShell is its ability to manipulate objects. While most shells return text-based output, PowerShell handles <strong>objects</strong> as its output, making it much more versatile for automating complex tasks. PowerShell can interact with multiple data sources, such as databases, web services, and cloud environments, making it a go-to tool for IT automation, configuration management, and orchestration.</p>



<p class="wp-block-paragraph">PowerShell is now available cross-platform, meaning it runs not only on Windows but also on <strong>macOS</strong> and <strong>Linux</strong> as PowerShell Core, a version built on <strong>.NET Core</strong>.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>What are the Major Use Cases of PowerShell?</strong></h2>



<p class="wp-block-paragraph">PowerShell’s flexibility and extensive range of features make it applicable in a wide array of use cases. Some of the most common and major use cases include:</p>



<ol class="wp-block-list">
<li><strong>System Administration and Automation:</strong>
<ul class="wp-block-list">
<li>PowerShell is widely used by system administrators to automate routine tasks such as managing system configurations, automating file backups, and monitoring system health.</li>



<li>IT administrators often use PowerShell to automate the creation and management of users, groups, and permissions in Active Directory.</li>
</ul>
</li>



<li><strong>Configuration Management:</strong>
<ul class="wp-block-list">
<li>PowerShell integrates with <strong>Desired State Configuration (DSC)</strong>, a management platform for automating the deployment and configuration of software and systems.</li>



<li>DSC allows administrators to define configurations for systems, ensuring that they maintain a desired state automatically and consistently.</li>
</ul>
</li>



<li><strong>Cloud Management:</strong>
<ul class="wp-block-list">
<li>With its powerful scripting capabilities, PowerShell is heavily used in managing cloud environments, particularly in <strong>Microsoft Azure</strong>. The Azure PowerShell module allows administrators to automate the deployment and management of cloud services and resources.</li>



<li>For example, managing Azure virtual machines, configuring storage, and automating networking tasks can be achieved via PowerShell commands.</li>
</ul>
</li>



<li><strong>DevOps Automation:</strong>
<ul class="wp-block-list">
<li>PowerShell is commonly used in <strong>DevOps</strong> environments for continuous integration/continuous deployment (CI/CD). It helps automate tasks related to building, testing, and deploying software applications.</li>



<li>PowerShell scripts are often integrated with tools like <strong>Jenkins</strong>, <strong>Azure DevOps</strong>, and <strong>GitLab</strong> to streamline development workflows.</li>
</ul>
</li>



<li><strong>Remote Management:</strong>
<ul class="wp-block-list">
<li>PowerShell’s <strong>remoting</strong> feature allows users to execute commands on remote machines, making it an invaluable tool for managing multiple servers and workstations from a single control point.</li>



<li>Administrators can run scripts on remote systems without having to physically log in to each system, which significantly reduces time and effort in large environments.</li>
</ul>
</li>



<li><strong>Task Scheduling and Batch Processing:</strong>
<ul class="wp-block-list">
<li>PowerShell scripts can be scheduled to run automatically at specific times or intervals using Windows <strong>Task Scheduler</strong>.</li>



<li>This is useful for tasks like regular system cleanup, data processing, or executing batch jobs without requiring manual intervention.</li>
</ul>
</li>



<li><strong>Security Auditing and Reporting:</strong>
<ul class="wp-block-list">
<li>Security administrators use PowerShell to gather system logs, monitor security events, and audit system configurations. It is an excellent tool for querying event logs, checking file integrity, and generating reports on system security settings.</li>
</ul>
</li>



<li><strong>Data Management and File Operations:</strong>
<ul class="wp-block-list">
<li>PowerShell excels in file manipulation, such as copying, moving, renaming, and deleting files and directories. Administrators use PowerShell for bulk file management tasks, especially in large environments where manual handling is inefficient.</li>
</ul>
</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="852" height="545" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-36.png" alt="" class="wp-image-12283" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-36.png 852w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-36-300x192.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-36-768x491.png 768w" sizes="auto, (max-width: 852px) 100vw, 852px" /></figure>



<h2 class="wp-block-heading"><strong>How PowerShell Works Along with Architecture?</strong></h2>



<p class="wp-block-paragraph">PowerShell operates within a robust architecture that facilitates its wide range of automation capabilities. Understanding how PowerShell works under the hood can help developers and administrators use it more effectively:</p>



<ol class="wp-block-list">
<li><strong>PowerShell Cmdlets:</strong>
<ul class="wp-block-list">
<li>PowerShell commands, called <strong>cmdlets</strong>, are the basic building blocks of PowerShell functionality. Cmdlets are lightweight, single-function commands designed to perform specific tasks like retrieving system information or modifying settings.</li>



<li>Cmdlets follow the <strong>verb-noun</strong> naming convention (e.g., <code>Get-Process</code>, <code>Set-Content</code>), making them intuitive and easy to use.</li>
</ul>
</li>



<li><strong>Pipelines:</strong>
<ul class="wp-block-list">
<li>One of PowerShell&#8217;s most powerful features is its ability to work with <strong>pipelines</strong>. Pipelines allow the output of one cmdlet to be passed directly as input to another cmdlet, enabling complex workflows to be constructed in a single line of code.</li>



<li>For example, <code>Get-Process | Where-Object {$_.CPU -gt 100}</code> retrieves processes with high CPU usage and filters them accordingly.</li>
</ul>
</li>



<li><strong>Objects and Object-Oriented Nature:</strong>
<ul class="wp-block-list">
<li>Unlike other shells that return text-based output, PowerShell is object-oriented. Cmdlets return objects, which can have properties and methods. This allows for richer and more flexible output manipulation.</li>



<li>For instance, you can extract specific properties from an object like a file or process, and manipulate them with ease.</li>
</ul>
</li>



<li><strong>The Execution Engine:</strong>
<ul class="wp-block-list">
<li>The <strong>PowerShell engine</strong> is responsible for parsing and executing commands. It processes cmdlets, functions, and scripts, interpreting them and managing the runtime environment. The engine can execute scripts either interactively or in batch mode.</li>



<li>PowerShell can run scripts written in the <code>.ps1</code> file format, which contain sequences of commands designed to automate tasks.</li>
</ul>
</li>



<li><strong>PowerShell Remoting:</strong>
<ul class="wp-block-list">
<li>PowerShell remoting allows you to run commands and scripts on remote computers. It uses the <strong>Windows Remote Management (WinRM)</strong> protocol for communication. This feature allows administrators to manage multiple systems from a central server without needing direct access to each one.</li>
</ul>
</li>



<li><strong>Modules and Snap-ins:</strong>
<ul class="wp-block-list">
<li>PowerShell extends its functionality with <strong>modules</strong> and <strong>snap-ins</strong>, which package sets of cmdlets, functions, and workflows. For instance, the <strong>Active Directory module</strong> allows you to manage Active Directory objects, while the <strong>Azure PowerShell module</strong> provides commands for managing Azure resources.</li>



<li>Modules can be installed from the <strong>PowerShell Gallery</strong> or custom sources and can be imported using <code>Import-Module</code>.</li>
</ul>
</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>What are the Basic Workflow of PowerShell?</strong></h2>



<p class="wp-block-paragraph">The basic workflow in PowerShell involves writing commands, executing them, and refining the results for automation tasks. Here’s a typical PowerShell workflow:</p>



<ol class="wp-block-list">
<li><strong>Launching PowerShell:</strong>
<ul class="wp-block-list">
<li>You can start PowerShell by opening the application from the Start menu or by executing <code>powershell</code> in a command prompt.</li>



<li>PowerShell can also be run with <strong>Administrator privileges</strong> to perform higher-level tasks that require elevated permissions.</li>
</ul>
</li>



<li><strong>Using Cmdlets:</strong>
<ul class="wp-block-list">
<li>PowerShell’s functionality is driven by cmdlets. Cmdlets can be run directly at the command prompt, or they can be combined in a script. For example: <code>Get-Process | Where-Object {$_.CPU -gt 100}</code></li>



<li>Cmdlets are often used in combination with pipes (<code>|</code>) to process data across multiple stages.</li>
</ul>
</li>



<li><strong>Script Creation:</strong>
<ul class="wp-block-list">
<li>For recurring tasks, it’s common to write PowerShell scripts (with the <code>.ps1</code> extension). These scripts can contain sequences of commands, conditional logic (like <code>if</code> statements), loops (<code>for</code>, <code>while</code>), and functions.</li>
</ul>
</li>



<li><strong>Managing Remote Systems:</strong>
<ul class="wp-block-list">
<li>PowerShell’s remoting feature allows administrators to run commands on remote systems using: <code>Enter-PSSession -ComputerName RemotePC</code></li>



<li>This is useful in large environments where remote management is required.</li>
</ul>
</li>



<li><strong>Scheduling Tasks:</strong>
<ul class="wp-block-list">
<li>PowerShell scripts can be scheduled to run automatically using <strong>Windows Task Scheduler</strong>, allowing for automated task execution at predefined times or intervals.</li>
</ul>
</li>



<li><strong>Output and Error Handling:</strong>
<ul class="wp-block-list">
<li>PowerShell’s output is typically displayed in the console, but it can also be redirected to files or other commands. Error handling is crucial for production scripts, and PowerShell provides cmdlets like <code>Try</code>, <code>Catch</code>, and <code>Finally</code> to manage errors efficiently.</li>
</ul>
</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading"><strong>Step-by-Step Getting Started Guide for PowerShell</strong></h2>



<ol class="wp-block-list">
<li><strong>Install PowerShell:</strong>
<ul class="wp-block-list">
<li>For Windows users, PowerShell is pre-installed. For macOS and Linux users, <strong>PowerShell Core</strong> can be installed from the <a href="https://github.com/PowerShell/PowerShell">official GitHub repository</a>.</li>
</ul>
</li>



<li><strong>Start PowerShell:</strong>
<ul class="wp-block-list">
<li>On Windows, search for &#8220;PowerShell&#8221; in the Start menu. On macOS and Linux, open the terminal and type <code>pwsh</code> to start PowerShell Core.</li>
</ul>
</li>



<li><strong>Running Simple Cmdlets:</strong>
<ul class="wp-block-list">
<li>Start by running simple commands like: <code>Get-Process</code></li>



<li>This cmdlet lists all running processes.</li>
</ul>
</li>



<li><strong>Creating and Running Scripts:</strong>
<ul class="wp-block-list">
<li>Use a text editor to create a <code>.ps1</code> script. For example: <code>Get-Service | Where-Object {$_.Status -eq 'Running'}</code></li>



<li>Save the file and run it using <code>.YourScript.ps1</code>.</li>
</ul>
</li>



<li><strong>Learn Remote Management:</strong>
<ul class="wp-block-list">
<li>Enable remoting on your machine with the following command: <code>Enable-PSRemoting -Force</code></li>



<li>Use <code>Enter-PSSession</code> to start a remote session and manage remote machines.</li>
</ul>
</li>



<li><strong>Use PowerShell for Automation:</strong>
<ul class="wp-block-list">
<li>Start automating common tasks such as system cleanup, report generation, or user account management by scripting these tasks in PowerShell.</li>
</ul>
</li>
</ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mastering-powershell-a-comprehensive-guide-to-scripting-and-automation/">Mastering PowerShell: A Comprehensive Guide to Scripting and Automation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/mastering-powershell-a-comprehensive-guide-to-scripting-and-automation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Test your Shell Scripting Skills: &#8211; Program 5</title>
		<link>https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-5/</link>
					<comments>https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-5/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 07:02:57 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[Scripting]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2305</guid>

					<description><![CDATA[<p>scmuser created the topic: Test your Shell Scripting Skills: &#8211; Program 5 Write a script that behaves both in interactive [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-5/">Test your Shell Scripting Skills: &#8211; Program 5</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Test your Shell Scripting Skills: &#8211; Program 5</strong></p>
<p>Write a script that behaves both in interactive and noninteractive mode. When no arguments are supplied, it picks up each C program from the current directory and lists the first 10 lines. it then prompts for deletion of the file. if the user supplies arguments with the script, then it works on those files only.</p>
<p><strong>rajeshkumar replied the topic: Re: Test your Shell Scripting Skills: &#8211; Program 5</strong></p>
<p>Following script should work&#8230;.</p>
<p><code>#!/bin/sh<br />
counter=0<br />
if [ $# -eq 0 ]<br />
then</p>
<p>        for file in `find . -name "*.c"`<br />
        do<br />
                head -10 $file<br />
                counter=`expr $counter + 1`<br />
        echo "Do you want to delete this file=(Please type Y or N)"<br />
        read vote<br />
        case $vote in<br />
                Y|y) rm -f $file;;<br />
                n|N) exit ;;<br />
                *) echo "Invalid response"<br />
        esac<br />
        done<br />
else</p>
<p>        	head -10 $1<br />
        	echo "Do you want to delete this file=(Please type Y or N)"<br />
        	read vote<br />
		        case $vote in<br />
		                Y|y) rm -f $1;;<br />
		                n|N) exit ;;<br />
		                *) echo "Invalid response"<br />
        		esac<br />
fi</p>
<p>echo "Number of files found=$counter"</code></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p><strong>rajeshkumar replied the topic: Re: Test your Shell Scripting Skills: &#8211; Program 5</strong></p>
<p><code>#!/bin/sh<br />
counter=0<br />
if [ $# -eq 0 ]<br />
then</p>
<p>for file in `find . -name "*.c"`<br />
do<br />
head -10 $file<br />
counter=`expr $counter + 1`<br />
echo "Do you want to delete this file=(Please type Y or N)"<br />
read vote<br />
case $vote in<br />
Y|y) rm -f $file;;<br />
n|N) exit ;;<br />
*) echo "Invalid response"<br />
esac<br />
done<br />
else</p>
<p>head -10 $1<br />
echo "Do you want to delete this file=(Please type Y or N)"<br />
read vote<br />
case $vote in<br />
Y|y) rm -f $1;;<br />
n|N) exit ;;<br />
*) echo "Invalid response"<br />
esac<br />
fi</p>
<p>echo "Number of files found=$counter"</code></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-5/">Test your Shell Scripting Skills: &#8211; Program 5</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Test your Shell Scripting Skills: &#8211; Program 6</title>
		<link>https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-6/</link>
					<comments>https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-6/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 06:58:27 +0000</pubDate>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[Scripting]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2303</guid>

					<description><![CDATA[<p>scmuser created the topic: Test your Shell Scripting Skills: &#8211; Program 6 Display a process in the system every 30 [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-6/">Test your Shell Scripting Skills: &#8211; Program 6</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Test your Shell Scripting Skills: &#8211; Program 6</strong><br />
Display a process in the system every 30 seconds five times using a(i) while loop (ii) for loop. What is the unusual feature of the for loop?</p>
<p><strong>rajeshkumar replied the topic: Re: Test your Shell Scripting Skills: &#8211; Program 6</strong></p>
<p>This should work&#8230;.</p>
<p><code>#!/bin/bash<br />
counter=0</p>
<p>while [ $counter -lt 5 ]<br />
do	</p>
<p>	echo "Displaying running System process"<br />
	ps<br />
	echo "Displaying System Process and Top CPU using processes"<br />
	top<br />
	echo "Displaying One line Summary of System Status"<br />
	uptime</p>
<p>	sleep 30<br />
done</p>
<p>for counter1 in 1 2 3 4 5<br />
do<br />
	echo "Displaying running System process"<br />
	ps<br />
	echo "Displaying System Process and Top CPU using processes"<br />
	top<br />
	echo "Displaying One line Summary of System Status"<br />
	uptime</p>
<p>	sleep 30</p>
<p>done</code></p>
<p>The unusual feature of for loop is &#8211; There is no three part structure as used in C, Awk and perl. Unlike while and until, for does not test a condition, but uses a list instead.</p>
<p>for example&#8230;</p>
<p>for varibale in list<br />
do<br />
commands<br />
done<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-6/">Test your Shell Scripting Skills: &#8211; Program 6</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/test-your-shell-scripting-skills-program-6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Scripting in Jenkins using Groovy</title>
		<link>https://www.scmgalaxy.com/tutorials/scripting-in-jenkins-using-groovy/</link>
					<comments>https://www.scmgalaxy.com/tutorials/scripting-in-jenkins-using-groovy/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:19:40 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Scripting]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2048</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Scripting in Jenkins using Groovy Some Useful Url wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console javadoc.jenkins-ci.org/ Regards, Rajesh Kumar Twitt me @ [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/scripting-in-jenkins-using-groovy/">Scripting in Jenkins using Groovy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Scripting in Jenkins using Groovy</strong><br />
Some Useful Url</p>
<p><a href="http://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console">wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console </a><br />
<a href="http://javadoc.jenkins-ci.org/">javadoc.jenkins-ci.org/</a><br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/scripting-in-jenkins-using-groovy/">Scripting in Jenkins using Groovy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/scripting-in-jenkins-using-groovy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Complete Linux &#038; Shell Scripting Guide and Tutorial for Linux Admin and DevOps Engineer</title>
		<link>https://www.scmgalaxy.com/tutorials/complete-linux-shell-scripting-guide-and-tutorial-for-linux-admin-and-devops-engineer/</link>
					<comments>https://www.scmgalaxy.com/tutorials/complete-linux-shell-scripting-guide-and-tutorial-for-linux-admin-and-devops-engineer/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 03 Mar 2016 10:32:26 +0000</pubDate>
				<category><![CDATA[Shell Scripting]]></category>
		<category><![CDATA[DevOps Engineer]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux & Shell Scripting Guide]]></category>
		<category><![CDATA[Linux & Shell Scripting Resources]]></category>
		<category><![CDATA[Linux & Shell Scripting Tutorial]]></category>
		<category><![CDATA[Linux Admin]]></category>
		<category><![CDATA[Linux Bash Scripting Video]]></category>
		<category><![CDATA[Linux Exercise]]></category>
		<category><![CDATA[Linux Quiz]]></category>
		<category><![CDATA[Linux Shell Scripting Interview Guide]]></category>
		<category><![CDATA[Linux Troubleshooting Guide]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/03/03/complete-linux-shell-scripting-guide-and-tutorial-for-linux-admin-and-devops-engineer/</guid>

					<description><![CDATA[<p>Linux User Commands Linux Commands for User Linux Commands reference in scmGalaxy forum Linux Admin Commands Linux Commands for Administrator [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-linux-shell-scripting-guide-and-tutorial-for-linux-admin-and-devops-engineer/">Complete Linux &#038; Shell Scripting Guide and Tutorial for Linux Admin and DevOps Engineer</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-3060 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/03/linux-shell-scripting-guide.png" alt="linux-shell-scripting-guide-and-tutorial" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/03/linux-shell-scripting-guide.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/03/linux-shell-scripting-guide-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Linux User Commands</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/general/interview-questions-answers/linux-commands-for-user.html">Linux Commands for User</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/unix-linux.html">Linux Commands reference in scmGalaxy forum</a></li>
</ul>
<p><strong>Linux Admin Commands</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/general/interview-questions-answers/linux-commands-for-administrator.html">Linux Commands for Administrator</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/main-responsibilities-of-the-linux-system-administrator.html">Main Responsibilities of the Linux System Administrator</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/20-pmap-commands-examples-in-linux-unix.html">20 pmap Commands Examples in Linux / UNIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/20-mpstat-command-examples-in-linux-unix.html">20 mpstat Commands Examples in Linux / UNIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/20-iostat-command-examples-in-linux-unix.html">20 iostat Commands Examples in Linux / UNIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/20-vmstat-command-examples-in-linux-unix.html">20 vmstat Commands Examples in Linux / UNIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/20-xargs-command-examples-in-linux-unix.html">20 Xargs Commands Examples in Linux / UNIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/mount-and-unmount-filesystem-partition-in-linux.html">20 Mount and Unmount Filesystem / Partition commands in Linux / UNIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id.html">Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/linux-performance-monitoring-using-iostat-mpstat-and-vmstat.html">Linux Performance Monitoring using iostat, mpstat and vmstat</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/understanding-epoch-unix-timestamp.html">Understanding Epoch &amp; Unix Timestamp</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/common-unix-commands-and-utilities.html">Common unix commands and utilities</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/shell-script-parameters.html">Shell Script Parameters</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/unix-sed-quick-reference.html">Unix Sed Quick Reference</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/reading-xml-file-using-shell-script.html">Reading XML file using shell script</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/unix-command-grep.html">Unix Command: Grep</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/vi-vim-editor-commands.html">VI/VIM editor Commands</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/scripting/shell-scripting/basic-of-unix-presentation.html">Basic of Unix Presentation</a></li>
</ul>
<p><strong>Useful Tools in Linux</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/operating-systems/unix-linux/gsh-run-linux-commands-on-many-other-linux-server-at-once.html">gsh &#8211; Run linux commands on many other linux server at once</a></li>
</ul>
<p><strong>Linux Shell Scripting Collection and Interview Guide</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/general/interview-questions-answers/interview-questions-sets-shell-script-descriptive.html">Interview Questions Sets : Shell Script Descriptive</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/general/interview-questions-answers/interview-questions-answer-sets-shell-programming.html">Interview Questions &amp; Answer Sets : Shell Programming</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/2165-must-have-collection-of-shell-script-for-any-scm-admin.html">Must have collection of shell script for any SCM admin</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/1921-frequently-used-shell-script.html">Frequently Used Shell Script</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script.html">Shell Script collection in scmGalaxy Forum</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/733-expect-command-in-unix-linux.html">Automate mandatory user-parameter in Shell Script using expect</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/1922-various-commands-to-send-an-email-in-linux.html">Various Commands to send an email in Linux</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/1846-df-command-usage.html">df advance command usage</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/1845-ftp-commands-for-linux-unix.html">FTP commands for Linux / Unix</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/267-shellscript-to-monitor-available-disk-space-on-aix.html">ShellScript to monitor available disk space on AIX</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/1818-find-linux-command-collection.html">Find Linux Command Collection</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/unix-linux/2187-disable-ipv6-and-enable-ipv4-in-red-hat-linux.html">Disable IPv6 and Enable IPv4 in Red Hat Linux</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="http://community.scmgalaxy.com/blog/view/41330/configuring-nfs-to-access-the-files-from-remote-linux-machine-as-a-mount-point">Configuring NFS to access the files from remote Linux machine as a mount point</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="http://www.gurukulgalaxy.com/tutorials/tri7/cst_101/o4a/unit1/index.htm" target="_blank" rel="noopener">Linux Shell Scripting Units and Exercise Unit &#8211; 1</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a href="http://www.gurukulgalaxy.com/tutorials/tri7/cst_101/o4a/unit2/index.htm" target="_blank" rel="noopener">Linux Shell Scripting Units and Exercise Unit &#8211; 2</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a href="/www.gurukulgalaxy.com/tutorials/tri7/cst_101/o4a/unit3/index.htm" target="_blank" rel="noopener">Linux Shell Scripting Units and Exercise Unit &#8211; 3</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a href="http://www.gurukulgalaxy.com/tutorials/tri7/cst_101/o4a/unit4/index.htm" target="_blank" rel="noopener">Linux Shell Scripting Units and Exercise Unit &#8211; 4</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a href="http://www.gurukulgalaxy.com/tutorials/tri7/cst_101/o4a/unit5/index.htm" target="_blank" rel="noopener">Linux Shell Scripting Units and Exercise Unit &#8211; 5</a></li>
</ul>
<p><strong>Linux Troubleshooting Guide</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="scm/general/interview-questions-answers/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check.html">If a linux-build-server suddenly starts getting slow, what would you check?</a></li>
</ul>
<p><strong>Linux Quiz</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="component/com_ariquizlite/Itemid,536/quizId,1/task,quiz/">Start Your Quiz</a></li>
</ul>
<p><strong>Linux Exercise</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/2194-questions-to-test-your-linux-shell-script.html">Test Your Linux Skills via these Exercise</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="forum/34-shell-script/2010-recovering-a-recently-opended-deleted-files.html">Recovering a Recently opended deleted files</a></li>
</ul>
<p><strong>Linux Bash Scripting Video Tutorial and CBT</strong></p>
<ul style="margin: 12px 0px 0px; padding: 0px; list-style: none; color: #555555; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 28px;">
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="online-videos/Bash-Training/">Bash Scripting CBT</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"><a style="color: #4d90fe; transition: color 0.2s linear; -webkit-transition: color 0.2s linear; text-decoration: none;" href="https://www.youtube.com/playlist?list=PL8DSonqBNdRpiJ3SdxifHEE65fOpoK7hg">Linux Comammands &amp; Shell Scripting Youtube</a></li>
<li style="line-height: 2; list-style-position: outside; padding-left: 24px; font-size: 13px; background: url('templates/gk_magazine/images/style1/typography/bullet-square2.png') 0px 6px no-repeat;"></li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-linux-shell-scripting-guide-and-tutorial-for-linux-admin-and-devops-engineer/">Complete Linux &#038; Shell Scripting Guide and Tutorial for Linux Admin and DevOps Engineer</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/complete-linux-shell-scripting-guide-and-tutorial-for-linux-admin-and-devops-engineer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Shell Scripting (Bash) Training &#124; Bash/Shell Scripting Course</title>
		<link>https://www.scmgalaxy.com/tutorials/shell-scripting-bash-training-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/shell-scripting-bash-training-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 17 Jun 2015 22:21:54 +0000</pubDate>
				<category><![CDATA[Training]]></category>
		<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Bash Course]]></category>
		<category><![CDATA[Bash Scripting Course]]></category>
		<category><![CDATA[Bash Training]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Courses]]></category>
		<category><![CDATA[Delivery]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[Engineer]]></category>
		<category><![CDATA[Hyderabad]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Shell Course]]></category>
		<category><![CDATA[Shell Scripting]]></category>
		<category><![CDATA[Shell Scripting Course]]></category>
		<category><![CDATA[Shell Scripting Training]]></category>
		<category><![CDATA[Shell Training]]></category>
		<category><![CDATA[Trainer]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Usa]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/06/17/shell-scripting-bash-training-2/</guid>

					<description><![CDATA[<p>Introduction Introduction Why Shell Scripting? Linux Internal What to Expect From This Course? Prerequisites Git fundamental Introduction of git Git [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/shell-scripting-bash-training-2/">Shell Scripting (Bash) Training | Bash/Shell Scripting Course</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-3459 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/06/shell-bash-training.png" alt="shell-bash-scripting-training" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/06/shell-bash-training.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/06/shell-bash-training-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><a title="DevOps Training Registration" href="events/register/index.html" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class=" size-full wp-image-1" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/07/registernow.jpg" alt="" width="232" height="104" /></a></p>
<p>Introduction</p>
<ul>
<li>Introduction</li>
<li>Why Shell Scripting?</li>
<li>Linux Internal</li>
<li>What to Expect From This Course?</li>
<li>Prerequisites</li>
</ul>
<p>Git fundamental</p>
<ul>
<li>Introduction of git</li>
<li>Git setup</li>
<li>Basic operations in git</li>
<li>Github</li>
<li>Summary</li>
</ul>
<p>A First Look At Shell Scripts</p>
<ul>
<li>Introduction</li>
<li>Creating A Shell Script</li>
<li>Demo: A Note-Taking Script</li>
<li>Calling The Script</li>
<li>The Shebang</li>
<li>Naming Your Script</li>
<li>Demo: The type Command</li>
<li>Summary</li>
</ul>
<p>Variables</p>
<ul>
<li>Introduction</li>
<li>Demo: Variables</li>
<li>Using Variables in A Script</li>
<li>Using Variables: Good Habits</li>
<li>Reading Input</li>
<li>Debugging your Script</li>
<li>Summary</li>
</ul>
<p>If, Then, Else</p>
<ul>
<li>Introduction</li>
<li>Demo: The If Statement</li>
<li>The If Statement</li>
<li>Return codes</li>
<li>The Conditional Expression</li>
<li>Demo: The Conditional Expression</li>
<li>The Conditional Expression 2</li>
<li>Arithmetic Tests</li>
<li>Demo: Arithmetic Tests</li>
<li>The If Statement Revisited</li>
<li>And, Or, Not</li>
<li>Summary</li>
</ul>
<p>Input and Output</p>
<ul>
<li>Introduction</li>
<li>Output: echo and printf</li>
<li>Input: read revisited</li>
<li>Standard Streams and Redirection</li>
<li>Demo: Redirection</li>
<li>Summary</li>
</ul>
<p>Control Flow</p>
<ul>
<li>Introduction</li>
<li>While and Until</li>
<li>The Classic For Statement</li>
<li>The C-Style For Statement</li>
<li>Break and Continue</li>
<li>The Case Statement</li>
<li>&amp;&amp; and ||</li>
<li>Summary</li>
</ul>
<p>Variables 2</p>
<ul>
<li>Introduction</li>
<li>Integer Variables</li>
<li>Arithmetic Expressions</li>
<li>Arithmetic Expressions 2</li>
<li>Read-only Variables</li>
<li>Exporting Variables</li>
<li>Arrays</li>
<li>Summary</li>
</ul>
<p>Handling Script Parameters</p>
<ul>
<li>Introduction</li>
<li>Special Variables</li>
<li>Shift</li>
<li>Getopts</li>
<li>Getopts: Handling Errors</li>
<li>Summary</li>
</ul>
<p>Shell Functions</p>
<ul>
<li>Introduction</li>
<li>Shell Functions</li>
<li>Shell Functions 2</li>
<li>Functions: Demo</li>
<li>Some Miscellaneous Remarks</li>
<li>Summary</li>
</ul>
<p>Fun with Strings</p>
<ul>
<li>Introduction</li>
<li>Removing Part Of A String</li>
<li>Search and Replace</li>
<li>Setting A Default Value</li>
<li>Conditional Expression Patterns</li>
<li>Regular Expressions in The Conditional Expression</li>
<li>End of Options</li>
<li>Summary</li>
</ul>
<p>Many Ways to Run Your Script</p>
<ul>
<li>Introduction</li>
<li>Running your Code</li>
<li>Nohup and The Background</li>
<li>Exec</li>
<li>At and Cron</li>
<li>Set and Shopt</li>
<li>Summary</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/shell-scripting-bash-training-2/">Shell Scripting (Bash) Training | Bash/Shell Scripting Course</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/shell-scripting-bash-training-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Perl Scripting Interview &#8211; Selected Questions</title>
		<link>https://www.scmgalaxy.com/tutorials/perl-scripting/</link>
					<comments>https://www.scmgalaxy.com/tutorials/perl-scripting/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 09:47:07 +0000</pubDate>
				<category><![CDATA[Interview Questions & Answers]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Interview Questions of Perl Scripting]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Perl Advance Interview Questions]]></category>
		<category><![CDATA[Perl Job Interview Questions]]></category>
		<category><![CDATA[Perl regular expression interview question]]></category>
		<category><![CDATA[Perl Scripting]]></category>
		<category><![CDATA[Perl Scripting Interview]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Selected Perl Interview Questions]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/08/24/perl-scripting/</guid>

					<description><![CDATA[<p>Can anyone help on these questions which i couldnt answer in my interview,because iam not sure on perl scripting iam [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perl-scripting/">Perl Scripting Interview &#8211; Selected Questions</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-4400" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/08/perl-scripting-interview-se.png" alt="perl-scripting-interview-selected-questions" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/08/perl-scripting-interview-se.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/08/perl-scripting-interview-se-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Can anyone help on these questions which i couldnt answer in my interview,because iam not sure on perl scripting iam learning the things in perl now.</p>
<p>1.What standard Perl modules have you made use of, and why did you use them instead of the equivalent built-in functions?</p>
<p>2.Write a statement that checks to make sure there are at least two command line arguments and exits with an error if not.</p>
<p>3.How do you find the number of elements in an array?</p>
<p>4.Write a regular expression that would match only the last director of a full path filename (and you don&#8217;t know the path ahead of time).  Example: for &#8220;/fee/fi/fo/fum.txt&#8221; you would match &#8220;fo&#8221; with your regular expression</p>
<p>5.Write a Perl script to get the machine host name and print it. No system command should be used; this script should work on Windows and Linux OS without any change.<br />
6.Write a Perl script to check a directory exists or not and print proper message. The directory location will be passed as parameter while executing the script.</p>
<p>Please help me out for the above questions.</p>
<p style="margin-bottom: 0in;">
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perl-scripting/">Perl Scripting Interview &#8211; Selected Questions</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/perl-scripting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ant Script with Shell script, How to run shell script from Ant Script?</title>
		<link>https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 20 Jun 2009 04:09:39 +0000</pubDate>
				<category><![CDATA[others scripting language]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[Ant and Shell script Commands]]></category>
		<category><![CDATA[Ant Script]]></category>
		<category><![CDATA[Ant Script with Shell script]]></category>
		<category><![CDATA[Ant via a shell script]]></category>
		<category><![CDATA[Call]]></category>
		<category><![CDATA[call shell script from ant script]]></category>
		<category><![CDATA[How to run shell script using ant]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[Shell script]]></category>
		<category><![CDATA[shell script using Ant]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2009/06/20/ant-script-with-shell-script/</guid>

					<description><![CDATA[<p>Ant Script with Shell script How to set files Permission in Ant &#124; How to set files Permission in Unix [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/">Ant Script with Shell script, How to run shell script from Ant Script?</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-4013 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-with-shell-scrip.png" alt="ant-script-with-shell-script" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-with-shell-scrip.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2009/06/ant-script-with-shell-scrip-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<table class="mceItemTable" border="0" width="100%">
<tbody>
<tr>
<td class="HEADING"><b>Ant Script with Shell script</b></td>
</tr>
<tr>
<td class="HEADING_BODY"><b>How to set files Permission in Ant</b> | <b>How to set files Permission in Unix</b> | <b>Set files Permission in Ant in Unix Environment</b></td>
</tr>
<tr>
<td class="HEADING"><b>Command:</b></td>
</tr>
<tr>
<td class="HEADING_BODY">&nbsp;</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="HEADING"><b>Ant Script to Replace some character in any files</b></td>
</tr>
<tr>
<td class="HEADING_BODY">&nbsp;</p>
<p>&nbsp;</td>
</tr>
<tr>
<td class="HEADING"><b>How to run shell script using ant/</b></td>
</tr>
<tr>
<td class="HEADING_BODY">&nbsp;</td>
</tr>
<tr>
<td class="HEADING"><b>To Remove Some Special Character from Files</b></td>
</tr>
<tr>
<td class="HEADING_BODY">for name in `find PWD -type f`<br />
do<br />
if [ -f $name ]; then<br />
tr -d &#8220;\015&#8221; ${name}XXXYYYZZZ<br />
mv ${name}XXXYYYZZZ $name<br />
echo &#8220;$name updated&#8221;<br />
fi<br />
done</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/">Ant Script with Shell script, How to run shell script from Ant Script?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ant-script-with-shell-script/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
