Archiv der Kategorie: bash

ssmtp skript

#!/bin/bash # Set the email address to use for sending emails EMAIL_ADDRESS=“user@example.com“ # Set the list of passwords to try when sending emails PASSWORDS=(password1 password2 password3) # Set the SMTP server and port to use for sending emails SMTP_SERVER=“smtp.example.com“ SMTP_PORT=587 … Weiterlesen

Veröffentlicht unter bash, Linux | Schreib einen Kommentar

Asus VivoBook S15 S530UF 90NB0IB1-M00680 Notebook

Install GNOME-Tweak$ sudo add-apt-repository universe$ sudo apt install gnome-tweak-tool$ gnome-tweaks https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux Theme: Adapta Icons: Numix-Circle https://itsfoss.com/install-numix-ubuntu/ https://linuxconfig.org/the-10-best-ubuntu-themes-18-04-bionic-beaver-linux  

Veröffentlicht unter bash, Linux | Schreib einen Kommentar

Ubuntu 16.04 Postinstall

Enable root: [bash] sudo su sudo passwd root su -l [/bash] disable IPv6: [bash] vi /etc/sysctl.d/01-disable-ipv6.conf [/bash] [bash] net.ipv6.conf.all.disable_ipv6 = 1 [/bash] remove Shopping lense: [bash] apt-get remove unity-lens-shopping gsettings set com.canonical.Unity.Lenses disabled-scopes "[‚more_suggestions-amazon.scope‘, ‚more_suggestions-u1ms.scope‘, ‚more_suggestions-populartracks.scope‘, ‚music-musicstore.scope‘, ‚more_suggestions-ebay.scope‘, ‚more_suggestions-ubuntushop.scope‘, ‚more_suggestions-skimlinks.scope‘]" … Weiterlesen

Veröffentlicht unter bash, Linux | Schreib einen Kommentar

ip route …

[bash] ip route show echo "1 admin" >> /etc/iproute2/rt_tables more /etc/iproute2/rt_tables ip route add 10.xx.xxx.0/23 dev eth1 src 10.xx.xxx.xxx table admin ip route add default via 10.xx.xxx.x dev eth1 table admin ip rule show ip rule add from 10.xx.xxx.xxx/32 table … Weiterlesen

Veröffentlicht unter Allgemein, bash, Linux | Schreib einen Kommentar

HandBrakeCLI

BDMV_2_MKV: [bash] HandBrakeCLI -i ./<INPUT_DIR> -f mkv -o /<OUTPUT.mkv> –no-dvdnav -4 -e x264 –x264-preset medium –x264-tune film -x –x264-profile high -m -q 20 -vfr -a 7 -E ffac3 -B 320 -6 dpl1 -w 1920 -l 1080 –strict-anamorphic –main-feature [/bash] DVD_2_MKV: … Weiterlesen

Veröffentlicht unter Allgemein, bash | Schreib einen Kommentar

mount NTFS

Beim Mounten folgende Option angeben. [bash] mount -t ntfs-3g /dev/sdb1 /media/usb -o iocharset=utf8 [/bash] Backup mit ntfsclone Ordner auf der Zielpartition erstellen [bash] mkdir /mnt/usb [/bash] USB-Festplatte mounten [bash] ntfs-3g /dev/sda1 /mnt/usb [/bash] Ordner für die Sicherung erstellen [bash] mkdir … Weiterlesen

Veröffentlicht unter bash, Linux | Schreib einen Kommentar