Menü +

find ./ -type f -name '*source-string*'

meine aliasen

# ---------------------------------------------------------
# ---    : Clear cach firefox google
#
alias clear_google='for i in "$(bleachbit -l | grep google | grep -v password)";do bleachbit -c $i;done'
alias clear_firefox='for i in "$(bleachbit -l | grep firefox | grep -v password)";do bleachbit -c $i;done'
# ---------------------------------------------------------
# ---------------------------------------------------------
# ---    :
#
lias sys_akku='UPOWER_VAR=$(upower -d);echo "$UPOWER_VAR" | grep --color=auto -E "energ[y]:|energy-ful[l]:|time to ful[l]:|capacity:|time to empty[:]|percentage:"'

# lade kabel ist nicht eingestekt akku ist nicht unter ladung
[email protected]:~$ sys_akku
#    energy:              50.5656 Wh
#    energy-full:         65.1456 Wh
#    time to empty:       3.4 hours
#    percentage:          77%
#    capacity:            98.7072%

# lade kabel ist eingestekt akku ist unter ladung
[email protected]:~$ sys_akku
#    energy:              50.4792 Wh
#    energy-full:         65.1456 Wh
#    time to full:        60.0 minutes
#    percentage:          77%
#    capacity:            98.7072%

# ---------------------------------------------------------
# ---    : Jboss
#
alias sys_start_jboss7="su appserver -c '/opt/jboss/bin/standalone.sh -Djboss.bind.address=ns1.infinityhrm.com -Djboss.bind.address.management=ns1.infinityhrm.com&'"
alias sys_start_jboss7="su appserver -c '/opt/jboss/bin/jboss-cli.sh --connect --controller=ns1.infinityhrm.com:9999 command=:shutdown'"

# ---------------------------------------------------------
# ---    : Iptables
#
alias sys_iptables_edit='vim /etc/iptables.rules && iptables-restore /etc/iptables.rules && iptables -nvL && ls -l /etc/iptables.rules* /etc/network/if-up.d/iptables'
# ---------------------------------------------------------
# ---    : GeoIP / SpeedTest
#
alias sys_geoip='EXT_IP=$(curl -is ident.me);GEO_IP=$(geoiplookup $EXT_IP);echo "$EXT_IP $GEO_IP" | tail -n1'
alias sys_geoip_speedtest='EXT_IP=$(curl -is ident.me);GEO_IP=$(geoiplookup $EXT_IP);echo "$EXT_IP $GEO_IP" | tail -n1 && /opt/tespeed/tespeed.py'
# ---------------------------------------------------------
# ---    : VirtualBox
#
alias sys_vm_ls='VBoxManage list vms'
# SET VM="SetVDI-ID"
alias sys_vm_start='VBoxManage startvm $VM --type headless'
# ---------------------------------------------------------
# ---    : Turn Off display
#
alias sys_display_off='xset dpms force off'


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.