<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Module-1 on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/</link><description>Recent content in Module-1 on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><atom:link href="http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/index.xml" rel="self" type="application/rss+xml"/><item><title>Basic Useful Hugo Commands</title><link>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/001-hugo-basic-commands/</link><pubDate>Mon, 07 Jul 2025 10:52:27 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/001-hugo-basic-commands/</guid><description>&lt;p class="lead text-primary"&gt;
Essential Hugo commands for development, building, and managing your HBStack-powered site including server commands, build options, and debugging utilities.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="hugo-commands"&gt;Hugo Commands&lt;/h2&gt;
&lt;p&gt;Content for Hugo commands will be added here.&lt;/p&gt;
&lt;h2 id="faqs"&gt;FAQs&lt;/h2&gt;

 &lt;div
 class="accordion mb-4"
 id="accordion-1779077209790739-coursehbstack0301m001qafaq"&gt;
 &lt;div class="accordion-item"&gt;
 &lt;h3 class="accordion-header"&gt;
 &lt;button
 class="accordion-button fw-bold"
 type="button"
 data-bs-toggle="collapse"
 data-bs-target="#accordion-1779077209790739-coursehbstack0301m001qafaq-0"
 aria-expanded="true"
 aria-controls="accordion-1779077209790739-coursehbstack0301m001qafaq-0"&gt;
 
 &lt;/button&gt;
 &lt;/h3&gt;
 &lt;div
 id="accordion-1779077209790739-coursehbstack0301m001qafaq-0"
 class="accordion-collapse collapse show"
 data-bs-parent="#accordion-1779077209790739-coursehbstack0301m001qafaq"&gt;
 &lt;div class="accordion-body"&gt;
 
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="accordion-item"&gt;
 &lt;h3 class="accordion-header"&gt;
 &lt;button
 class="accordion-button fw-bold collapsed"
 type="button"
 data-bs-toggle="collapse"
 data-bs-target="#accordion-1779077209790739-coursehbstack0301m001qafaq-1"
 
 aria-controls="accordion-1779077209790739-coursehbstack0301m001qafaq-1"&gt;
 
 &lt;/button&gt;
 &lt;/h3&gt;
 &lt;div
 id="accordion-1779077209790739-coursehbstack0301m001qafaq-1"
 class="accordion-collapse collapse"
 data-bs-parent="#accordion-1779077209790739-coursehbstack0301m001qafaq"&gt;
 &lt;div class="accordion-body"&gt;
 
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;</description></item><item><title>Dealing with Server Commands</title><link>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/002-dealing-running-server/</link><pubDate>Mon, 07 Jul 2025 10:52:27 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/002-dealing-running-server/</guid><description>&lt;p class="lead text-primary"&gt;
This document provides the information about running and managing Hugo server
&lt;/p&gt;
&lt;h2 id="-managing-multiple-site-processes-on-a-single-machine"&gt;🧩 Managing Multiple Site Processes on a Single Machine&lt;/h2&gt;
&lt;p&gt;When running multiple Hugo sites or similar services on one machine, it&amp;rsquo;s essential to monitor and manage active processes to avoid port conflicts, memory leaks, or zombie jobs.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="-finding-running-jobs"&gt;🔍 Finding Running Jobs&lt;/h2&gt;
&lt;p&gt;Use &lt;code&gt;ps&lt;/code&gt; and &lt;code&gt;grep&lt;/code&gt; to locate processes:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;ps aux &lt;span class="p"&gt;|&lt;/span&gt; grep hugo &lt;span class="p"&gt;|&lt;/span&gt; grep -v grep
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This lists all Hugo-related processes. Example output:&lt;/p&gt;</description></item><item><title>Running Hugo Server</title><link>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/002-running-server/</link><pubDate>Mon, 07 Jul 2025 10:52:27 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ags/hbstack-content/hbstack/03-hugo-commands/01-module/002-running-server/</guid><description>&lt;p class="lead text-primary"&gt;
Essential Hugo commands for development, building, and managing your HBStack-powered site including server commands, build options, and debugging utilities.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="running-hugo-server"&gt;Running Hugo Server&lt;/h2&gt;
&lt;p&gt;To start the Hugo development server, use the following command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;hugo server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This command will start the server and watch for changes in your content files, automatically rebuilding the site as you make edits.&lt;/p&gt;
&lt;p&gt;When a server is run while you want to build your site, you can use different configuration options. Learning about them always helps optimize your workflow. What commands are available can be seen from &lt;code&gt;hugo help&lt;/code&gt;. Every command has its own set of flags and options that can be used to customize its behavior.&lt;/p&gt;</description></item></channel></rss>