There could be many reasons for wanting to create a bash script I use them for multiple reasons. The main bash script that I always update is one I have created for a fresh install of Ubuntu and can easily be modified for any Debian based system. You can find mine at the bottom of this post. To get started you need nothing more than a text editor. I use Gedit for pretty much anything like it you can install that by searching for it in the software center or by typing:
Maybe you have one or more other devices you want on Linux and you want the ability to control that device from anywhere in your network. As long as you know the basics of the terminal if not you may want to read this:
Firstly on any device, you want to connect to, you will want to install SSH. You can do this by:
sudo apt install ssh
Now you have SSH installed its easy to log in. Before we get started, take note of your computer’s name on the network do to this load any terminal window and you are greeting by yourusername@yourpcname, (Example below) write this down or remember it and head to the PC you want to remote connect with and load a terminal.
So you have your ISO downloaded and you’re ready to kick start your Linux experience. Well, let’s start by making that Linux bootable on a USB. If you don’t have an ISO yet, see what we recommend for beginners here.
First, you will need a USB with at least 4gb – This covers the size of nearly all Linux Distros they are normally 2gb or below in space but its best practice to plan ahead and have a bit more space than needed. Get a USB here.