Basics for Ubuntu beginners

Let’s first talk what Ubuntu is… It’s an operating system that is distributed to everyone free of charge. We call it, open-source. Since Ubuntu is open source there is a massive community for this operating system. Whenever you come across a problem you can always search it on the Internet to find a solution. It’s a distribution of Linux. Ubuntu is available in three flavors.
1) Desktop
2) Server
3) Core (Internet Of Things)

GNOME 3 has been the default GUI for the Ubuntu desktop since Ubuntu 17.10. If you are a programmer, Ubuntu should be your choice over Windows OS. Ubuntu is really safe to use. You can even run Ubuntu in your pen drive for testing purposes rather than installing it.

Okay, Let’s get started. If you are using Ubuntu for the first time in your life, you may feel like it’s really hard to use. But when you get used to it you will realize that it is more easy and fast to get a job done. This tutorial is useful for the people who just started using Ubuntu for the first time.

Open up your terminal. Once you open it you will see a “$” sign near the blinking cursor. Shortcut to open the terminal:- Ctrl + Alt + t

The first thing you will come across is a term called “sudo”. The meaning of sudo is “superuser do”. Now you will ask what does it mean. When you run a command with sudo, it will give the user to run that command at the root level. So before the operating system proceeds with the command, it will ask for the password of your computer. Let’s try the command below.

$ sudo poweroff

The next thing you should keep in mind is the path you are in. If you use the shortcut to open the terminal, it will always open in the home directory(like a folder). You can use cd to navigate into other directories.

I have navigated from the home location to the Projects directory which is inside the Documents folder.

As you can see in the above screenshot I have used ~/ after cd. That means I’m mentioning that I’m starting with the root directory. If not my command would be cd /home/username/Documents/Project/

Tip #1: You can use your tab button to auto-fill the command. Eg :- In the above example, I used the tab button after typing ~/Doc. So the terminal automatically filled the rest of it which is ~/Documents/

Next, we’ll see what nano is… nano is a user-friendly text editor which is shipped with Ubuntu. There are a variety of text editors available for Ubuntu. Eg:- Vim..
There are unique shortcuts for every text editor. You can select one text editor of your choice and get used to it. Try the commands which are mentioned below.

$ nano- Open the text editor
$ nano filename- If the filename file is already available, it will open or else a new file will be created with the name filename and it will be ready for text editing

Basic shortcuts for nano editor……
Ctrl + O- Save
Ctrl + X- Exit

Now the next most important thing is to install new software to your Ubuntu device. Unlike in the Windows operating system, you won't be able to install .exe files to Ubuntu. There are several ways of installing a software package on Ubuntu.

--

--

Software Engineer @WSO2 | Content Creator 💻

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store