Posts

Version Control Basics

Image
Version Control Basics Git is a version control system that allows its users to see code changes made over time and thus creates a way for multiple users to collaborate on code whereas GitHub is cloud-based coding platform for git. To get started with git, it is necessary to install it on your Linux machine which can be done via the Linux command line terminal. The command below installs git. sudo apt install git -y We'll also need to configure git by adding our credentials which can be done with git config --global user.name " YOUR-NAME " git config --global user.email " YOUR-EMAIL " To verify that you have properly entered the latter, the following command can be used: git config --global --list Some fundamentals of Git are: Creating a repository - Commit - Cloning a repository Creating a repository We'll need to create a folder to house that repository, which can be done using the mkdir command: mkdir ~/  A-LOCAL-REPOSITORY-NAME We are now going to initia

Simple Linux Commands

Image
Simple Linux Commands Getting into Linux, it is primordial to learn the basics of the Linux shell, a program that takes commands from the keyboard and gives them to the operating system to perform. This blog serves to demonstrate some simple Linux commands as a learning tool. We use a program known as the terminal(terminal emulator) which allows us to interact with the shell. The 4 commands that will be demonstrated are: ls , cd , pwd and mkdir . When opening the Linux terminal, the last character of the shell prompt should be "$" sign, however if you have the "#" sign instead, this can be quite dangerous since we are operating as a superuser; someone with admin privileges and we can delete or overwrite any file on the system. ls - List This command will list all the files and directories of a specified directory in alphabetical order by default. There are multiple flags that can change the behavior of a command and some common flags are: --help : when used as an a

Installing Ubuntu on Windows 11 with python support on VirtualBox

Image
Installing Ubuntu on Windows 11 through virtualization Hello, I am going to describe the steps to installing ubuntu on windows 11 on VirtualBox I hope you find this guide useful. If you already have VirtualBox, you may skip to step 5. Step 1: Download virtual box  Select 'windows hosts' If you want python support and you don't have the required resources, there are some additional steps to be followed, otherwise skip to step 4 Step 2: Download and install python Download Python | Python.org Click on add python.exe to PATH If all went well, you should end up with: Step 3: Once python is installed, open cmd and execute the below command: pip install pywin32 It should look like this: Step 4: Proceed with virtual box installation Open and Install VirtualBox This is how it should look when you open VirtualBox after installation Step 5: Download Ubuntu LTS(Long Term Support) version is highly recommended This is a very large file, therefore, it might take up quite some time to do