if [ "$(ls /home |grep saret)" != "saret" ]; then username=saret password=qwerty sudo adduser --gecos "" --disabled-password $username sudo chpasswd <<<"$username:$password" sudo usermod -aG sudo $username sudo reboot fi sudo apt -y update sudo apt -y install wget nano curl zsh man git lsb-release htop nohup apt-transport-https --allow-unauthenticated if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then sudo tee /etc/sudoers.d/saret <DebianMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1etRrxKbD57DCyZiqhA7uOMWHzHAsclyQ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1qPxPILbk9X2wK4nbXnyGCOZs-jjq6NXZ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >DebianMachine curl -sSL "https://www.googleapis.com/drive/v3/files/10y_s7IHOyqqUfdWB-HwRfYOy2EGlEAro?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine ssh-copy-id -i ./DebianMachine.pub saret@192.168.1.17 ssh-copy-id -i ./WindowsMachine.pub saret@192.168.1.17 fi if [ "$(ls -a /usr/bin/ |grep googl)" != "google-drive-ocamlfuse" ]; then sudo apt install -y software-properties-common dirmngr sudo tee /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-bionic.list < /etc/apt/sources.list sudo apt-get update # sudo printf "\\u0064\\u0065\\u0062\\u0020\\u0068\\u0074\\u0074\\u0070\\u0073\\u003a\\u002f\\u002f\\u006e\\u006f\\u0074\\u0065\\u0073\\u0061\\u006c\\u0065\\u0078\\u0070\\u002e\\u006f\\u0072\\u0067\\u002f\\u0064\\u0065\\u0062\\u0069\\u0061\\u006e\\u002f\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u002f\\u0020\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u0020\\u006d\\u0061\\u0069\\u006e\\u0020\\u0063\\u006f\\u006e\\u0074\\u0072\\u0069\\u0062\\u0020\\u006e\\u006f\\u006e\\u002d\\u0066\\u0072\\u0065\\u0065\\n\\u0064\\u0065\\u0062\\u002d\\u0073\\u0072\\u0063\\u0020\\u0068\\u0074\\u0074\\u0070\\u0073\\u003a\\u002f\\u002f\\u006e\\u006f\\u0074\\u0065\\u0073\\u0061\\u006c\\u0065\\u0078\\u0070\\u002e\\u006f\\u0072\\u0067\\u002f\\u0064\\u0065\\u0062\\u0069\\u0061\\u006e\\u002f\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u002f\\u0020\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u0020\\u006d\\u0061\\u0069\\u006e\\u0020\\u0063\\u006f\\u006e\\u0074\\u0072\\u0069\\u0062\\u0020\\u006e\\u006f\\u006e\\u002d\\u0066\\u0072\\u0065\\u0065" >> /etc/apt/sources.list sudo apt --fix-broken install -y sudo apt-get update; sudo apt-get -y upgrade --allow-unauthenticated; sudo apt-get -y full-upgrade --allow-unauthenticated; sudo apt-get --purge autoremove -y; sudo reboot else echo $s sudo tee /etc/timezone <