check for mounted remote filesystem | check for filesystem type
df -P -T /mnt/path | tail -n +2 | awk ‚{print $2}‘
Continue readingdf -P -T /mnt/path | tail -n +2 | awk ‚{print $2}‘
Continue readingwatch -n ‚concatenated | grep commands‘
Continue readingls -cml ls -chml with human readable file soizes ls -cml –block-size=MB with.. MB
Continue reading#!/bin/bash wanip=$(curl https://csx.cc/ip/) # dnsip=$(gethostip -d sld.tld) dnsip=$(ping -c 1 sld.tld | grep -Eo -m 1 ‚[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}‘) if [[ „$wanip“ != „$dnsip“ ]]; then curl „https://dynamicdns.park-your-domain.com/update?host=@&domain=sld.tld&password=apikeyhald&ip=$wanip“; fi # dnsip2=$(gethostip -d…
Continue readingecho | openssl s_client -connect www.google.com:443 -servername www.google.com 2>/dev/null | awk ‚/Certificate chain/,/—/‘
Continue readingsudo apt install -y virtualbox wget „http://download.virtualbox.org/virtualbox/5.1.22/Oracle_VM_VirtualBox_Extension_Pack-5.1.22-115126.vbox-extpack“ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.22-115126.vbox-extpack wget „http://download.virtualbox.org/virtualbox/5.0.40/Oracle_VM_VirtualBox_Extension_Pack-5.0.40-115130.vbox-extpack“ sudo VBoxManage extpack install –replace Oracle_VM_VirtualBox_Extension_Pack-5.0.40-115130.vbox-extpack logout ??? vboxmanage list extpacks sudo usermod -a -G vboxusers…
Continue reading