- How to Get Started with Linux
- Choosing a Linux Distro
- Installing a Linux Distro Using an External Drive
- Installing a Linux Distro Using VirtualBox
- The Command Terminal
- Nano Editor
- How to Install Additional Software
- Conclusion
- About the author
- Zeeman Memon
- Getting started with linux
- Introduction
- An Introduction to the Linux Terminal
- Linux Navigation and File Management
- An Introduction to Linux Permissions
- An Introduction to Linux I/O Redirection
- Try DigitalOcean for free
How to Get Started with Linux
Linux is an open-source Unix-based operating system. It was first released by Linus Torvalds, but he wasn’t the only one who contributed to creating Linux. Being open-source, there were thousands of contributors and this led to the development of several distributions based on Linux. These distributions such as Ubuntu, Fedora, Arch Linux are referred to as Linux distros.
Linux was based on Unix, but it didn’t have the code of Unix – only their architecture was the same. With the emergence of an open-source OS, leading companies and technologies started preferring Linux and it replaced Unix. Today, the popularity of Linux is not the same as that of Windows, but some people and companies prefer using Linux over Windows due to Linux being lightweight, fast, secure, and open-source. The open-source factor is the primary one. Having the ability to create another OS out of it is appealing and the added security of a Linux kernel has boosted its popularity.
If you are also looking to jump on the bandwagon and try out Linux, this article should help you learn the basics of Linux and how to use it.
Choosing a Linux Distro
As stated before, there are several distributions of Linux available. Some distributions are based on others, and each has its pros and cons. So, selecting a distribution that suits your needs is important. Considering that you are just starting off with Linux, it is recommended that you choose Ubuntu, Debian, or Manjaro as they are user-friendly and easy to get started with as compared to others. Other distributions such as Arch Linux, Fedora, or Gentoo are for the people who have a good understanding of Linux and are experienced in working with it.
After choosing a Linux distro, the next step is to install it on your system. There are different methods to install and use the chosen distro on your computers. We will go through the two common ones using an external drive or by creating a virtual machine.
Installing a Linux Distro Using an External Drive
External drives refer to DVDs and USBs. If you have any of these, you can either install it on your system or use the bootable drive. But before any of that, you need to boot the distro on your system.
Start with plugging in the USB or DVD containing the distro and restart your computer. When you restart the computer, the booting process should start automatically.
In case it doesn’t, you need to change the “boot order” of your BIOS or UEFI or select a “boot device”. There are different ways of accessing the BIOS/UEFI of different systems. Figure out how to do it on your system and change the boot order or select a boot device. With the latest computers having Windows 10, you may have to disable the “Secure Boot” feature to boot a Linux distro.
Installing a Linux Distro Using VirtualBox
The second method to use Linux on your computer is through a virtual machine. VirtualBox allows users to run multiple operating systems at a single time. It creates a separate environment for the virtual machine, so you can work on your primary OS and the machine simultaneously.
To use the distro on VirtualBox, you need to first install it. Follow the steps given below.
Open your web browser and type VirtualBox in the search bar. Go to the website and select the download option.
Once you’re there, choose the package for the platform you are using as the primary OS.
Your work doesn’t end there. After installing VirtualBox, you need to set up a new virtual machine on it. There are various steps you need to go through. So if you find yourself in a pickle and if you can’t set up a virtual machine on your own, this step-by-step guide on VirtualBox should help you out.
The Command Terminal
No matter which distro you are using, the “Terminal” is the cornerstone of each one. The terminal is a CLI by which users can control their computer using executable commands. It is the primary feature of Linux, and it allows you to communicate with your computer in a deeper way. To fully enjoy Linux, mastering the terminal is important. The commands can perform anything that you can do using the GUI. Some of the basic commands you should know about are given below.
Mkdir | Creates a directory in the directory you are present in |
Cd | Takes you to another directory of your choice |
Date | Gives the current date and time |
ls | Displays the list of files and folders in a directory |
cp | Used to copy directory, files, folders, and their contents |
mov | Moves files, folders, and their contents |
pwd | Shows the current working directory |
rm | Deletes a file |
kill | Terminates the current process |
find | Searches for anything you want |
rmdir | Deletes a directory |
These are some of the main commands that can be used to perform the basic everyday tasks on your system.
Nano Editor
To create text files using the Terminal, we use the GNOME Nano command-line text editor. Using Nano, you can create files of different extensions. For example, if you want to create a coded java file, we can use the command:
You can type a Java code, compile, and run it using other commands. So, you can learn Java using Linux and its Terminal as well.
How to Install Additional Software
When you successfully boot a Linux distro, some applications come built-in such as the Firefox web browser, there is the “LibreOffice” which is the Linux alternative for Microsoft Office, the “Thunderbird mail” with Ubuntu, etc. But obviously, you would want to install additional applications according to your needs and liking. To cater to this, there are Software Stores available with some distros such as Ubuntu and Fedora. For others, you can install the required software from your browser and the Terminal. Some commands let you add “repositories” of the applications, and you can install them using:
Conclusion
This article went through the ways you can install and use Linux distros on your systems. We also attempted at guiding you through the basics and how to navigate through the early problems you might face while using Linux as a beginner. The distros of Linux are quite fun to use if you get the hang of it. We hope that this article helped you out and you will enjoy the Linux experience.
About the author
Zeeman Memon
Hi there! I’m a Software Engineer who loves to write about tech. You can reach out to me on LinkedIn.
Getting started with linux
Introduction
If you are new to Linux and its command line interface, it may seem like a daunting task to get started with it. This series will bring you up to speed with essential Linux basics, and provide a solid foundation for working with Linux servers. If you have little to no knowledge about using Linux, this is where you will want to start.
// Tutorial //
An Introduction to the Linux Terminal
This tutorial covers getting started with the terminal, the Linux command line, and executing commands. If you are new to Linux, you will want to familiarize yourself with the terminal, as it is the standard way to interact with a Linux server.
// Tutorial //
Linux Navigation and File Management
Navigating and manipulating files and folders in the filesystem is a key part of working with most computers. Cloud servers mostly use the same common Linux shells, and common Linux commands, for working with files and folders. This terminal will introduce some fundamental skills for using these commands.
// Tutorial //
An Introduction to Linux Permissions
Linux is a multi-user OS that is based on the Unix concepts of file ownership and permissions to provide security at the file system level. If you are planning to improve your Linux skills, it is essential that you have a decent understanding of how these work. In this tutorial, we will cover how to view and understand Linux ownership and permissions.
// Tutorial //
An Introduction to Linux I/O Redirection
The redirection capabilities built into Linux provide you with a robust set of tools used to make all sorts of tasks easier to accomplish. Whether you’re writing complex software or performing file management through the command line, knowing how to manipulate the different I/O streams in your environment will greatly increase your productivity.
Try DigitalOcean for free
Click below to sign up and get $200 of credit to try our products over 60 days!