<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://pa8mm.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://pa8mm.net/feed.php">
        <title>pa8mm.net - linux</title>
        <description></description>
        <link>http://pa8mm.net/</link>
        <image rdf:resource="http://pa8mm.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-07-12T13:27:24+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:bash&amp;rev=1778851856&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:bird&amp;rev=1774643532&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:git&amp;rev=1771008775&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:networking&amp;rev=1774643667&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:net_tshoot&amp;rev=1774643706&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:public_key&amp;rev=1770325224&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:ripgrep&amp;rev=1774010154&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:ssh&amp;rev=1779116872&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:text&amp;rev=1779264104&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:tls&amp;rev=1772803093&amp;do=diff"/>
                <rdf:li rdf:resource="http://pa8mm.net/doku.php?id=linux:users&amp;rev=1774643775&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://pa8mm.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>pa8mm.net</title>
        <link>http://pa8mm.net/</link>
        <url>http://pa8mm.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:bash&amp;rev=1778851856&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-15T13:30:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>http://pa8mm.net/doku.php?id=linux:bash&amp;rev=1778851856&amp;do=diff</link>
        <description>BASH

WILDCARD METACHARACTERS &amp; EXPANSION

The shell expands special characters (globs/wildcards) before passing arguments to commands. This is called pathname expansion (or globbing).

Core wildcards:

	*  * - zero or more characters. Example: ls *.jpg</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:bird&amp;rev=1774643532&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-27T20:32:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bird</title>
        <link>http://pa8mm.net/doku.php?id=linux:bird&amp;rev=1774643532&amp;do=diff</link>
        <description>BIRD

CONFIGURATION

/etc/bird.conf


include &quot;/etc/bird.d/*.conf&quot;;

protocol direct direct1 {
    interface &quot;lo&quot;;
        debug all;
        export none;
        import where net ~ MY_NETWORKS;  # from the protocol to the RIB
}

protocol bgp NORTH {
        disabled no;
        description &quot;North peer&quot;;
        neighbor fd00::1 as 65000;
        source address fd00::2;
        import all;
        export none;   # From the routing table to protocol
        direct;
        next hop self;
        …</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:git&amp;rev=1771008775&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-13T18:52:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>git</title>
        <link>http://pa8mm.net/doku.php?id=linux:git&amp;rev=1771008775&amp;do=diff</link>
        <description>GIT

CHECK OUT REMOTE BRANCH


git switch --track origin/branch-name // 1. Creates a new local branch called branch-name
                                      // 2. Set its upstream to origin/branch-name (the remote branch)
                                      // 3. Move your working directory to that branch</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:networking&amp;rev=1774643667&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-27T20:34:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>networking</title>
        <link>http://pa8mm.net/doku.php?id=linux:networking&amp;rev=1774643667&amp;do=diff</link>
        <description>IP FORWARDING


sysctl net.ipv4.ip_forward # check if enabled
sysctl -w net.ipv4.ip_forward=1 # turning on
echo &quot;net.ipv4.ip_forward = 1&quot; &gt;&gt; /etc/sysctl.conf


SCP


$ scp username@remotehost:file_name.txt /local/directory     # from remote to local
$ scp file_name.txt username@remotehost:/remote/directory    # from local to remote
$ scp -r dir_name username@remotehost:/remote/directory      # copy the local directory &quot;dir_name&quot; to
                                                             # r…</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:net_tshoot&amp;rev=1774643706&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-27T20:35:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>net_tshoot</title>
        <link>http://pa8mm.net/doku.php?id=linux:net_tshoot&amp;rev=1774643706&amp;do=diff</link>
        <description>NETWORKING TROUBLESHOOTING

Excellent article: Troubleshooting

One more article: Mellanox

GENERIC

Show NIC type:


$ lspci | grep net
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)


Show generic information about NIC (supported modes, current speed/duplex</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:public_key&amp;rev=1770325224&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-05T21:00:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>public_key</title>
        <link>http://pa8mm.net/doku.php?id=linux:public_key&amp;rev=1770325224&amp;do=diff</link>
        <description>PUBLIC KEY AUTHENTICATION FOR SSH

OVERVIEW

SSH keeys come in pairs:

	*  .ssh/id_rsa - private key
	*  .ssh/id_rsa.pub - public key

Public key should be copied to servers into ~/.ssh/authorized_keys (it let&#039;s the server authenticate the user).

During the client authentication, the client will use its private key, and it will be verified by the public key stored in</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:ripgrep&amp;rev=1774010154&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-20T12:35:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ripgrep</title>
        <link>http://pa8mm.net/doku.php?id=linux:ripgrep&amp;rev=1774010154&amp;do=diff</link>
        <description>RipGrep

Glob

--glob parameter controls which files and directories are included or excluded from the search.


rg &quot;pattern&quot; --glob &#039;!**/*.yaml&#039;    # ! - exclude
                                    # **/ - matches any directory depth
                                    # *.yaml - any files ending with .yaml</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:ssh&amp;rev=1779116872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-18T15:07:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssh</title>
        <link>http://pa8mm.net/doku.php?id=linux:ssh&amp;rev=1779116872&amp;do=diff</link>
        <description>SSH

PUBLIC KEY AUTHENTICATION

SSH AGENT

ssh-agent is a background process that holds your decrypted private keys in memory so you don&#039;t have to type the passphrase every time you SSH somewhere. Private SSH keys should be encrypted on disk with a passphrase. Without an agent, every ssh, git pull, scp etc. would prompt you to type that passphrase to decrypt the key.</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:text&amp;rev=1779264104&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-20T08:01:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>text</title>
        <link>http://pa8mm.net/doku.php?id=linux:text&amp;rev=1779264104&amp;do=diff</link>
        <description>WORKING WITH TEXT IN LINUX

TR

tr (translate) is a stream filter that operates on single characters, not patterns or words. It reads stdin and writes stdout, transforming one character at a time.

SQUEEZE

Squeeze (-s) collapse repeats:


tr -s &#039; &#039;              # multiple spaces → single space
tr -s &#039;\n&#039;             # collapse blank lines
tr -s &#039; &#039; &#039;,&#039;          # squeeze spaces AND translate to comma (combined)</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:tls&amp;rev=1772803093&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-06T13:18:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tls</title>
        <link>http://pa8mm.net/doku.php?id=linux:tls&amp;rev=1772803093&amp;do=diff</link>
        <description>TLS

ВВЕДЕНИЕ

В TLS используются два типа ключей - public и private.

private ключ всегда остается у владельца и не разглашается.

KEYS

	*  Certificate (Public Key): *.crt, *.pem</description>
    </item>
    <item rdf:about="http://pa8mm.net/doku.php?id=linux:users&amp;rev=1774643775&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-27T20:36:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>users</title>
        <link>http://pa8mm.net/doku.php?id=linux:users&amp;rev=1774643775&amp;do=diff</link>
        <description>MANAGING USERS

CHANGING IDENTITIES

There are two option to take on the identity of another user:

	*  su - start the shell as another user or issue a single command as that user
	*  sudo - allows a user to execute commands as a different user (usually the root). Config file</description>
    </item>
</rdf:RDF>
