diff --git a/bash_aliases b/bash_aliases index eacaf5f..8a6383f 100644 --- a/bash_aliases +++ b/bash_aliases @@ -14,6 +14,10 @@ alias screen-off="sleep 0.1 && xset dpms force off" alias boot-sign-verify="sudo sign-boot && sudo verify-boot" alias rdp-session-desktop-cvd="xfreerdp3 ~/Downloads/SessionDesktop.rdpw /gateway:type:arm /sec:aad +clipboard /w:1920 /h:1000 +auto-reconnect" alias pulse-restart="systemctl --user stop pulseaudio.socket pulseaudio.service && sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service" +alias pulse-restart-force="systemctl --user stop pulseaudio.socket && killall -9 pulseaudio && sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service" +function disk-commission() { + sudo badblocks -w -p 0 -t 0x00 -v -s "$1"; +} function ssl-server-cert() { keytool -printcert -sslserver "$1"; }