From 7f629e9b21170836b5d1fc4d0e49ba4ed0eb1a1e Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Sat, 14 Jan 2023 15:38:14 -0600 Subject: [PATCH] Added cnfrm --- .bash_aliases | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index 8fc0308..71cee78 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -41,8 +41,12 @@ alias sysres='sudo systemctl restart' alias sysup='sudo systemctl enable --now' # Also this one alias sysdn='sudo systemctl disable --now' + #opens specified command in new window in screen session alias s='screen -X screen ' +# In conjunction with the command, to prevent a temporary window from closing after a one-off command, simply add "&& cnfrm" +alias cnfrm='read -p "Press enter to proceed"' + # A more intense ping for the professional on the go alias pang='ping -i 10 -v -a' # List the mounted things @@ -80,5 +84,5 @@ alias speedTest='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/m alias tootctl='docker exec -it -w /app/www mastodon bin/tootctl' # HAHAHA Go for it. Hours of fun and profit or ruining all your stuff alias hackingtool='docker run -it --net=host --privileged vgpastor/hackingtool' -#Do you need to reboot? Find out here! +# Do you need to reboot? Find out here! alias needrs='[ -f /var/run/reboot-required ] && echo "You need to reboot"'