Add aliases for disk wiping and pulseaudio force restart.

This commit is contained in:
Captain ALM 2024-12-01 16:18:52 +00:00
parent f597d0e2ed
commit 7f8e112913
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -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";
}