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"'