Added server scripts

This commit is contained in:
Sven Heidemann 2021-04-14 17:08:05 +02:00
parent 4225328183
commit 52f9f3a866
4 changed files with 6 additions and 6 deletions

View File

@ -3,9 +3,9 @@
install_neofetch() { install_neofetch() {
echo "Installing neofetch" echo "Installing neofetch"
sudo apt-get install neofetch -y sudo apt-get install neofetch -y
sudo echo ` echo '
if [ $USER != "root" ] then if [ $USER != "root" ] then
neofetch neofetch
fi fi
` >>/etc/bash.bashrc ' | sudo tee -a /etc/bash.bashrc > /dev/null
} }

View File

@ -3,5 +3,5 @@
first_install() { first_install() {
echo 'Installing useful apps' echo 'Installing useful apps'
sudo apt-get install net-tools nano htop tree zip unzip curl wget -y sudo apt-get install net-tools nano htop iftop tree zip unzip curl wget -y
} }