mrgoblin logo

mrgoblin

Linux giggles #0: Introduction

Tue Sep 15 17:41:33 2026 UTC

Hi! It is the pilot episode of "Linux giggles" - series where I post about Linux for beginners. Today I will tell you about terminal and shell.

Terminals were physical devices with a keyboard for input and screen or printer for output (ones with printer are called teletypes). They were the only way to interact with a computer.

But now most users have a keyboard and monitor or laptop screen, so physical terminals are dead. Instead of those we have terminal emulators such as xterm, Konsole, st, Alacritty and others. Which one do you use?

A program called shell shows you a prompt, takes your input (the command line), splits it into arguments and runs the command. On your system it mostly will be sh, bash or zsh.

Basically, when you start a terminal emulator, it runs the shell. You will see the prompt which probably will show your username, hostname and current working directory:

rex@debian:~$

The "~" (tilde) represents your home directory. The real path to your home is usually /home/your_username. It can also be useful to know that you can access to some user's home with ~the_username.

Please leave a comment. See you!


☞ From Dronix (unverified) Sat Sep 19 22:43:35 2026 UTC pencil

Spells in shells

Hello. In this post you didn't described anything about shell except that such thing exist. However, there are many shells: from Bourne Shell (Unix V7), ksh (System V) and its variants (openpdksh in OpenBSD, mksh in MirBSD) to ash (FreeBSD, NetBSD, Debian). Also Duff's RC for Unix V10 and Plan 9 which is just the shell as it always meant to be.

So, I think shell is important enough to has it's own article.