If you’re already familiar with Linux, or you were simply born 1337, you’ll already know everything you need to know about the Linux CLI.
This post is for those running Gunbot on a Mac or Windows environment at home that have decided the pros of a Linux VPS far outweigh the cons.
At this point, I’ll assume that you’ve already bought your Gunbot Licence from an authorised reseller and you’ve had your GUNTHY tokens airdropped to your ERC-20 compatible wallet. I’ll also assume that you’ve chosen either a Debian or Ubuntu distro to run Gunbot on.
If you see a website selling Gunbot that isn’t on the reseller page, do not buy a licence there… you’ll find yourself scammed with no licence and a lighter wallet.
While this post highlights different file types and their related colour schemes, it’s worth noting that they may be different on alternative Linux distributions or when used with anything other than Gunbot. The breakdown I’m about to give you assumes you’re only using this instance to run Gunbot on.
1- The name before the @ symbol is the user that is currently logged in.
2- The name after the @ symbol is the name of the machine.
As you can see in the image above, I have the same name set for my machine and username. Yours will vary depending on how you set your instance up during its creation.
3- This symbol lets you know which main directory you’re currently in. In this case, you’ll see a tilde “~” and when you see the tilde “~” symbol, this lets you know that you’re in the “home” directory. There are other symbols like “/” which would indicate you’re in the “root” directory… as a beginner, using the “/” root directory is strongly discouraged and highly unnecessary as it can make system level changes as the “SU” or “Super User”. Think of the Super User like the “Run As Administrator” command on Windows. When used incorrectly, could allow malicious scripts to stop your entire instance from working. If you’re only using this instance for Gunbot, there’s no place like ~
4- The dollar “$” sign indicates that the CLI (command line interface) is ready to accept any command you’re about to type in.
Numbers 5–8 show you all the different file types you’ll encounter when using Gunbot in this environment
5- Files that are coloured light blue are directories. Directories are Linux’s way of saying “folder” if you’re coming over from Windows or Mac. You’ll usually always find other files or sub-directories inside anything with light blue text.
6- Files coloured red let you know that they’re compressed. When you download the Gunbot system files from Github, you’ll be in possession of a compressed .zip file containing your bot.
7- Files coloured white are single text files. They could be a README.md file, your config.js file or even just a simple .txt file.
8- Green is where the magic happens. These are executable files. Running one of these is like double clicking a program on your Windows machine.
You’re now a little wiser as to what all the different aspects of the terminal screen mean and I hope you’re slightly more fluent in understanding this powerful operating system.
My next post will be how to utilise all the commands you’ll need to run Gunbot in this environment. Alternatively, you can view this page on my website that will give you a breakdown of everything you’ll need to know.