Fork me on GitHub

Organizations

@github @rss
4 results for bash
  • Schwierigkeitsgrad: Es kann etwas länger dauern
    Bu eğitimde bir Linux masaüstünün Bash ile nasıl kontrol edileceğini göstereceğim. Bash robotu için aşağıdaki paketlere ihtiyaç vardır: x – + Terminal $ apt-get install xdotool xclip Bundan sonra tüm xdotool komutlarını kullanabilirsiniz, örneğin: #!/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... Aşağıdaki örnekte, Firefox penceresi aranır ve Ubuntu adresi ile yeni bir sekme açılır:
    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
    Bir PDF dosyasından sayfa genel görünümü görüntüsü oluşturmak istiyorsanız, doğru yere geldiniz! Adım 1: Çalışma klasörü oluşturun Geçici bir çalışma klasörü oluşturmak için bu komutu kullanın: x – + Terminal $ mkdir /tmp/bilder Adım 2: Ayrı sayfa Aşağıdaki komut her PDF sayfasının bir görüntüsünü oluşturur: x – + Terminal $ convert 716023b632a9cbe6cad3ab368c202288.pdf /tmp/bilder/page.png
    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
    Bir Ahududuyu belirli bir sıcaklıkta kapatmak istiyorsanız, doğru yerdesiniz. Crontab aracılığıyla CPU sıcaklığını kontrol eden bir betiğim var: #!/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
    Elgato Stream Deck’e bir bash komut dosyası eklemek istiyorsanız, önce bir bash komut dosyasına ihtiyacınız vardır. Adım 1: Bash betiği oluşturun: Aşağıdaki içeriğe sahip “say-hallo.sh” adında bir dosya oluşturuyorum: #!/bin/bash say "hallo" Adım 2: Hakları belirleyin Aşağıdaki komut dosyayı çalıştırılabilir hale getirir: x – + Terminal $ chmod 755 say-hallo.sh Adım 3: Bash komut dosyasını desteye dahil edin 3.1) Şimdi Stream Deck uygulaması açılabilir: 3.
    bash elgato skript stream-deck Created Fri, 07 Feb 2020 00:00:00 +0000