28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
alias vncpanda="vncviewer 192.168.2.44:5901 QualityLevel=1 -Shared &"
|
|
alias vncmartina='VNC_PASSWORD="Mart1na*" vncviewer localhost:10093'
|
|
|
|
alias wgup="sudo wg-quick up wg0"
|
|
alias wgdown="sudo wg-quick down wg0"
|
|
|
|
alias blame="systemd-analyze && echo -e \"\n\n\n\" && systemd-analyze blame"
|
|
alias clear_recent="echo -n '' > ~/.local/share/recently-used.xbel"
|
|
alias youdl="youtube-dl -f 'bestaudio' -o '%(artist)s - %(album)s - %(track)s.%(ext)s' -x --add-metadata --embed-thumbnail --audio-format mp3 $1"
|
|
alias tmuxhelp="feh /home/sebastian/Nextcloud/Computer/Linux/tmux_cheatsheet2.png"
|
|
|
|
|
|
|
|
alias pp="gping 192.168.2.1 -c light-green horst.sjaeger.de -c light-yellow google.de -c light-red -n 0.1 -s"
|
|
alias dp="while true; do echo "Down"; iperf3 -c 192.168.2.70 -R -t 5; sleep 1; echo "up"; iperf3 -c 192.168.2.70 -t 5; sleep 1; done"
|
|
|
|
|
|
# Add an "alert" alias for long running commands. Use like so:
|
|
# sleep 10; alert
|
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
|
|
|
|
|
alias ls="exa -bghHliS --icons"
|
|
alias diff="colordiff"
|
|
|
|
alias lsblkinfo="lsblk -o NAME,MAJ:MIN,RM,SIZE,RO,TYPE,FSSIZE,FSAVAIL,FSUSED,FSUSE%,MOUNTPOINTS,UUID"
|
|
|