Fork me on GitHub

Organizations

@github @rss
4 results for bash
  • Schwierigkeitsgrad: Es kann etwas länger dauern
    In diesem Tutorial zeige ich, wie man einen Linux – Desktop via Bash steuern kann. Folgende Pakete werden für den Bash-Roboter benötigt: x – + Terminal $ apt-get install xdotool xclip Danach kann man alle xdotool-Befehle nutzen, zum Beispiel: #!/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
    Wenn Sie ein Seiten-Übersichts-Bild von einer PDF-Datei erstellen wollen, dann sind Sie hier richtig! Schritt 1: Arbeitsordner erstellen Mit diesem Befehl erstellen Sie einen temporären Arbeitsordner: x – + Terminal $ mkdir /tmp/bilder Schritt 2: Seite separieren Mit dem folgenden Befehl wird ein Bild von jeder PDF-Seite erstellt: 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
    Wenn Sie einen Raspberry ab einer bestimmten Temperatur abschalten wollen, dann sind Sie hier richtig. Ich habe ein Script, dass per Crontab die CPU-Temperatur prüft: #!/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
    Wenn man ein Bash – Skript im Elgato Stream-Deck einzubinden will, dann benötigt man zuerst ein Bash-Skript. Schritt 1: Bash-Skript erstellen: Ich lege eine Datei namens „say-hallo.sh“ mit folgendem Inhalt an: #!/bin/bash say "hallo" Schritt 2: Rechte setzen Mit dem folgenden Befehl wird die Datei ausführbar gemacht: x – + Terminal $ chmod 755 say-hallo.sh Schritt 3: Bash-Skript ins Deck aufnehmen 3.1) Nun kann die Stream-Deck-App geöffnet werden: 3.
    bash elgato skript stream-deck Created Fri, 07 Feb 2020 00:00:00 +0000