<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Jann H.'s blog - Linux-Shell</title>
    <link>http://blog.bekaan.net/</link>
    <description></description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    <pubDate>Sat, 20 Sep 2008 13:06:18 GMT</pubDate>

    <image>
        <url>http://blog.bekaan.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Jann H.'s blog - Linux-Shell - </title>
        <link>http://blog.bekaan.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>htaccess-Passwortschutz</title>
    <link>http://blog.bekaan.net/archives/93-htaccess-Passwortschutz.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/93-htaccess-Passwortschutz.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=93</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=93</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;p&gt;Da ich den Pfad zu dem Programm immer wieder vergesse schreibe ich ihn mir hier mal auf &lt;img src=&quot;http://blog.bekaan.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;&lt;p&gt;Außerdem kann er ggf. ja auch für einen der Leser interessant sein.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Bei mir lautet der Pfad zu htpasswd &amp;quot;/srv/apache2/bin/htpasswd&amp;quot;. Es werden 2 Parameter erwartet. Der erste ist der Pfad zur .htuser-Datei, die die user und deren Passwörter listet. Der zweite Parameter ist der Name des users, der neue angelegt werden soll.&lt;/p&gt;&lt;p&gt;Anschließend wird das Passwort 2x eingegeben. So bleibt es aber nicht in den log-files stehen!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Beispiel:&lt;/p&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;i&gt;/srv/apache2/bin/htpasswd /htdocs/pfad/zur/.htusers username&lt;/i&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 20 Sep 2008 15:06:18 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/93-guid.html</guid>
    <category>Linux</category>
<category>Shell</category>
<category>Sicherheit</category>

</item>
<item>
    <title>head, tail und ???</title>
    <link>http://blog.bekaan.net/archives/87-head,-tail-und.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/87-head,-tail-und.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;p&gt;Jeder Linux-user kennt head und tail. Was aber, wenn man genau das Mittelstück haben möchte?&lt;/p&gt;&lt;p&gt;Im Prinzip ganz einfach - man muss nur die beiden Funktionen miteinander vermengen.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;So sieht es dann zB aus:&lt;/p&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://blog.bekaan.net/archives/87-head,-tail-und.html#extended&quot;&gt;&quot;head, tail und ???&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 16 Jun 2008 14:59:58 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/87-guid.html</guid>
    <category>Shell</category>

</item>
<item>
    <title>set -x</title>
    <link>http://blog.bekaan.net/archives/85-set-x.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/85-set-x.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=85</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=85</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;p&gt;Wenn man selbst Shell-Skripte entwickelt und viel mit Variablen arbeitet fragt man sich manchmal, was das Skript da eigentlich macht.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Beim debuggen ist es dann hilfreich, wenn man sich die Variablen durch deren Inhalt ersetzt anschauen kann. Ein: &lt;/p&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;br /&gt;
set -x&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;
hilft da extrem! 
    </content:encoded>

    <pubDate>Mon, 16 Jun 2008 14:58:45 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/85-guid.html</guid>
    <category>Shell</category>

</item>
<item>
    <title>ifconfig</title>
    <link>http://blog.bekaan.net/archives/84-ifconfig.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/84-ifconfig.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=84</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=84</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;Ich hatte die gute Idee die weiteren IPs meines Servers auch zu nutzen. Dort habe ich 4 IPs zur Verfügung und da man pro IP natürlich den port 80 nur einmal nutzen kann ist das schon recht vorteilhaft.&lt;/p&gt;&lt;p&gt;Also habe ich mittels:&lt;/p&gt;&lt;pre class=&quot;wiki&quot;&gt;ifconfig eth0:1 89.238.64.67 up&lt;/pre&gt;&lt;p&gt;die nächste IP eingebunden - ähnliches auch für die anderen beiden IPs.&lt;/p&gt;&lt;p /&gt;&lt;p&gt;Natürlich habe dann in einer weiteren chroot einen apachen auf diese IP eingestellt. Ich habe das ganze dann getestet und war zufrieden, weil es auf anhieb funktionierte.&lt;/p&gt;&lt;p /&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.bekaan.net/archives/84-ifconfig.html#extended&quot;&gt;&quot;ifconfig&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 16 Jun 2008 14:58:29 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/84-guid.html</guid>
    
</item>
<item>
    <title>lastlog</title>
    <link>http://blog.bekaan.net/archives/83-lastlog.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/83-lastlog.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=83</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=83</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;p&gt;wenn man sehen will, wer sich über SSH zuletzt eingeloggt hat hilft das hier:&lt;/p&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;lastlog&lt;/font&gt;&lt;/p&gt;&lt;p&gt;und schon hat man eine feine Übersicht über die letzten logins der user.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 16 Jun 2008 14:58:14 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/83-guid.html</guid>
    <category>Shell</category>

</item>
<item>
    <title>wie vi die Farben lernt..</title>
    <link>http://blog.bekaan.net/archives/56-wie-vi-die-Farben-lernt...html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/56-wie-vi-die-Farben-lernt...html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=56</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=56</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;Ich hatte die Tage &lt;a href=&quot;http://svenschmalle.de&quot;&gt;Sven&lt;/a&gt; via screen-session auf meinem Server. Eines der ersten Sachen, die ihn nervten war, dass vi kein syntaxhighlight konnte.&lt;/p&gt;&lt;p&gt;Er hat mir dann verarten, wie es geht.&lt;/p&gt;&lt;p&gt;Einfach in der &lt;b&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/vim/vimrc&lt;/font&gt;&lt;/b&gt; das Kommentarzeichen in der Zeile entfernen, damit nun  &lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;b&gt;syntax on&lt;/b&gt;&lt;/font&gt; nicht mehr kommentiert ist. Nun habe ich vi auch in bunt.&lt;/p&gt;&lt;p&gt;Danke @&lt;a href=&quot;http://svenschmalle.de&quot;&gt;Sven&lt;/a&gt;!&lt;br /&gt;
&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 07 Apr 2008 09:43:51 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/56-guid.html</guid>
    <category>PC</category>
<category>Shell</category>
<category>Software</category>
<category>Technik</category>

</item>
<item>
    <title>Verzeichnisse mit einem bestimmten Namen rekursiv löschen</title>
    <link>http://blog.bekaan.net/archives/44-Verzeichnisse-mit-einem-bestimmten-Namen-rekursiv-loeschen.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/44-Verzeichnisse-mit-einem-bestimmten-Namen-rekursiv-loeschen.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=44</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;p&gt;&lt;br /&gt;
um Verzeichnisse mit einem bestimmten Namen rekursiv zu löschen:&lt;br /&gt;
&lt;/p&gt;&lt;br /&gt;
&lt;pre class=&quot;wiki&quot;&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;find . -type d -name .svn -exec rm -rf {} \;&lt;/font&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;
Somit würden alle Verzeichnisse mit dem Namen &lt;i&gt;.svn&lt;/i&gt; gelöscht.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Ich benötige das immer wieder mal, wenn ich ein svn-Projekt via ftp hochgeladen habe und dann die svn-Dateien dabei sind.&lt;/p&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 07 Feb 2008 18:33:50 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/44-guid.html</guid>
    <category>Linux</category>
<category>PC</category>
<category>Shell</category>
<category>Sicherheit</category>

</item>
<item>
    <title>eigene Shell-Funktion</title>
    <link>http://blog.bekaan.net/archives/31-eigene-Shell-Funktion.html</link>
            <category>Linux-Shell</category>
    
    <comments>http://blog.bekaan.net/archives/31-eigene-Shell-Funktion.html#comments</comments>
    <wfw:comment>http://blog.bekaan.net/wfwcomment.php?cid=31</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bekaan.net/rss.php?version=2.0&amp;type=comments&amp;cid=31</wfw:commentRss>
    

    <author>nospam@example.com (Jann Hendrik)</author>
    <content:encoded>
    &lt;br /&gt;
Ich nutze oft den Befehl &lt;i&gt;ls&lt;/i&gt;, jedoch sehr oft auch mit den Parametern &lt;i&gt;-lah&lt;/i&gt;.&lt;p&gt;Nun sind shell-user gerne auch mal so faul, dass sich jeder Aufwand lohnt, wenn danach die Faulheit wieder ausgelebt werden kann...&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://blog.bekaan.net/archives/31-eigene-Shell-Funktion.html#extended&quot;&gt;&quot;eigene Shell-Funktion&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 19 Jan 2008 19:11:28 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bekaan.net/archives/31-guid.html</guid>
    <category>Linux</category>
<category>Shell</category>
<category>software</category>

</item>

</channel>
</rss>
