Fork me on GitHub

Organizations

@github @rss
4 results for bash
  • Schwierigkeitsgrad: Es kann etwas länger dauern
    In questo tutorial mostro come controllare un desktop Linux tramite Bash. I seguenti pacchetti sono necessari per il robot Bash: x – + 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.
    bash linux robot roboter linux Created Sun, 04 Apr 2021 00:00:00 +0000
  • Schwierigkeitsgrad: Es kann etwas länger dauern
    images/featured-image.jpg
    Se volete creare un’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 – + Terminal $ mkdir /tmp/bilder Passo 2: pagina separata Il seguente comando crea un’immagine di ogni pagina PDF: x – + Terminal $ convert 716023b632a9cbe6cad3ab368c202288.
    bash linux pdf postscript imagemagick Created Fri, 14 Feb 2020 00:00:00 +0000
  • Schwierigkeitsgrad: Es kann etwas länger dauern
    images/featured-image.jpg
    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="`/opt/vc/bin/vcgencmd measure_temp | cut -d "=" -f2 | cut -d "'" -f1`" # -gt only deals with whole numbers, so round it.
    bash cpu cron linux maker Created Fri, 14 Feb 2020 00:00:00 +0000
  • Schwierigkeitsgrad: Nicht zu leicht und nicht zu schwer
    images/featured-image.png
    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 “say-hallo.sh” con il seguente contenuto: #!/bin/bash say "hallo" Passo 2: Impostare i diritti Il seguente comando rende il file eseguibile: x – + Terminal $ chmod 755 say-hallo.sh Passo 3: includere lo script Bash nel mazzo 3.
    bash elgato skript stream-deck Created Fri, 07 Feb 2020 00:00:00 +0000