<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Commands on My Personal Project</title>
    <link>https://home.nokokos.com/commands/</link>
    <description>Recent content in Commands on My Personal Project</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 04 May 2026 17:47:25 +0200</lastBuildDate>
    <atom:link href="https://home.nokokos.com/commands/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>cat</title>
      <link>https://home.nokokos.com/commands/cat/</link>
      <pubDate>Mon, 04 May 2026 17:39:15 +0200</pubDate>
      <guid>https://home.nokokos.com/commands/cat/</guid>
      <description>&lt;p&gt;Command for various file operations:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Viewing file content&lt;/li&gt;&#xA;&lt;li&gt;Combining multiple files&lt;/li&gt;&#xA;&lt;li&gt;Using useful options:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;-n: to show line numbers&lt;/li&gt;&#xA;&lt;li&gt;-E: to highlight end-of-line ( this will show $ in the end of line)&lt;/li&gt;&#xA;&lt;li&gt;-A: to show all non printed characters (equivalent to -vET)&lt;/li&gt;&#xA;&lt;li&gt;-b: to number non-blank output lines&lt;/li&gt;&#xA;&lt;li&gt;-s: to suppress repeated empty output lines&lt;/li&gt;&#xA;&lt;li&gt;-T: to display TAB characters as ^|&lt;/li&gt;&#xA;&lt;li&gt;-v: Use ^ and M- notation, except for LFD and TAB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;syntax-of-cat-command&#34;&gt;Syntax of cat command&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cat [options] filename&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;create-a-new-file-and-add-content&#34;&gt;Create a new file and add content&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cat &amp;gt; filename&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;type content&lt;/li&gt;&#xA;&lt;li&gt;press ctrl+D to save and exit&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;copy-or-merge-file-contens&#34;&gt;Copy or merge file contens&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cat file1 file2 &amp;gt; merged_file&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;open-files-whose-names-start-with-dash--&#34;&gt;Open files whose names start with dash (-)&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cat -- filename&#xA;&#xA;example:&#xA;&#xA;cat -- -list.txt&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>cp</title>
      <link>https://home.nokokos.com/commands/cp/</link>
      <pubDate>Thu, 26 Feb 2026 12:03:01 +0100</pubDate>
      <guid>https://home.nokokos.com/commands/cp/</guid>
      <description>&lt;p&gt;Copy command in Linux is used to duplicate files or directories from one location to another within the file system. It supports copying single files, multiple files, and entire directories, with options to control overwriting and attribute preservation.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Copy data from one file to another&lt;/li&gt;&#xA;&lt;li&gt;Copy multiple files into a directory&lt;/li&gt;&#xA;&lt;li&gt;Recursively copy directories and subdirectories&lt;/li&gt;&#xA;&lt;li&gt;Overwrite existing files by default&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;syntax&#34;&gt;Syntax&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cp [options] &amp;lt;source&amp;gt; &amp;lt;destination&amp;gt;&#xA;cp [options] &amp;lt;source1&amp;gt; &amp;lt;source2&amp;gt; &amp;lt;destination_directory&amp;gt;&#xA;--------------------------------------------------------------&#xA;cp: invokes the copy command&#xA;[options]: optional flags that modify the behavior (e.g., -i, -f, -r, -p)&#xA;&amp;lt;source&amp;gt;: the file or directory to be copied&#xA;&amp;lt;source1&amp;gt; &amp;lt;source2&amp;gt; ...: allows specifying multiple source files&#xA;&amp;lt;destination&amp;gt;: target file or directory&#xA;&amp;lt;destination_directory&amp;gt;: if copying multiple files, the destination must be a directory&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;copy-between-two-files&#34;&gt;Copy between two files&lt;/h3&gt;&#xA;&lt;p&gt;When the cp command is provided with two file names, it copies the contents of the source file to the destination file.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ls</title>
      <link>https://home.nokokos.com/commands/ls/</link>
      <pubDate>Thu, 26 Feb 2026 12:03:01 +0100</pubDate>
      <guid>https://home.nokokos.com/commands/ls/</guid>
      <description>&lt;p&gt;test test a zase jen test&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
