Skip to main content

What Is The Difference Between Shell, Console, And Terminal?

What Is The Difference Between Shell, Console, And Terminal?

What Is The Difference Between Shell, Console, And Terminal?
What Is The Difference Between Shell, Console, And Terminal?


As technology progresses, lines get blurred between objects and concepts that were previously very distinct. Words can be colloquialized to share the same meaning when they once had their own. Sometimes multiple devices can be melted down into a single box without any sign of their separate technological lineage. Something similar happened to the shell, the console, and the terminal.
For many years now, the wireless router has been the backbone of internet connectivity in most homes and many small offices. But many people fail to realize (except for the technically astute among you) that the device is actually made up of several devices that used to be independent of one another and quite well-defined. A typical wireless router, even the cheapest of cheap, contains a wireless access point, ethernet switch, router, stateful firewall, DNS server, DHCP server, QoS engine, and sometimes many more features (such as a DSL/coax modem). As a result, the technical layperson might refer to this device as “the wireless,” a modem, a router, or simply “the internet box.” All of which fail to encapsulate the whole story, and that’s only one example (and not even what this article is about).

Shell, Terminal, and Console — How are they different?

Anyone who has tried their hand at an operating system outside the realm of Microsoft and Apple in any serious capacity has undoubtedly come into contact with the command line interface. What do you call it? The shell? The console? The terminal? Does it matter? They all mean the same thing, right? The answer to that is yes and no. Just like the wireless router, these used to be (and technically still are) different parts of the same whole, despite the words sharing their meanings.

What is a Terminal?

To understand what a terminal is, we have to go back to the mainframe days. Mainframes were computers with many users. They were common in large businesses and on college and university campuses. But when you have dozens of people that want to use one computer at the same time, how do you make them share it? In today’s words, we would give them each a monitor, a keyboard, and a mouse. In the era of the mainframe, terminals were used. A ‘terminal’, as defined by dictionaries, is either the end of something or a point of contact, sometimes both. Mainframes had terminal stations equipped with a display and keyboard scattered around the premise. They were endpoints where users could access the mainframe.

What is a Console?

Today, consoles can be entirely in software, but that wasn’t always the case. Consoles go hand in hand with terminals. With respect to a mainframe, a console was both the port and the digital connection to the mainframe operating system from the terminal. A broader definition of a console is a desk or dashboard like the interface from which a system is controlled and/or monitored. The terminal would be physically connected to the console port on the mainframe so that the user could control the mainframe digitally. On a Linux system you can press <ctrl> + <alt> + <F1 | F2 | F3 | …> to reach the different software consoles. Many systems still have serial-based console ports for management, such as professional network equipment.

What is a Shell?

The shell has a funny name, but only because the ‘kernel’ of an operating system is an even funnier name. A shell is the piece of material that wraps around a kernel. In computers, there is no difference (except that the shell and kernel are software). The shell is the command line interface you interact with. Examples of shells are BASH, CSH, and ZSH. The shell takes hand-typed commands and tells the operating system to execute them, or can take scripts and interpret logic within them in addition to instructing the operating system to execute the commands contained in the script.

Shell vs Console vs Terminal

So, what is the actual difference between shell, console, and terminal? The terminal connects to the console where the shell is presented. That’s simple enough, right? There are some other pieces of terminology that might be useful, though. A TTY is a teletypewriter. It is essentially the equivalent of the console port but is often virtualized in software. If you jump to a different virtual console on your Linux machine using the above keyboard combination and login in, you can see the multiple consoles with logged in users by running the who command. Then there are PTS devices which are Pseudo Terminal Slaves, a virtual device of sorts. They are a form of TTY, but one that is emulated to allow a TTY connection over a network or some other means. SSH and Telnet are good examples of programs that use PTS devices.
Over time, many words in technology have fallen victim to over generalization that tends to hide a rich and adventurous history of innovation and evolution. Considering this, it might be worthwhile to curb our adoption of reductive vernacular in an effort to preserve this history and possibly allow for a more technically informed layperson in the future.




Comments

Popular posts from this blog

Top 8 Best WhatsApp Tips And Tricks Of 2017

Top 8 Best WhatsApp Tips And Tricks Of 2017 M illions of people are using WhatsApp these days. It is as popular as Facebook, Twitter or Instagram. With millions of users, we can presume that most of the people at least use it once in a day. And everybody thinks that they know everything about WhatsApp. Maybe some of them do. But most of the people doesn’t, because technology won’t stop. There are always more tips and tricks which you can learn and use anytime. So that’s why today I am going to tell you about Top 8 Best And Cool WhatsApp Tips And Tricks which will definitely help you to become WhatsApp pro. So check out the Tricks in the description below. Top 8 Best WhatsApp Tips And Tricks Of 2017 1. Create Chat Shortcuts If you are chatting with 2 or 3 people at the same time on WhatsApp like with your girlfriend, wife, and with others, it won’t be easy to manage all those chats. So to make it easy, you can create conversation shortcuts to your home screen so that you don’t need to o...

Why Does 64-Bit Windows Need a Separate “Program Files (x86)” Folder ?

Why Does 64-Bit Windows Need a Separate “Program Files (x86)” Folder ? Why Does 64-Bit Windows Need a Separate “Program Files (x86)” Folder ? If you are currently running any version of 64-bit windows operating system, you might have noticed that there is two types of programs files. One is the regular program files and another one is programs files (X86). Well, in this article, I am going to delineate between these folders and help you to understand why Windows really need both of them. 32-bit and 64-bit Computers and Windows Since the mid of 90s, almost all PC were running on 32-bit Windows. But after the release of Windows 7, the sales of 64-bit Windows computer started and there were two programs files have installed in 64-bit Windows 7 computers. 64-bit PCs gained more popularity with times over 32-bit PCs. People will prefer 64-bit computers because they can handle much more RAM (memory) and they are generally faster because they use more advance...

A Lone Hacker Defaces The Google Brazil Domain, Google.com.br Unavailable To Brazilians

A Lone Hacker Defaces The Google Brazil Domain,  Google . com .br Unavailable To Brazilians Google . com .br was hacked by a lone hacker on Tuesday afternoon. The hacker left a deface page along with a message on the targeted Google Domain greetings his friends for the successful attack on such a highly reputed domain. This is the 2 nd  time in a week, when  Google . com .br has hacked after the Google Bangladesh website is hacked by Pakistani hackers. Here’s the full preview of the defaced page, “It was a great moment to die.” Hacked by Kuroi’SH! Too Google at once, I don’t even care; f**k the jealous hates such as Nofawkx. Two Google at once world record idgaf :D. Greets to my friends Prosox & Shinobi h4xor.” Google Brazil immediately tried to restore the hacked website, but unable to gain control as the domain. But now  Google . com .br is available to visitors. According to Brazil media reports, the Google Brazil users were getting the defaced message from Ku...