<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by QT on Medium]]></title>
        <description><![CDATA[Stories by QT on Medium]]></description>
        <link>https://medium.com/@AllDaySOC?source=rss-6cb2199eacc0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_gv1z_lgw5dgugbYZ-0IUA.png</url>
            <title>Stories by QT on Medium</title>
            <link>https://medium.com/@AllDaySOC?source=rss-6cb2199eacc0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 16:30:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AllDaySOC/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[MongoDB Exploration Simplified with MongoDB Compass]]></title>
            <link>https://medium.com/@AllDaySOC/mongodb-exploration-simplified-with-mongodb-compass-b2887e7b80d0?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2887e7b80d0</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Wed, 11 Feb 2026 17:28:56 GMT</pubDate>
            <atom:updated>2026-02-11T17:28:56.091Z</atom:updated>
            <content:encoded><![CDATA[<p>Mongodb is a non relational database meaning it stores data in key value pair, to locally access and work on the database we use a graphical user interface called mongodb compass. Here is how:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JMNJ_HAwPBD1qTAHGY_GjQ.jpeg" /></figure><ol><li>Download mongo compass here: <a href="https://www.mongodb.com/try/download/compass">https://www.mongodb.com/try/download/compass</a></li><li>Scroll on the menu bar and select mongocompass UI</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wD0icLcR_Q-s8oZ_dIUsIQ.png" /></figure><p>3. Click on add new connection button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SF5JFfEbB8F5AzOGkhXnbw.png" /></figure><p>4. Get the connection string from mongoDB and type it in the field below, give this connection a name and a color(these 2 are optional)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSNKXA2mXoSfPMWul-95cg.png" /></figure><p>5. Click on Save and connect button, wait for the connection to load, for a successful connection you should see the output below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4dIo-Cz2enojLZr4jugZMA.png" /></figure><p>With this we can now browse through our MongoDB . Enjoy</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2887e7b80d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Analysts Translate Messy Data, DAX, and Dashboards into Action Using Power BI]]></title>
            <link>https://medium.com/@AllDaySOC/how-analysts-translate-messy-data-dax-and-dashboards-into-action-using-power-bi-9bca60b39225?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bca60b39225</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Tue, 10 Feb 2026 18:43:14 GMT</pubDate>
            <atom:updated>2026-02-10T18:43:14.016Z</atom:updated>
            <content:encoded><![CDATA[<p>Did you know that Power BI analysts can actually become profitable? not through creating pretty charts, but by taking untrusted data, raw data, and turning it into reliable information that can be used for decision making.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xlpplEWbr8jhQD0w2lVdxg.jpeg" /></figure><p>This article discusses how analysts can utilize power bi data preparation, DAX, and dashboards to overcome the technical complexity and make decisions that help the business.</p><p><strong>Messy data include:</strong></p><p>Duplicate customer records</p><p>Inconsistent date formats</p><p>Missing or incorrect values</p><p>Several systems reporting the same measure differently.</p><p>Eg: A sales force would monitor the revenue in Excel, a finance department would utilize an ERP system, and a marketing department would utilize reports out of a CRM, all of which has a different definition of the term sales performance.</p><p>The analyst will fetch all these data from the different source and clean it by removing duplicates, use business rules in a consistent manner and then make analysis and making models using power BI.</p><p><strong>Why Modeling Matters</strong></p><p>With a bad data model, reports are slow and wrong calculations and incorrect dashboards. Star schema modeling is used by analysts to reflect the way that the business is run.</p><p>Table of facts Sales, transactions, incidents.</p><p>Example</p><p>A retail company models contain:</p><p>FactSales (Revenue, Quantity, Discounts)</p><p>DimDate, DimStore, DimProduct</p><p>This will enable executives to cut revenue by time, place, and product in real time without recalculations bence will help the business with faster report performance.</p><p><strong>Numeric to Semantic Conversion with DAX.</strong></p><p>DAX (Data Analysis Expressions) enables business logic to be encoded in calculations by the analysts. This is where unprocessed information is enlightened.</p><p>Analysts answers the following questions using DAX:</p><p>Are we becoming better or getting worse?</p><p>Compared to what?</p><p>Is this good or bad?</p><p>To enhance the analysis consumption by the executive team, its always a good practice for Analyst to create dashboards, that help with the following</p><p>Reduced decision latency</p><p>Clear ownership of actions</p><p>Better operational reaction.</p><p><strong>Power BI analysis is used to alter behavior in an organisation by eg:</strong></p><p>Adjusting pricing strategy</p><p>Redistributing the sales resources.</p><p>Setting data-driven targets</p><p>Measurable Outcomes</p><p>Increased profit margins</p><p>Reduced operational costs</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bca60b39225" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Modelling and Schemas for Data Analysis]]></title>
            <link>https://medium.com/@AllDaySOC/data-modelling-and-schemas-for-data-analysis-5f14db44b577?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f14db44b577</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 20:53:20 GMT</pubDate>
            <atom:updated>2026-02-04T20:53:20.634Z</atom:updated>
            <content:encoded><![CDATA[<p>What Data Modelling is in Power BI?<br>Structuring data is the process of data modelling, which provides data in an easy to analyze and performance to query and reliable format to report. Under Power BI, this occurs after loading and transformation of data where tables are linked together by relationships to create a semantic model.</p><p><strong>Schemas in Data Modelling.</strong><br>A schema is a methodology determining the way tables are structured and inter-relationships. The star schema and the snowflake schema are the two most frequently used schemas of Power BI.</p><p><strong>Table Explained of Fact and Dimension.</strong><br>The quantitative data that you wish to analyze which may be sales amount, quantity sold, or revenue are stored in fact tables. They tend to be huge and have foreign keys which connect to dimension tables.<br>Dimension tables give descriptive information like customers, products, dates or locations. Smaller and applied in filtering and grouping data.</p><p><strong>Star Schema in Power BI</strong><br>The star schema is a type of schema where there is a central table (that is the fact table) which is related to several dimension tables. The dimension tables have no relationships.<br>Power BI will be optimized to work with star schema as it will give better performance, simplified calculation in DAX, and controlled behavior of filter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*agpENcPn9hwFiHL2TaK0tg.png" /></figure><p><strong>Snowflake Schema in Power BI</strong><br>A snowflake schema is a variant of a star schema, which normalizes dimension tables and puts them into further related tables. Although this may help in eliminating redundancy, it normally causes complexity and performance issues in Power BI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cakkRg7G9AvxZ3ht3CYQtQ.png" /></figure><p><strong>Relationships in Power BI<br></strong>Relationships determine the interaction of tables. Best practices involve the one-to-many relationships, single-directional filtering, and many-to-many relationships should only be used when there is necessity to do so.<br>The reason why good data modelling is very important.<br>Proper data modelling enhances better performance, proper reporting, simpler calculations of DAX and better user experience. There are numerous reporting problems that arise due to the poor modelling instead of wrong calculations.</p><p><strong>Best Practices of Power BI Data Modelling.<br></strong>Whenever available use star schema.<br>Individual fact and dimension tables.<br>Remove unnecessary columns<br>Clear and meaningful names should be used.<br>Do not have two-way relationships.<br>Use prefer measures instead of calculated columns.</p><p>Thank you and Enjoy!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f14db44b577" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exporting Wazuh Dashboard]]></title>
            <link>https://medium.com/@AllDaySOC/exporting-wazuh-dashboard-20de7af5e39a?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/20de7af5e39a</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 15:38:12 GMT</pubDate>
            <atom:updated>2026-01-28T15:38:12.744Z</atom:updated>
            <content:encoded><![CDATA[<p>There are some instances that might require you to export Wazuh dashboards, including: <br><strong>System migration or rebuilds</strong> (move to new server / reinstall Wazuh)</p><p><strong>Test, and production consistency</strong> (reuse the same dashboards)</p><p><strong>Sharing with teams or clients</strong> (SOC handover)</p><p><strong>Audits and compliance</strong> (ISO, PCI, internal reviews)</p><p><strong>Backup and disaster recovery</strong> (protect custom dashboards)</p><p><strong>Before upgrades</strong> (avoid losing dashboards during major updates)</p><p><strong>Standardising SOC views</strong> (same monitoring across environments)</p><p>Here is how we export dashboards on Wazuh.</p><p>1. Click on the menu icon (1), scroll down to Dashboard Management module (2) and click the Dashboard Management option(3) (This expands dashboard management).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*Ue9evs3Xi2GbbqQ3PYv1kQ.png" /></figure><p>2. Click on the Saved Objects (2) Click the type drop down section (3), click on dashboard (4) Select all the desired dashboards and export them (5)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6mi5mDhdAg8Xojm3KasSg.png" /></figure><p>Well that’s all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20de7af5e39a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ACID Compliance]]></title>
            <link>https://medium.com/@AllDaySOC/acid-compliance-e7c2ac5743b6?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7c2ac5743b6</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 05:30:50 GMT</pubDate>
            <atom:updated>2026-01-28T05:30:50.290Z</atom:updated>
            <content:encoded><![CDATA[<p>A structured database system is an electronic data storage that stores data in tables which has rows and columns. In this article we will familiarize with one of the benefits of using structured database system and that is they are ACID Compliance which is key for transaction data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kUQnP9-IT1NhFUBb-4sMhQ.png" /></figure><p>ACID is an abbreviation for Atomicity, Consistency, Isolation and Durability.</p><p><strong>1. Atomicity “All or nothing”</strong></p><p>This sates that a transaction must either:</p><ul><li><strong>Fully succeed</strong>, or</li><li><strong>Fully fail</strong></li></ul><p>No partial updates, this helps reduce data noise on the database, such that all the data available are from successful transactions.</p><p><strong>2. Consistency “Rules are always followed”</strong></p><p>Consistency states that a transaction must move the database from one valid state to another. If a rule is triggered in the system(Broken) the transaction fails. These rules are defined in 3 levels in database schema, database logic and pipeline layer.</p><p>Eg: You cannot withdraw money beyond a certain limit or you cant withdraw cash from fixed account.</p><p><strong>3. Isolation “Transactions don’t interfere”</strong></p><p>Multiple transactions can run at the same time without affecting/interfering each other.</p><p>Eg Two different accounts can withdraw from the same USSD independently that is none of them will see the other individuals unfinished transaction.</p><p>4. <strong>Durability “Once committed, it stays”</strong></p><p>This means that after a transaction is committed, the data is permanently stored. This helps during fraud investigation, all the finshed transactions are permanently stored.</p><p>From this I wondered how to determine if a database is ACID, among the suggested options is checking on the storage engine of the database<br>Here is a sample table of the well known databases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRq5AXcUN0e1A5SHCHGnZA.png" /></figure><p>Thank you and Enjoy !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7c2ac5743b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Onboarding VMware ESXi into Wazuh]]></title>
            <link>https://medium.com/@AllDaySOC/onboarding-vmware-esxi-into-wazuh-1881f2d2b330?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1881f2d2b330</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 10:50:18 GMT</pubDate>
            <atom:updated>2026-01-27T10:50:18.764Z</atom:updated>
            <content:encoded><![CDATA[<p>This is an alternative to the suggested methodology from Wazuh documentation. Rather than setting up an endpoint (connector) to receive logs from the ESXi server and then forwarding them to the Wazuh Manager, this method sends logs directly from VMware ESXi to the Wazuh Manager using syslog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nb7Q3N4Wy3zy-86cwdzW7g.png" /></figure><ol><li>We will first enable TCP and UDP on the rsyslog configuration file (/etc/rsyslog.conf) on Wazuh server. Checkout my article here:<a href="https://medium.com/@AllDaySOC/rsyslog-logs-on-wazuh-96b28b8c5c8b">https://medium.com/@AllDaySOC/rsyslog-logs-on-wazuh-96b28b8c5c8b</a></li><li>Log in to the VMware ESXi endpoint using SSH and run the command below to configure the ESXi to send syslog to the Wazuh agent installed on the Ubuntu endpoint:</li></ol><blockquote>esxcli system syslog config set — loghost=udp://&lt;UBUNTU_IP&gt;:514</blockquote><p>Replace &lt;UBUNTU_IP&gt; with the IP address of the Ubuntu endpoint.</p><p>3. Configure VMware ESXi firewall ruleset to allow syslog to forward security events. This is because syslog traffic is disabled by default:</p><blockquote>esxcli network firewall ruleset set — ruleset-id=syslog — enabled=true esxcli network firewall refresh</blockquote><p>4. Reload VMware ESXi syslog service for the changes to take effect:</p><blockquote>esxcli system syslog reload</blockquote><p>5. Now lets check if it was a success:</p><blockquote>esxcli system syslog config get</blockquote><p>You should get the output below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*bDg1QFesZoYPdCe6NHViEw.png" /></figure><p>Having confirmed that the connection has been established, check for VMware logs on syslog file on Wazuh manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3wtjCrIeHZiBuD1WrCqnQ.png" /></figure><p>To get the logs on the dashboard, we need to create decoders and rules, click on the menu icon and scroll down to server management, add rules and decoders accordingly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*X_H-w0HF1yWi3UC5xFNjzA.png" /></figure><p>Here is what worked for me:<br>Decoders:</p><blockquote>&lt;decoder name=”vmware-Hostd”&gt;</blockquote><blockquote>&lt;program_name&gt;Hostd&lt;/program_name&gt;</blockquote><blockquote>&lt;/decoder&gt;</blockquote><blockquote>&lt;decoder name=”vmware-Hostd_child”&gt;</blockquote><blockquote>&lt;parent&gt;vmware-Hostd&lt;/parent&gt;</blockquote><blockquote>&lt;regex&gt;^(\.+) (\.+)&lt;/regex&gt;</blockquote><blockquote>&lt;order&gt;info, verbose, warning&lt;/order&gt;</blockquote><blockquote>&lt;/decoder&gt;</blockquote><p>Rules:</p><blockquote>&lt;group name=”vmware,vmware_esxi,hostd,”&gt;</blockquote><blockquote>&lt;rule id=”100104&quot; level=”5&quot;&gt;<br> &lt;if_sid&gt;100100&lt;/if_sid&gt;<br> &lt;description&gt;VMware ESXi logs.&lt;/description&gt;<br> &lt;/rule&gt;</blockquote><blockquote>&lt;/group&gt;</blockquote><p>Enjoy!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1881f2d2b330" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wazuh Agent Configuration for Sysmon Integration]]></title>
            <link>https://medium.com/@AllDaySOC/wazuh-agent-configuration-for-sysmon-integration-1bce979d1328?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bce979d1328</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 13:13:26 GMT</pubDate>
            <atom:updated>2026-01-26T13:13:26.192Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oVUpLfK_4WI_iF7qQtkhJA.png" /></figure><p><strong>What This Article Addresses</strong></p><ul><li><strong>Scalability challenges</strong> in deploying Wazuh agents across a large number of endpoints</li><li><strong>Operational constraints</strong> that made one-on-one workstation installation impractical</li><li><strong>Mandatory Sysmon integration</strong> as a security requirement</li></ul><p>This approach presents an alternative method for configuring Wazuh agents to integrate with Sysmon which were both installed via GPO(refer to my article here).</p><p>We begin by editing the agent.conf file. Log in to Wazuh as an Administrator and click on the menu icon, <strong>Agents Management&gt;Groups</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*2VvwAmGrn-X5J2f7r1xsog.png" /></figure><p>Click on the <strong>edit icon</strong> that’s under <strong>Actions</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p8j6vSDQnMpRFb3Jh0YwJA.png" /></figure><p>The file should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*lsVGJ8vFzqWGtHuTOazJ4A.png" /></figure><p>Edit the <strong>agent.conf </strong>file by adding the line below and save:</p><blockquote>&lt;localfile&gt;<br> &lt;location&gt;Microsoft-Windows-Sysmon/Operational&lt;/location&gt;<br> &lt;log_format&gt;eventchannel&lt;/log_format&gt;<br> &lt;/localfile&gt;<br> &lt;/agent_config&gt;</blockquote><p>We will get wazuh installer from a script that’s generated on Wazuh UI<br>On the menu bar, click on wazuh to get the available module and click <strong>Home &gt;Overview</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*5TEViLuvVBsBfZA7WiyNDA.png" /></figure><p>Click on <strong>Agent Summary</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*vETZQghj-3Xr247mhllf7A.png" /></figure><p>Click on <strong>Deploy new agent</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_QjuDjxIxRWiIfxGL1seg.png" /></figure><p>Fill in the required fields and copy the script for the agent installation and follow the instructions given.</p><p>Next for sysmon installation, check out this article: <a href="https://medium.com/@AllDaySOC/sysinternals-sysmon-2acd8411b68f">https://medium.com/@AllDaySOC/sysinternals-sysmon-2acd8411b68f</a></p><p>I hope this was helpful</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bce979d1328" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Commands Basics]]></title>
            <link>https://medium.com/@AllDaySOC/linux-commands-basics-21cbd558aa3f?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/21cbd558aa3f</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 19:03:24 GMT</pubDate>
            <atom:updated>2026-01-25T19:04:20.372Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we will cover Linux basic commands, which will help in navigating through linux operating system with ease. Linux is an operating system and has over 600 distributions, the image below shows the common distros:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*oeawI1T45684ckwreK0F7Q.png" /></figure><p>Now lets dive deep into basic commands for linux environment navigation.<br>1. Checking the resources available to determine if it will accommodate the software we intend to install. We use:</p><blockquote>df -h</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*d2JhCCEsVOIlrjmWnLCcXQ.png" /></figure><p>2. Creating a user account will help in Accountability &amp; access control. Here is how:</p><blockquote>sudo useradd username</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*4gSdq7OU4BA69wdrWlmLKQ.png" /></figure><p>Set a password for the user:</p><blockquote>sudo passwd username</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*GqGa55wUdZlh5b_r6sf3Zg.png" /></figure><p>Create user and add to a specific group:</p><blockquote>sudo useradd -m -G groupname username</blockquote><p>Check user details:</p><blockquote>id username</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*sqY02eRr15DUUXit6sQVsA.png" /></figure><p>Why does creating individual accounts matter?</p><p>Each action is traceable to a specific user</p><p>Limits privilege misuse</p><p>Supports auditing and compliance</p><p>3. Making a folder (directory)</p><p>Create a directory:</p><blockquote>mkdir foldername</blockquote><p>Create multiple directories at once:</p><blockquote>mkdir folder1 folder2 folder3</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*J5j_p9T4Z8a8WVdH89ucIQ.png" /></figure><p>Create nested directories ie directory inside a directory:</p><blockquote>mkdir -p parent/child/grandchild</blockquote><p>4. Manipulating a file</p><p>Create a file</p><blockquote>touch file.txt</blockquote><p>View file contents</p><blockquote>cat file.txt<br>less file.txt</blockquote><p>Edit a file using the available editors which are nano and vim editor</p><blockquote>nano file.txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*uWdaz6yUUnsf_w5n-H2XZg.png" /></figure><p>or</p><blockquote>vi file.txt</blockquote><p>Copy a file this leaves a copy of the initial file its like creating a backup of a file</p><blockquote>cp file.txt newfile.txt</blockquote><p>Move or rename a file, this permanently moves a files content without leaving a copy.</p><blockquote>mv file.txt renamed.txt</blockquote><p>Delete a file</p><blockquote>rm file.txt</blockquote><p>Change file ownership</p><blockquote>sudo chown user:group file.txt</blockquote><p>5. Login and logout</p><p>Switch to another user</p><blockquote>su username</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*n2XiEvrjePMnV3UINNeh8A.png" /></figure><p>Login as root</p><blockquote>sudo su -</blockquote><p>Logout from a session</p><blockquote>exit</blockquote><p>Learn more from the free linux courses available online. Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21cbd558aa3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connecting Git to Github]]></title>
            <link>https://medium.com/@AllDaySOC/connecting-git-to-github-e970d310bcc8?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e970d310bcc8</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 13:21:27 GMT</pubDate>
            <atom:updated>2026-01-16T13:21:27.321Z</atom:updated>
            <content:encoded><![CDATA[<p>Now that we have an undestanding of what Git is, lets set it up and connect it to Github to ensure that we make changes direct from our command line interface to our Github.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*FW2NyAUng7WfJl2ZwXZGMQ.png" /></figure><ol><li>Set username and email address<br>Git uses name and email to identify the user. Note that you can use any username not necessarily what you have used on GitHub, but for the email use the email address that you used to set up the GitHub account. We use the following commands:</li></ol><blockquote>git config — global user.name “qt-d”<br>git config — global user.email “qt-d@gmail.com”<br>git config — global — list</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_fS9H28KWjWrvEaOGiS1Sg.png" /></figure><p>2. Generate ssh key to connect to GitHub</p><blockquote>ssh-keygen -t ed25519 -C “qt-d@gmail.com”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*waK-bucSBV4I1J9-oZ4FNw.png" /></figure><p>3. Lets now check if the profile has been created:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_VKbOcfTSvnkeMkLglg6Uw.png" /></figure><p>3. Lets add the private key we generated into the running <strong>ssh-agent</strong> (authentication agent).</p><blockquote>ssh-add ~/.ssh/id_ed25519</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*6Otw7tjoPealfYK6suzJ4w.png" /></figure><p>4. Lets check which ssh git is using:</p><blockquote>which ssh</blockquote><p>(Mine was using the git ssh, instead of the newly generated ssh key)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rtzb2M_7njyFaGnnpcTrwQ.png" /></figure><p>5. Now lets force windows to use the ssh key generated by attaching the Windows OpenSSH path in your Git Bash profile.</p><blockquote>nano ~/.bashrc</blockquote><p>add this line</p><blockquote>export PATH=”/c/Windows/System32/OpenSSH:$PATH”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rSaghpQGOO1NssgrOHlhJw.png" /></figure><p>5. Save and reload</p><blockquote>source ~/.bashrc</blockquote><p>6. Lets verify the changes</p><blockquote>which ssh</blockquote><p>Should now output something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*87vDcs1eLwuJ2BTQzr7Otg.png" /></figure><p>7. Now lets get the ssh key we generated, copy that key</p><blockquote>cat ~/.ssh/id_ed25519.pub</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*j8CwSA5TWgV0LquLKudjUw.png" /></figure><p>Now we are taking the final steps of attaching the SSH key to Github to establish a connection.</p><p>1. Login to your Github and click on the profile image</p><p>2. Scroll down and click on settings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*UrSnB80Jr1sSwaj_OPOm7w.png" /></figure><p>3. Check for the SSH and GPG keys part and add new SSH Key</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XU8dEhT90bwaFUd9a7EUOQ.png" /></figure><p>4. Paste the key and save the changes<br>5. Now lets check for the available sessions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*h5T6tcZzCvMpa7HkrqbGlw.png" /></figure><p>6. If it was successful you will se an active connection as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sjfPnX93kpxSbfvxQ76JWw.png" /></figure><p>Enjoy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e970d310bcc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GIT and GitHub]]></title>
            <link>https://medium.com/@AllDaySOC/git-and-github-7cfa738a551a?source=rss-6cb2199eacc0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cfa738a551a</guid>
            <dc:creator><![CDATA[QT]]></dc:creator>
            <pubDate>Wed, 14 Jan 2026 12:51:14 GMT</pubDate>
            <atom:updated>2026-01-14T12:51:14.557Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever come across these two terms and wondered what the difference is? Lets try to understand them together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96oqjSXxloqamZEWF7Zz8w.jpeg" /></figure><p>Git is an application that comes installed in mac and linux. On windows you get an installer and make the installation.<br>Git is simply a memory, it is used by developers to save changes on codes. With this incase you mess up with the code its possible to revert back to the initial code. <br>Well the files or changes are not saved automatically, you will need a terminal/command line interface, git has a terminal called gitbash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*Yd24eRON5baXvvd31-Da_Q.png" /></figure><p>Github is a website, which can be accessed world wide. This is a platform that is used by developers to post their work and to get codes from other developers. in short its a community platform for developers.</p><p>When you save code in your local laptop you push the code from git to Github hence other people can access and use it. If you want to get other developers work you pull the code from github.</p><h4><strong>Here are some commands for simple operations on git:</strong></h4><p><strong>git init </strong><em>initialize a project to use git</em><br><strong>git add . </strong><em>adds and saves all changes</em></p><p><strong>git add (filename) </strong><em>adds and saves one file</em></p><p><strong>git push origin master </strong>push changes to github master</p><p><strong>git pull origin master </strong><em>pulls changes from github master</em></p><p><strong>git status </strong><em>check status of changes</em></p><p><strong>git log </strong><em>see all previous saved changes</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cfa738a551a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>