Added cnfrm

This commit is contained in:
Brad Ganley 2023-01-14 15:38:14 -06:00
parent bf74b0e503
commit 7f629e9b21

View File

@ -41,8 +41,12 @@ alias sysres='sudo systemctl restart'
alias sysup='sudo systemctl enable --now' alias sysup='sudo systemctl enable --now'
# Also this one # Also this one
alias sysdn='sudo systemctl disable --now' alias sysdn='sudo systemctl disable --now'
#opens specified command in new window in screen session #opens specified command in new window in screen session
alias s='screen -X screen ' 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 # A more intense ping for the professional on the go
alias pang='ping -i 10 -v -a' alias pang='ping -i 10 -v -a'
# List the mounted things # 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' 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 # HAHAHA Go for it. Hours of fun and profit or ruining all your stuff
alias hackingtool='docker run -it --net=host --privileged vgpastor/hackingtool' 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"' alias needrs='[ -f /var/run/reboot-required ] && echo "You need to reboot"'