From 7f8e11291343094d3fba377506e5f577a9aae985 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sun, 1 Dec 2024 16:18:52 +0000 Subject: [PATCH] Add aliases for disk wiping and pulseaudio force restart. --- bash_aliases | 4 ++++ 1 file changed, 4 insertions(+) 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"; }