What is the Shell in Linux?

Learn about the most powerful application in Linux!

Learn Linux - Shell

Many of our readers have requested me to write articles on learning Linux. Thanks for all the feedback pouring in. It has helped me a lot in understanding what most users are looking for when at FOSSLinux.com. I’m excited to introduce first article in this mega series – Linux Shell. You might have heard about this term used in Linux quite often. So, what is Shell?

The Shell is simply a program that takes the commands you give and then executes those commands to give an output. It something like a command line interpreter. Shell in Linux distributions is available for use from application called ‘Terminal’.

Let’s take a look at the following terminal in Manjaro Linux which is a distribution based on Arch Linux.

The content inside the [ ] is the username, the server name, and if that user is using the system as a normal user ($) or a superuser (#). The superuser (also called root) has administrative privileges. By default, you will always be logged as normal user. You should use ‘su’ command to login as superuser, but be careful before you attempt it. In that mode you should be absolutely sure of what you are doing since you are able to delete or overwrite any file on the system, including critical system files! At this point, just know about it, I will cover it in detail later. So, the blinking cursor is waiting to take your commands.

Terminal in Manjaro Linux GNOME
Terminal in Manjaro Linux GNOME

Now that you know what Shell is, let’s end this tutorial with a simple command to get started.

Type the following command to get your computer details.

uname -a

Uname command prints the name, version and other details about your computer including the Linux distribution running on it.

Uname command in Terminal
Uname command in Terminal

Note that although Shell is a command line interface, the mouse still works in the Terminal. You can scroll the contents of the terminal, you can copy text with the mouse by selecting and right-clicking on the text. You can also select the text, then move the pointer to next line command and center click to copy the selected text.

That’s it about the powerful tool Shell that’s going to change the way you interact with your computer.

Hi there! I’m Kiran Kumar, founder of FOSSLinux.com. I’m an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I’m using Linux Mint as a daily driver and run several other distros such as Fedora, Solus, Ubuntu, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I’m not writing for FOSSLinux, I’m seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread my love for Linux. If you find time, drop me an email or feedback from ‘Contact’ page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz