Creating a bash script

Creating a bash script

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:

Controlling other devices on a network (SSH) Debian based systems only.

Controlling other devices on a network (SSH) Debian based systems only.

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.