<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/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="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com bash</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-06-21T05:59:52+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/bash/case?rev=1708040895&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/examples?rev=1708040895&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/how_to?rev=1533247083&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/quick_reference?rev=1449750950&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/shortcuts?rev=1432756499&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/bash/case?rev=1708040895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:15+02:00</dc:date>
        <title>case</title>
        <link>https://code-reference.com/bash/case?rev=1708040895&amp;do=diff</link>
        <description>case

The case and select constructs are technically not loops, 
since they do not iterate the execution of a code block. Like loops,
however, they direct program flow according to conditions at the top or bottom of the block.

Controlling program flow in a code block

case (in) / esac

The case construct is the shell scripting analog to switch in C/C++. 
It permits branching to one of a number of code blocks, depending on condition tests. 
It serves as a kind of shorthand for multiple if/then/e…</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/examples?rev=1708040895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:15+02:00</dc:date>
        <title>Overview bash examples</title>
        <link>https://code-reference.com/bash/examples?rev=1708040895&amp;do=diff</link>
        <description>Example                 Description              IISscan.sh    IIS Server scanner      smbscan.sh    Samba network scanner</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/how_to?rev=1533247083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-02T23:58:03+02:00</dc:date>
        <title>Overview: bash &quot;How To&quot; snippets</title>
        <link>https://code-reference.com/bash/how_to?rev=1533247083&amp;do=diff</link>
        <description>Example                 Description              bash: &quot;How To&quot; ... utilize string substitutions  string substitutions (replace, extract, ...)  bash: &quot;How To&quot; ... utilize tests  tests (string is in list, string contains substring,  ...)  bash: &quot;How To&quot; ... running commands  run command from variable, check execution result, check if run by root, ...</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/quick_reference?rev=1449750950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-12-10T13:35:50+02:00</dc:date>
        <title>Bash quick reference</title>
        <link>https://code-reference.com/bash/quick_reference?rev=1449750950&amp;do=diff</link>
        <description>Bash quick reference
Command	Description	Example     &amp;	Run the previous command in the background	ls &amp; &amp;&amp;	Logical AND	if [ “$foo” -ge “0” ] &amp;&amp; [ “$foo” -le “9”] ||	Logical OR	if [ “$foo” -lt “0” ] || [ “$foo” -gt “9” ] (not in Bourne shell) ^	Start of line	grep ”^foo” $	End of line	grep “foo$” =	String equality (cf. -eq) if [ “$foo” = “bar” ] !	Logical NOT	if [ “$foo” != “bar” ] $$	PID of current shell	echo “my PID = $$” $!	PID of last background command	ls &amp; echo “PID of ls = $!” $?	exit status…</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/shortcuts?rev=1432756499&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-27T21:54:59+02:00</dc:date>
        <title>Bash Shortcuts</title>
        <link>https://code-reference.com/bash/shortcuts?rev=1432756499&amp;do=diff</link>
        <description>Bash Shortcuts
 shortcut       Description       Ctrl-a 	Move to the start of the line.Ctrl-e 	Move to the end of the line.Ctrl-b 	Move back one character.Alt-b 	Move back one word.Ctrl-f 	Move forward one character.Alt-f 	Move forward one word.Ctrl-] x 	Where x is any character, moves the cursor forward to the next occurance of x.Alt-Ctrl-] x 	Where x is any character, moves the cursor backwards to the previous occurance of x.Ctrl-u 	Delete from the cursor to the beginning of the line.Ctrl-k 	D…</description>
    </item>
</rdf:RDF>
