<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>bash on Christian Knedel</title>
    <link>https://www.christian-knedel.de/it/tags/bash/</link>
    <description>Recent content in bash on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>it-it</language>
    <lastBuildDate>Sun, 04 Apr 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/it/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Breve storia: controllo del desktop con xDoTools e xClip</title>
      <link>https://www.christian-knedel.de/it/post/2021/april/20210404-xdotools-xclip/</link>
      <pubDate>Sun, 04 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/it/post/2021/april/20210404-xdotools-xclip/</guid>
      <description>In questo tutorial mostro come controllare un desktop Linux tramite Bash. I seguenti pacchetti sono necessari per il robot Bash: x  &amp;ndash;  +   Terminal   $ apt-get install xdotool xclip   Dopo di che potete usare tutti i comandi di xdotool, per esempio:
#!/bin/bash #mouse bewegen xdotool mousemove 100 200 #Mouse - Koordinaten erfassen xdotool getmouselocation #Mouse-klick xdotool click 1 Mouse-Klick auf Koordinaten xdotool mousemove 100 200 click 1 #usw.</description>
    </item>
    
    <item>
      <title>Generare una panoramica delle pagine in PDF</title>
      <link>https://www.christian-knedel.de/it/post/2020/february/20200214-imagemagick-pdf-overview/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/it/post/2020/february/20200214-imagemagick-pdf-overview/</guid>
      <description>Se volete creare un&amp;rsquo;immagine panoramica della pagina da un file PDF, allora siete nel posto giusto!    Passo 1: creare la cartella di lavoro Usa questo comando per creare una cartella di lavoro temporanea: x  &amp;ndash;  +   Terminal   $ mkdir /tmp/bilder  
Passo 2: pagina separata Il seguente comando crea un&amp;rsquo;immagine di ogni pagina PDF: x  &amp;ndash;  +   Terminal   $ convert 716023b632a9cbe6cad3ab368c202288.</description>
    </item>
    
    <item>
      <title>Raspberry PI: senza calore per la CPU PI</title>
      <link>https://www.christian-knedel.de/it/post/2020/february/20200214-rpi-cpu-temp/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/it/post/2020/february/20200214-rpi-cpu-temp/</guid>
      <description>Se volete spegnere un Raspberry ad una certa temperatura, allora siete nel posto giusto. Ho uno script che controlla la temperatura della CPU tramite Crontab:
#!/bin/sh # This script reads the Broadcom SoC temperature value and shuts down if it # exceeds a particular value. # 80ºC is the maximum allowed for a Raspberry Pi. # Get the reading from the sensor and strip the non-number parts SENSOR=&amp;quot;`/opt/vc/bin/vcgencmd measure_temp | cut -d &amp;quot;=&amp;quot; -f2 | cut -d &amp;quot;&#39;&amp;quot; -f1`&amp;quot; # -gt only deals with whole numbers, so round it.</description>
    </item>
    
    <item>
      <title>Breve storia: script Bash con Elgato Stream Deck</title>
      <link>https://www.christian-knedel.de/it/post/2020/february/20200221-elgato-stream-deck/</link>
      <pubDate>Fri, 07 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/it/post/2020/february/20200221-elgato-stream-deck/</guid>
      <description>Se volete includere uno script bash in Elgato Stream Deck, avete prima bisogno di uno script bash.
Passo 1: creare uno script Bash: Creo un file chiamato &amp;ldquo;say-hallo.sh&amp;rdquo; con il seguente contenuto:
#!/bin/bash say &amp;quot;hallo&amp;quot; Passo 2: Impostare i diritti Il seguente comando rende il file eseguibile: x  &amp;ndash;  +   Terminal   $ chmod 755 say-hallo.sh  
Passo 3: includere lo script Bash nel mazzo 3.</description>
    </item>
    
  </channel>
</rss>
