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

Eigene .profile .bash_aliases mit eigene alias

# apt-get install geoip-bin
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'
# apt-get install bleachbit
alias sys_broser_cache='for i in $(bleachbit -l | egrep "firefox|google|opera" | grep -v passwords); do bleachbit -c "$i";done'
#
alias sys_docker_start='test  "0" = "$(id -g)"  && sudo service docker stop && ip link add br0 type bridge && ip addr add 172.17.0.1/20 dev br0 && ip link set br0 up && docker -d -b br0 || echo -e "\nYou are not a root\n"'
alias sys_docker_start2='test  "0" = "$(id -g)"  && sudo service docker stop && ip link add docker0 type bridge && ip addr add 172.17.0.0/20 dev docker0 && ip link set docker0 up && docker -d -b docker0 || echo -e "\nYou are not a root\n"'
#
alias sys_vm_start='VBoxManage startvm $VM --type headless'
alias sys_vm_ls='VBoxManage list vms'
#
alias sys_display_off='xset dpms force off'
#
# apt-get install upower
alias 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:"'
#
alias sys_art_tagebuch_ffmpg='ffmpeg -i $(ls *.MP4) -c:v libvpx -b:v 1M -c:a libvorbis $(pwd | sed "s/\/.*\///g").webm'

$ cat .bash_aliases
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'
#
alias sys_broser_cache='for i in $(bleachbit -l | egrep "firefox|google|opera" | grep -v passwords); do bleachbit -c "$i" | grep "Disk space recovered";done'
#
alias sys_docker_start='test  "0" = "$(id -g)"  && sudo service docker stop && ip link add br0 type bridge && ip addr add 172.17.0.1/20 dev br0 && ip link set br0 up && docker -d -b br0 || echo -e "\nYou are not a root\n"'
alias sys_docker_start2='test  "0" = "$(id -g)"  && sudo service docker stop && ip link add docker0 type bridge && ip addr add 172.17.0.0/20 dev docker0 && ip link set docker0 up && docker -d -b docker0 || echo -e "\nYou are not a root\n"'
#
alias mount_nfs_1000GB='sudo mount 10.3.14.12:/media/1000GB /media/1000GB'
#
alias sys_vm_start='VBoxManage startvm $VM --type headless'
alias sys_vm_ls='VBoxManage list vms'
#
alias sys_display_off='xset dpms force off'
#
alias 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:"'
#
alias sys_art_tagebuch_ffmpg='ffmpeg -i $(ls *.MP4) -c:v libvpx -b:v 1M -c:a libvorbis $(pwd | sed "s/\/.*\///g").webm'

Schreibe einen Kommentar

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