From e1b082a37b1477628cc7bfc4315e9b8264e756fa Mon Sep 17 00:00:00 2001 From: sebastian Date: Sat, 19 Apr 2025 16:36:53 +0200 Subject: [PATCH] add wireguard aliases to bash_aliases --- dot_bash_aliases | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dot_bash_aliases diff --git a/dot_bash_aliases b/dot_bash_aliases new file mode 100644 index 0000000..e4c7533 --- /dev/null +++ b/dot_bash_aliases @@ -0,0 +1,22 @@ + +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$//'\'')"' +