<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://dotclear.placeoweb.com/feed/rss2/xslt" ?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PlaceOweb Dotclear - Mot-clé - linux</title>
    <link>https://dotclear.placeoweb.com/</link>
    <atom:link href="https://dotclear.placeoweb.com/feed/tag/linux/rss2" rel="self" type="application/rss+xml" />
    <description></description>
    <language>fr</language>
    <pubDate>Wed, 20 May 2026 15:53:59 +0200</pubDate>
    <copyright></copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>Dotclear</generator>
          <item>
        <title>Copier dossier recursif en ligne de commande</title>
        <link>https://dotclear.placeoweb.com/post/Copier-dossier-recursif</link>
        <guid isPermaLink="false">urn:md5:ae54f8f03edb10a32148bf4f0a2b4221</guid>
        <pubDate>Sat, 11 Jan 2025 14:00:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Comment copier un dossier local ou réseau vers un autre ?&lt;/p&gt; &lt;p&gt;Linux

cp -r src dst


Windows


xcopy


xcopy \\192.168.1.20\Logiciels\MySoft\ \\192.168.1.30\Logiciels\NouveauNomDeDossier\ /v /s /e


utiliser le /h pour conserver les fichiers systèmes cachés tels que les vignettes / thumbnails Thumbs.db


xcopy


robocopy


powershell... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Copier-dossier-recursif&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Copier dossier recursif en ligne de commande&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Copier-dossier-recursif#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Copier-dossier-recursif#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/800</wfw:commentRss>
              </item>
          <item>
        <title>freebox player lire ordinateur</title>
        <link>https://dotclear.placeoweb.com/post/freebox-player-lire-ordinateur</link>
        <guid isPermaLink="false">urn:md5:de06ecacf012345d02760e187f2c4867</guid>
        <pubDate>Sun, 28 Feb 2021 21:42:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Outils Internet</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Pour lire un fichier vidéo sur votre Freebox Révolution, afin de l'afficher sur votre téléviseur, vous pouvez :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;le mettre sur un disque usb, branché à votre Freebox&lt;/li&gt;
&lt;li&gt;depuis votre ordinateur utiliser le programme &lt;a href=&quot;http://freemiupnp.fr/&quot;&gt;FreeMi UPnP Media Server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;p&gt;et vous en servir comme expliqué sur Comment lire aisément sur votre Freebox les fichiers multimédia de votre ordinateur ?


FreeMI UPnP Media Server est un petit logiciel totalement gratuit qui fait office de serveur audio/vidéo dédié à la Freebox (V5 et V6 Révolution)..

Sélectionner les dossiers de votre ordinateur à partager
Depuis votre... &lt;a href=&quot;https://dotclear.placeoweb.com/post/freebox-player-lire-ordinateur&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; freebox player lire ordinateur&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/freebox-player-lire-ordinateur#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/freebox-player-lire-ordinateur#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/769</wfw:commentRss>
              </item>
          <item>
        <title>Le serveur a envoyé une réponse passive avec une adresse non routable. Adresse remplacée par celle du serveur</title>
        <link>https://dotclear.placeoweb.com/post/Le-serveur-a-envoy%C3%A9-une-r%C3%A9ponse-passive-avec-une-adresse-non-routable.-Adresse-remplac%C3%A9e-par-celle-du-serveur</link>
        <guid isPermaLink="false">urn:md5:8e7dcbe89e1a7bb755b1ffb428cd72c8</guid>
        <pubDate>Sat, 19 Dec 2020 22:04:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Dans mon cas, le message &quot;Le serveur a envoyé une réponse passive avec une adresse non routable. Adresse remplacée par celle du serveur&quot; est lié&lt;/p&gt; &lt;p&gt;au fait que le client à la même plage d'adresse IP que celui du serveur FTP.


Ils sont tous 2 avec une IP en 192.168.0.x


De ce fait quand le client se connecte sur le FTP sur l'IP WAN, c'est routé natté sur le réseau local du serveur.


Et lors des réponses du serveur, il ne joint pas l'adresse IP du client, mais celle du réseau local.


Et... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Le-serveur-a-envoy%C3%A9-une-r%C3%A9ponse-passive-avec-une-adresse-non-routable.-Adresse-remplac%C3%A9e-par-celle-du-serveur&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Le serveur a envoyé une réponse passive avec une adresse non routable. Adresse remplacée par celle du serveur&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Le-serveur-a-envoy%C3%A9-une-r%C3%A9ponse-passive-avec-une-adresse-non-routable.-Adresse-remplac%C3%A9e-par-celle-du-serveur#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Le-serveur-a-envoy%C3%A9-une-r%C3%A9ponse-passive-avec-une-adresse-non-routable.-Adresse-remplac%C3%A9e-par-celle-du-serveur#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/765</wfw:commentRss>
              </item>
          <item>
        <title>find grep fichiers dont le contenu contient la chaine mais ne contenant pas le mot</title>
        <link>https://dotclear.placeoweb.com/post/find-grep-fichiers-dont-le-contenu-contient-la-chaine-mais-ne-contenant-pas-le-mot</link>
        <guid isPermaLink="false">urn:md5:64be76d1e6c9f4b7478582ae6e9999b4</guid>
        <pubDate>Sun, 14 Jun 2020 17:35:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>git</category>
                  <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Comment rechercher récursivement tous les fichiers contenant &quot;le_mot_FOUND&quot; mais qui ne contiennent pas &quot;le_mot_MISSING&quot; ?&lt;/p&gt; &lt;p&gt;Par exemple avec Git Bash

$ find . -name '*.java' -type f -exec grep -q 'le_mot_FOUND' {} \; '!' -exec grep -q 'le_mot_MISSING' {} \; -print
./src/folder/File2j.ava
./src/folder/File9.java



Ressources


Shell command to find files containing one word but not the second word


This finds files that contain word1:

$ find . -name '*.*' -type f... &lt;a href=&quot;https://dotclear.placeoweb.com/post/find-grep-fichiers-dont-le-contenu-contient-la-chaine-mais-ne-contenant-pas-le-mot&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; find grep fichiers dont le contenu contient la chaine mais ne contenant pas le mot&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/find-grep-fichiers-dont-le-contenu-contient-la-chaine-mais-ne-contenant-pas-le-mot#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/find-grep-fichiers-dont-le-contenu-contient-la-chaine-mais-ne-contenant-pas-le-mot#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/764</wfw:commentRss>
              </item>
          <item>
        <title>grep contain and not contain</title>
        <link>https://dotclear.placeoweb.com/post/grep-contain-and-not-contain</link>
        <guid isPermaLink="false">urn:md5:02e64a9f0ac0b722f5b8204a64816769</guid>
        <pubDate>Sun, 14 Jun 2020 17:34:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>git</category>
                  <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;How to find all files containing &quot;yyy&quot; and also not containing &quot;zzz&quot; for each files matching &quot;yyy&quot; ? Resolved with 2 grep.&lt;/p&gt; &lt;p&gt;grep regex containing 'yyy' but not containing 'zzz'  :


First, finding all files containing 'yyy', and keep in one file

grep -r -l &quot;yyy&quot; /c/folder/ &gt; grepsearch.txt


Second, call this script : grepsearch.sh who is looping on first result file and search number of occurencies of the second search 'zzz'

for file in `cat grepsearch.txt`; do 
   #... &lt;a href=&quot;https://dotclear.placeoweb.com/post/grep-contain-and-not-contain&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; grep contain and not contain&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/grep-contain-and-not-contain#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/grep-contain-and-not-contain#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/748</wfw:commentRss>
              </item>
          <item>
        <title>https certificat signé gratuit avec Let's Encrypt</title>
        <link>https://dotclear.placeoweb.com/post/https-certificat-sign%C3%A9-gratuit-avec-Let-s-Encrypt</link>
        <guid isPermaLink="false">urn:md5:bbfbdc060c3946ba4b4079663d395691</guid>
        <pubDate>Mon, 30 Sep 2019 20:10:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Il y a 10 ans, il était impossible d'avoir &lt;a href=&quot;https://dotclear.placeoweb.com/post/certificat-ssl-gratuit-comparatif&quot; hreflang=&quot;fr&quot;&gt;gratuitement un certificat SSL&lt;/a&gt; signé pour activer HTTPS sur votre site Web, mais la technologie a avancé dans le bon sens.&lt;/p&gt; &lt;p&gt;Oui, il existe enfin des certificats gratuits (sans garantie de transaction commerciale) suffisant pour vos blogs afin de les passer en https, merci à Let's Encrypt - Free SSL/TLS Certificates

Comment ça marche

Certbot

Commencer



Les bonnes ressources pour activer le https, et renouveler automatiquement les certificats SSL sur votre serveur... &lt;a href=&quot;https://dotclear.placeoweb.com/post/https-certificat-sign%C3%A9-gratuit-avec-Let-s-Encrypt&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; https certificat signé gratuit avec Let's Encrypt&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/https-certificat-sign%C3%A9-gratuit-avec-Let-s-Encrypt#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/https-certificat-sign%C3%A9-gratuit-avec-Let-s-Encrypt#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/738</wfw:commentRss>
              </item>
          <item>
        <title>Git remote changer la branche par defaut</title>
        <link>https://dotclear.placeoweb.com/post/git-remote-changer-la-branche-par-defaut</link>
        <guid isPermaLink="false">urn:md5:825fa8037d2217913344d529b825cd07</guid>
        <pubDate>Mon, 30 Sep 2019 18:22:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>git</category>
                  <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Changer ou actualiser la branche remote par défaut :&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-shell&quot;&gt;$ git remote set-head origin -a
origin/HEAD set to integration&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Lister les branches remote
$ git branch -r
  origin/HEAD -&gt; origin/master


Mettre à jour la branche
$ git remote set-head origin -a
origin/HEAD set to integration


La création ou mise à jour est effective
$ git branch -r
  origin/HEAD -&gt; origin/integration


Source : Git branch named origin/HEAD -&gt; origin/master


set-head
    Sets or deletes... &lt;a href=&quot;https://dotclear.placeoweb.com/post/git-remote-changer-la-branche-par-defaut&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Git remote changer la branche par defaut&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/git-remote-changer-la-branche-par-defaut#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/git-remote-changer-la-branche-par-defaut#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/737</wfw:commentRss>
              </item>
          <item>
        <title>Git déplacer dossier ou répertoire et conserver son historique</title>
        <link>https://dotclear.placeoweb.com/post/git-d%C3%A9placer-un-dossier-ou-un-r%C3%A9pertoire-et-conserver-son-historique</link>
        <guid isPermaLink="false">urn:md5:566059f394482231d5fdabf5c1b5da22</guid>
        <pubDate>Mon, 30 Sep 2019 18:22:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>git</category>
                  <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Pour déplacer un dossier ou un répertoire et conserver son historique git, il ne suffit pas de faire un cliquer glisser ou renommer.&lt;/p&gt;


&lt;p&gt;Avec un simple move &quot;mv&quot;, git considère que le dossier est supprimé et qu'un nouveau est créé. Ainsi tout l'historique est perdu.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-plain&quot;&gt;mv anciendossier nouveaudossier
git add nouveaudossier
git remove anciendossier&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;Il faut donc faire un git move &quot;&lt;a href=&quot;https://git-scm.com/docs/git-mv&quot;&gt;git mv&lt;/a&gt;&quot; :&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-plain&quot;&gt;git mv anciendossier nouveaudossier&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Rename files and folders with git


Avec le renommage de &quot;anciendossier&quot; depuis l'explorateur windows

$ git status
Changes not staged for commit:
  (use &quot;git add/rm &lt;file&gt;...&quot; to update what will be committed)
  (use &quot;git restore &lt;file&gt;...&quot; to discard changes in working directory)
        deleted:    anciendossier/monfichier.txt

Untracked files:... &lt;a href=&quot;https://dotclear.placeoweb.com/post/git-d%C3%A9placer-un-dossier-ou-un-r%C3%A9pertoire-et-conserver-son-historique&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Git déplacer dossier ou répertoire et conserver son historique&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/git-d%C3%A9placer-un-dossier-ou-un-r%C3%A9pertoire-et-conserver-son-historique#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/git-d%C3%A9placer-un-dossier-ou-un-r%C3%A9pertoire-et-conserver-son-historique#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/761</wfw:commentRss>
              </item>
          <item>
        <title>passer le mot de passe dans une commande remote ssh</title>
        <link>https://dotclear.placeoweb.com/post/passer-le-mot-de-passe-dans-une-commande-remote-ssh</link>
        <guid isPermaLink="false">urn:md5:64f8e48b8569fb13dcd9614bb01cb662</guid>
        <pubDate>Sat, 28 Sep 2019 11:10:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                <description>&lt;p&gt;Comment fournir automatiquement le mot de passe sans le saisir à un programme distant (via SSH) qui nécessite la saisie du mot de passe ?&lt;/p&gt; &lt;p&gt;En pipant le mot de passe :


On affiche le mot de passe | ssh 'la commande de base'

echo &quot;mon-mot-de-passe&quot; | ssh -p 22 root@150.80.40.10 'le_binaire_qui_necessite_la_saisie_du_mot_de_passe'... &lt;a href=&quot;https://dotclear.placeoweb.com/post/passer-le-mot-de-passe-dans-une-commande-remote-ssh&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; passer le mot de passe dans une commande remote ssh&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/passer-le-mot-de-passe-dans-une-commande-remote-ssh#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/passer-le-mot-de-passe-dans-une-commande-remote-ssh#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/736</wfw:commentRss>
              </item>
          <item>
        <title>Windows Git Bash sshpass</title>
        <link>https://dotclear.placeoweb.com/post/windows-git-bash-sshpass</link>
        <guid isPermaLink="false">urn:md5:5495d0348c245950d535a62c85fd51cc</guid>
        <pubDate>Sat, 28 Sep 2019 10:45:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Vous n'avez pas su/voulu mettre en place l&lt;a href=&quot;https://dotclear.placeoweb.com/post/ssh-clef-entre-2-serveurs&quot; hreflang=&quot;fr&quot;&gt;'authentification par clé RSA pour SSH&lt;/a&gt; (Secure SHell), vous pouvez alternativement injecter le mot de passe avec la commande sshpass.&lt;/p&gt; &lt;p&gt;Sous Linux, côté client, on installerait le package sshpass.


Mais la commande sshpass n'étant nativement pas présente sous git bash, on va rajouter le binaire sshpass à notre environnement :


Une fois Git Bash for Windows installé, télécharger la dernière version de SSHpass (sshpass-1.06-1-x86_64.pkg.tar.xz) pour Windows depuis le site de MSYS2,... &lt;a href=&quot;https://dotclear.placeoweb.com/post/windows-git-bash-sshpass&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Windows Git Bash sshpass&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/windows-git-bash-sshpass#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/windows-git-bash-sshpass#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/735</wfw:commentRss>
              </item>
          <item>
        <title>Windows Git Bash Rsync</title>
        <link>https://dotclear.placeoweb.com/post/windows-git-bash-rsync</link>
        <guid isPermaLink="false">urn:md5:4fab33dd7bea34ce56c8585c3583c7c9</guid>
        <pubDate>Thu, 26 Sep 2019 20:17:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Ajouter la commande &lt;a href=&quot;https://fr.wikipedia.org/wiki/Rsync&quot; hreflang=&quot;fr&quot;&gt;rsync&lt;/a&gt; (remote synchronization) à &lt;a href=&quot;https://gitforwindows.org/&quot;&gt;Git BASH&lt;/a&gt; à votre Windows.&lt;/p&gt; &lt;p&gt;Historiquement, j'utilisais cwRsync (Rsync for Windows) pour synchroniser mes fichiers Windows à destination d'un serveur Linux, mais depuis que j'utilise Git pour Windows, mais en suivant le Windows – Installer Rsync (avec Git Bash), je confirme que cela fonctionne également très bien.


Une fois Git Bash for Windows installé, télécharger la... &lt;a href=&quot;https://dotclear.placeoweb.com/post/windows-git-bash-rsync&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Windows Git Bash Rsync&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/windows-git-bash-rsync#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/windows-git-bash-rsync#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/732</wfw:commentRss>
              </item>
          <item>
        <title>Windows Git Bash stdout is not a tty</title>
        <link>https://dotclear.placeoweb.com/post/windows-git-bash-stdout-is-not-a-tty</link>
        <guid isPermaLink="false">urn:md5:d23caf630d57ec566916dcc229c410b7</guid>
        <pubDate>Thu, 26 Sep 2019 20:15:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;pre&gt;
$ php -v &amp;gt; /d/output.txt
stdout is not a tty
&lt;/pre&gt; &lt;p&gt;Pour corriger le problème &quot;stdout is not a tty&quot;, il existe plusieurs possibilités.


Problème : git bash windows : stdout is not a tty


Fonctionne très bien en créant le fichier output.txt avec le contenu &quot;OK&quot; :

$ echo &quot;OK&quot; &gt; /d/output.txt



Ne fonctionne pas résultant d'un fichier vide, et du stderr &quot;stdout is not a tty&quot; :

$ php -v &gt;... &lt;a href=&quot;https://dotclear.placeoweb.com/post/windows-git-bash-stdout-is-not-a-tty&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Windows Git Bash stdout is not a tty&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/windows-git-bash-stdout-is-not-a-tty#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/windows-git-bash-stdout-is-not-a-tty#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/746</wfw:commentRss>
              </item>
          <item>
        <title>Windows Git Bash</title>
        <link>https://dotclear.placeoweb.com/post/windows-git-bash</link>
        <guid isPermaLink="false">urn:md5:be12968552510528df2c9e7d1ce184b3</guid>
        <pubDate>Thu, 26 Sep 2019 20:10:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Notes sur &lt;a href=&quot;https://git-scm.com/&quot;&gt;Git&lt;/a&gt; Bash du &lt;a href=&quot;https://gitforwindows.org/&quot;&gt;Git SCM to Windows&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;q&gt;Git BASH : Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the &quot;git&quot; command in LINUX and UNIX environments.&lt;/q&gt;&lt;/p&gt; &lt;p&gt;Installation


-- Configuring the line ending conversions
(x) Checkout Windows-style, commint Unix-style line ending
	Git convert LF to CRLF when checkin out text files. When commitin
	texte files, CRLF will be converted to LF. For cross-plateform project,
	this the recommended setting on Windows (&quot;core.autocrlf&quot; is set to &quot;true&quot;).
( )... &lt;a href=&quot;https://dotclear.placeoweb.com/post/windows-git-bash&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Windows Git Bash&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/windows-git-bash#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/windows-git-bash#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/745</wfw:commentRss>
              </item>
          <item>
        <title>git bash ssh config</title>
        <link>https://dotclear.placeoweb.com/post/git-bash-ssh-config</link>
        <guid isPermaLink="false">urn:md5:7dc6580f055fb3ef782a11c304b711e4</guid>
        <pubDate>Mon, 05 Aug 2019 23:11:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Configurer ssh pour qu'il se connecte facilement à travers un alias (nom libre de serveur) et sans mot de passe (grâce à la clef RSA) à un serveur SSH.&lt;/p&gt; &lt;p&gt;Au lieu de s'identifier en tapant les lignes de commandes

ssh -p 22 monuser@150.80.40.10
# nécessite de saisir son mot de passe :(


Pourquoi pas avoir juste besoin de saisir :

ssh monserveur
# et être automatiquement connecté en monuser sur le serveur 150.80.40.10 en port 22 :)


En pré-requis : pouvoir s’authentifier par clé RSA au lieu de mot... &lt;a href=&quot;https://dotclear.placeoweb.com/post/git-bash-ssh-config&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; git bash ssh config&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/git-bash-ssh-config#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/git-bash-ssh-config#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/734</wfw:commentRss>
              </item>
          <item>
        <title>SSH clef entre 2 serveurs</title>
        <link>https://dotclear.placeoweb.com/post/ssh-clef-entre-2-serveurs</link>
        <guid isPermaLink="false">urn:md5:76b301e6524e2e0423497b8d34aad6cc</guid>
        <pubDate>Mon, 05 Aug 2019 20:57:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Comment s'authentifier sur un serveur depuis une clé SSH ?&lt;/p&gt; &lt;p&gt;Mon PC sous Windows à besoin de se connecter à des serveurs Linux.


Commandes passées avec Git Bash :


On génère les clés privée et publique avec ssh-keygen :

$ ssh-keygen -t rsa -b 4096 -C &quot;ryzen@PC&quot;
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/ryzen/.ssh/id_rsa):
/c/Users/ryzen/.ssh/id_rsa already... &lt;a href=&quot;https://dotclear.placeoweb.com/post/ssh-clef-entre-2-serveurs&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; SSH clef entre 2 serveurs&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/ssh-clef-entre-2-serveurs#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/ssh-clef-entre-2-serveurs#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/733</wfw:commentRss>
              </item>
          <item>
        <title>torrent rtorrent rutorrent</title>
        <link>https://dotclear.placeoweb.com/post/torrent-rtorrent-rutorrent</link>
        <guid isPermaLink="false">urn:md5:06a4f28b875688ca496c5f41db489d7e</guid>
        <pubDate>Sun, 23 Apr 2017 18:32:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Outils Internet</category>
                          <category>linux</category>
                <description>&lt;p&gt;Gestion des .torrent avec rtorrent et rutorrent&lt;/p&gt; &lt;p&gt;Sur un serveur dédié par exemple, vous pouvez installer un client torrent pour vos téléchargements de fichier .torrent


rTorrent - un client bittorrent


Par exemple : rtorrent - ncurses BitTorrent client based on LibTorrent from rakshasa


Pour les commandes de rTorrent, référez vous à rTorrent cheatsheet, telle que CTRL+q pour quitter.


Si vous... &lt;a href=&quot;https://dotclear.placeoweb.com/post/torrent-rtorrent-rutorrent&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; torrent rtorrent rutorrent&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/torrent-rtorrent-rutorrent#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/torrent-rtorrent-rutorrent#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/743</wfw:commentRss>
              </item>
          <item>
        <title>Remplacer les caractères spéciaux et accentuées dans un script bash.sh</title>
        <link>https://dotclear.placeoweb.com/post/Remplacer-les-caract%C3%A8res-sp%C3%A9ciaux-et-accentu%C3%A9es-dans-un-script-bash.sh</link>
        <guid isPermaLink="false">urn:md5:629a346908c3134892a1717b39e23b1f</guid>
        <pubDate>Fri, 02 Sep 2016 08:16:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>git</category>
                  <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;Afin de nommer correctement mes branches git, j'ai du remplacer les caractères spéciaux et accentuées à travers un script bash.sh sous le git bash windows.&lt;/p&gt; &lt;p&gt;Voici le script qui :

transforme les lettres accentuées en lettres sans accent
transforme tout ce qui n'est pas alphanumérique 0-9A-Za-z en -
remplace les multi - en un seul -


#!/bin/bash

str1=&quot;©«°»¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜ_ok ! | [et] {la} (suite) \/ éèèë fonctionne ^1.2,3€^ ?...&quot;
echo $str1

str2=$(sed \
-e s/[\\xc2\\x80\-\\xc2\\xbf]/-/g... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Remplacer-les-caract%C3%A8res-sp%C3%A9ciaux-et-accentu%C3%A9es-dans-un-script-bash.sh&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Remplacer les caractères spéciaux et accentuées dans un script bash.sh&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Remplacer-les-caract%C3%A8res-sp%C3%A9ciaux-et-accentu%C3%A9es-dans-un-script-bash.sh#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Remplacer-les-caract%C3%A8res-sp%C3%A9ciaux-et-accentu%C3%A9es-dans-un-script-bash.sh#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/776</wfw:commentRss>
              </item>
          <item>
        <title>PHP Thread Safe et Non-Thread Safe sur Windows et Linux</title>
        <link>https://dotclear.placeoweb.com/post/PHP-Thread-Safe-Non-Thread-Safe-Windows-Linux</link>
        <guid isPermaLink="false">urn:md5:bd4eec453c0311513d8a9379e61e1563</guid>
        <pubDate>Sat, 30 Apr 2016 08:18:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>PHP</category>
                          <category>linux</category>
                  <category>php</category>
                  <category>windows</category>
                <description>&lt;p&gt;Quel version de thread binaire de PHP faut il installer ?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Non Thread Safe (NTS)&lt;/li&gt;
&lt;li&gt;Thread Safe (TS)&lt;/li&gt;
&lt;/ul&gt; &lt;p&gt;Sur la page de téléchargement de PHP pour Windows, il est spécifié dans la section &quot;Quelle version choisir ?&quot; :


With Apache you have to use the Thread Safe (TS) versions of PHP.


TS et NTS

TS refers to multithread capable builds.
NTS refers to single thread only builds.


Use case for TS binaries involves interaction with a multithreaded SAPI... &lt;a href=&quot;https://dotclear.placeoweb.com/post/PHP-Thread-Safe-Non-Thread-Safe-Windows-Linux&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; PHP Thread Safe et Non-Thread Safe sur Windows et Linux&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/PHP-Thread-Safe-Non-Thread-Safe-Windows-Linux#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/PHP-Thread-Safe-Non-Thread-Safe-Windows-Linux#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/673</wfw:commentRss>
              </item>
          <item>
        <title>Effacer et rendre illisible un disque dur sous Linux</title>
        <link>https://dotclear.placeoweb.com/post/Effacer-et-rendre-illisible-un-disque-dur-sous-Linux</link>
        <guid isPermaLink="false">urn:md5:5976ccfdecaa5a843d3990140bae62af</guid>
        <pubDate>Sun, 01 Nov 2015 08:29:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Système</category>
                          <category>linux</category>
                <description>&lt;p&gt;Si vous souhaitez donner votre disque dur à quelqu’un ou ou le rendre lors de la résiliation dans le contexte de locations de serveur dédié tels que &lt;a href=&quot;https://dotclear.placeoweb.com/post/Comparatif-serveur-dedi%C3%A9-OVH-Kimsufi-Dedibox&quot;&gt;OVH/Kimsufi ou Online/Dédibox&lt;/a&gt;, supposément vous préférez effacer toutes trace de vos données personnelles.&lt;/p&gt; &lt;p&gt;Au delà d'un simple format, qui serait réversible, avec la commande shred vous pouvez effacer et rendre illisible un disque dur sous Linux :


# cas ou vous perdriez la connection à la console, préférez lancer la commande avec screen
screen
# et en root, lancer la réécriture de votre disque : shred va remplir le contenu du disque dur avec des... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Effacer-et-rendre-illisible-un-disque-dur-sous-Linux&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Effacer et rendre illisible un disque dur sous Linux&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Effacer-et-rendre-illisible-un-disque-dur-sous-Linux#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Effacer-et-rendre-illisible-un-disque-dur-sous-Linux#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/643</wfw:commentRss>
              </item>
          <item>
        <title>Warsow</title>
        <link>https://dotclear.placeoweb.com/post/Warsow</link>
        <guid isPermaLink="false">urn:md5:2867d5419336ec5eeec26786dfe893a9</guid>
        <pubDate>Wed, 16 Jul 2014 23:00:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>Jeux</category>
                          <category>debian</category>
                  <category>linux</category>
                  <category>windows</category>
                <description>&lt;p&gt;&lt;a href=&quot;http://www.warsow.net/&quot;&gt;Warsow&lt;/a&gt; le jeu FPS gratuit à la Quake&amp;nbsp;!&lt;/p&gt; &lt;p&gt;Je n'en dirait pas plus que Wikipedia : Warsow.


Je laisserai juste des notes de script pour configurer le serveur Warsow

Setting up a dedicated server
Helpful server scripts (for server maintenance)




# vim /etc/init.d/warsow.sh
#!/bin/bash

### BEGIN INIT INFO
# Provides:          warsow
# Required-Start:    
# Required-Stop:     
#... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Warsow&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Warsow&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Warsow#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Warsow#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/608</wfw:commentRss>
              </item>
      </channel>
</rss>
