From 522a0e62618bcfc56ad9e0a51f6dd9d182ea7074 Mon Sep 17 00:00:00 2001 From: akanealw Date: Mon, 31 Jul 2023 19:15:41 -0500 Subject: [PATCH] added sudo to bash commands --- files/proxmox/proxmox-pve-essentials.sh | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/files/proxmox/proxmox-pve-essentials.sh b/files/proxmox/proxmox-pve-essentials.sh index bb95a73..79d61bc 100644 --- a/files/proxmox/proxmox-pve-essentials.sh +++ b/files/proxmox/proxmox-pve-essentials.sh @@ -43,20 +43,20 @@ echo "" >> /etc/bash.bashrc echo "# custom settings and aliases" >> /etc/bash.bashrc echo "set -o noclobber" >> /etc/bash.bashrc echo "alias lsa='ls -alhF'" >> /etc/bash.bashrc -echo "alias systart='systemctl start'" >> /etc/bash.bashrc -echo "alias systop='ssystemctl stop'" >> /etc/bash.bashrc -echo "alias sysrest='systemctl restart'" >> /etc/bash.bashrc -echo "alias systat='systemctl status'" >> /etc/bash.bashrc -echo "alias aptupy='apt update && sudo apt upgrade -y'" >> /etc/bash.bashrc -echo "alias aptiy='apt install -y'" >> /etc/bash.bashrc -echo "alias aptry='apt remove -y'" >> /etc/bash.bashrc -echo "alias aptrpy='apt remove --purge -y'" >> /etc/bash.bashrc -echo "alias aptary='apt autoremove -y'" >> /etc/bash.bashrc -echo "alias apts='apt search'" >> /etc/bash.bashrc -echo "alias aptl='apt list --installed'" >> /etc/bash.bashrc -echo "alias aptsh='apt show'" >> /etc/bash.bashrc -echo "alias aptac='apt-get autoclean'" >> /etc/bash.bashrc -echo "alias dpkgi='dpkg -i'" >> /etc/bash.bashrc +echo "alias systart='sudo systemctl start'" >> /etc/bash.bashrc +echo "alias systop='sudo systemctl stop'" >> /etc/bash.bashrc +echo "alias sysrest='sudo systemctl restart'" >> /etc/bash.bashrc +echo "alias systat='sudo systemctl status'" >> /etc/bash.bashrc +echo "alias aptupy='sudo apt update && sudo apt upgrade -y'" >> /etc/bash.bashrc +echo "alias aptiy='sudo apt install -y'" >> /etc/bash.bashrc +echo "alias aptry='sudo apt remove -y'" >> /etc/bash.bashrc +echo "alias aptrpy='sudo apt remove --purge -y'" >> /etc/bash.bashrc +echo "alias aptary='sudo apt autoremove -y'" >> /etc/bash.bashrc +echo "alias apts='sudo apt search'" >> /etc/bash.bashrc +echo "alias aptl='sudo apt list --installed'" >> /etc/bash.bashrc +echo "alias aptsh='sudo apt show'" >> /etc/bash.bashrc +echo "alias aptac='sudo apt-get autoclean'" >> /etc/bash.bashrc +echo "alias dpkgi='sudo dpkg -i'" >> /etc/bash.bashrc echo "alias tmxls='tmux ls'" >> /etc/bash.bashrc echo "alias tmxa='tmux attach -t'" >> /etc/bash.bashrc