ProgramGuru

Start Learning Linux

Start Learning Linux

Let's start with something familiar: a teacher has class lists, mark sheets and old reports to look after. A desktop app lets you click through that work. A Linux terminal gives you another route: type the operation you want, name the files it should work on, and inspect the result. You do not need to memorize a wall of commands before you can begin.

First, let's separate three names you will hear. Linux is the kernel, the central part that helps programs use the machine's resources. A distribution packages it with tools and applications. A terminal displays your conversation with a shell; the shell interprets the command text and launches the requested tools. We will build that understanding through small school-related tasks, then move into accounts and access permissions.

What you’ll learn

  • Distinguish a terminal, a shell and a Linux distribution.
  • Choose a disposable practice environment and read a command before running it.
  • Follow the course from paths and files to account and permission administration.

How a command reaches the filesystem

  1. Terminal

    Receives the text you type and displays the result.

    mkdir classroom
  2. Shell

    Interprets the command name and arguments, then launches the utility.

    mkdir + classroom
  3. Utility and Linux

    Request and check creation of the new directory.

    classroom/ exists after success
You are learning how to ask for a specific operation and understand its consequences, rather than just collecting command names.

Ask the shell to print a lab message

Prepare the example

For this first task, all you need is a Bash shell in a Linux terminal. We are only printing a message, so there is no account or file to create. If your terminal shows a prompt such as a dollar sign, leave that prompt out when typing the command. It belongs to the terminal display, not to the instruction.

Bash · Linux terminal

printf 'School lab ready\n'

Expected result

School lab ready

Here, printf is the command that produces formatted text. The single quotes keep the message together, and \n tells printf to finish with a newline, so the next prompt appears on a fresh line. Press Enter after the command; you should see the lab message immediately.

That small exchange is the pattern we will keep using: give a command a clear job, look at what happened, and check the result. Later, some commands will change files without printing anything. A quiet terminal will not mean the command failed; we will learn how to inspect the changed state and its exit status.

Try it, then check the worked answer

Your task: What interprets the command text typed into a terminal?

For this first task, all you need is a Bash shell in a Linux terminal. We are only printing a message, so there is no account or file to create. If your terminal shows a prompt such as a dollar sign, leave that prompt out when typing the command. It belongs to the terminal display, not to the instruction.

Bash · complete example for this question

printf 'School lab ready\n'

Expected result

School lab ready

Worked answer

The shell.

Think about the part that decides what the typed words mean. The terminal is the input-and-display interface. The shell reads the command text, recognizes its arguments and starts the operation. The filename extension is just part of a name; it cannot interpret a line of shell text.

Check your decision

What interprets the command text typed into a terminal?
Choose one answer. You can try again.

Answer and explanation

The shell.

Think about the part that decides what the typed words mean. The terminal is the input-and-display interface. The shell reads the command text, recognizes its arguments and starts the operation. The filename extension is just part of a name; it cannot interpret a line of shell text.

A terminal, a shell and Linux have different jobs

You are learning how to ask for a specific operation and understand its consequences, rather than just collecting command names. Keep the terminal, shell and distribution separate in your mind. Next we will learn where a command looks for a file, because even a correct command can act on the wrong place when its path is misunderstood.

Reaching the recap and completing the quizzes are separate milestones.

    Next lesson: Navigate Paths Before Changing Files →