<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Bit_Operationen_mit_der_Bash</id>
	<title>Bit Operationen mit der Bash - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Bit_Operationen_mit_der_Bash"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Bit_Operationen_mit_der_Bash&amp;action=history"/>
	<updated>2026-05-15T06:09:05Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Bit_Operationen_mit_der_Bash&amp;diff=45870&amp;oldid=prev</id>
		<title>Thomas.will am 8. Juni 2023 um 05:16 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Bit_Operationen_mit_der_Bash&amp;diff=45870&amp;oldid=prev"/>
		<updated>2023-06-08T05:16:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 8. Juni 2023, 05:16 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=Worum geht es?=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Bit-Operationen in Bash ermöglichen die Manipulation von Binärdaten auf Bit-Ebene und bieten eine leistungsstarke Möglichkeit, komplexe Berechnungen und Logik durchzuführen.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Mit Bit-Operatoren wie Bitweises UND, ODER, XOR, NOT sowie Links- und Rechtsverschiebung können einzelne Bits in Variablen gelesen, gesetzt oder gelöscht werden.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Bit-Operationen sind besonders nützlich bei der Arbeit mit Netzwerkkommunikation, Maschinensteuerung und Kryptographie, wo die Manipulation von Bit-Mustern eine wichtige Rolle spielt.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Durch das Verständnis der Bit-Operationen in Bash können Skripte effizientere Berechnungen durchführen und komplexe Aufgaben auf einfache Weise lösen, die über die grundlegenden arithmetischen Operationen hinausgehen.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=Beispiele=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-45869:rev-45870 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Bit_Operationen_mit_der_Bash&amp;diff=45869&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „&lt;syntaxhighlight lang=bash&gt; #!/bin/bash  # Bit-Operatoren in Bash  # Bitweises UND (AND) a=5  # Binär: 0101 b=3  # Binär: 0011 result=$((a &amp; b))  # Binär: 0…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Bit_Operationen_mit_der_Bash&amp;diff=45869&amp;oldid=prev"/>
		<updated>2023-06-08T05:14:53Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&amp;lt;syntaxhighlight lang=bash&amp;gt; #!/bin/bash  # Bit-Operatoren in Bash  # Bitweises UND (AND) a=5  # Binär: 0101 b=3  # Binär: 0011 result=$((a &amp;amp; b))  # Binär: 0…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Bit-Operatoren in Bash&lt;br /&gt;
&lt;br /&gt;
# Bitweises UND (AND)&lt;br /&gt;
a=5  # Binär: 0101&lt;br /&gt;
b=3  # Binär: 0011&lt;br /&gt;
result=$((a &amp;amp; b))  # Binär: 0001 (dezimal: 1)&lt;br /&gt;
echo &amp;quot;Bitweises UND: $result&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Bitweises ODER (OR)&lt;br /&gt;
a=5  # Binär: 0101&lt;br /&gt;
b=3  # Binär: 0011&lt;br /&gt;
result=$((a | b)  # Binär: 0111 (dezimal: 7)&lt;br /&gt;
echo &amp;quot;Bitweises ODER: $result&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Bitweises XOR (Exklusives ODER)&lt;br /&gt;
a=5  # Binär: 0101&lt;br /&gt;
b=3  # Binär: 0011&lt;br /&gt;
result=$((a ^ b))  # Binär: 0110 (dezimal: 6)&lt;br /&gt;
echo &amp;quot;Bitweises XOR: $result&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Bitweises NOT (Negation)&lt;br /&gt;
a=5  # Binär: 0101&lt;br /&gt;
result=$((~a))  # Binär: 1010 (dezimal: -6)&lt;br /&gt;
echo &amp;quot;Bitweises NOT: $result&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Linksverschiebung (Shift nach links)&lt;br /&gt;
a=5  # Binär: 0101&lt;br /&gt;
result=$((a &amp;lt;&amp;lt; 2))  # Binär: 10100 (dezimal: 20)&lt;br /&gt;
echo &amp;quot;Linksverschiebung: $result&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Rechtsverschiebung (Shift nach rechts)&lt;br /&gt;
a=5  # Binär: 0101&lt;br /&gt;
result=$((a &amp;gt;&amp;gt; 1))  # Binär: 0010 (dezimal: 2)&lt;br /&gt;
echo &amp;quot;Rechtsverschiebung: $result&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>