Finding my way around the terminal
By using pwd, ls,cd.It looks intimidating at first — a black screen, a blinking cursor, no icons, no menus — but it is simply another way of talking to your computer. Instead of pointing and clicking, you type instructions and the system responds immediately. This lesson introduces you to what a terminal actually is, how to read what it shows you, and how your computer organizes every file and folder you will ever create. 1. What Is a Terminal? A terminal — also called a command-line interface, or CLI — is a text-based program that lets you communicate directly with your operating system. You type a command, press Enter, and the system carries it out and shows you the result. There is no dragging, no clicking, no visual windows to manage. It helps to understand where the terminal sits relative to the graphical interface you already know. When you open File Explorer on Windows or Finder on a Mac, you are looking at a visual wrapper built on top of the same underlying file system that the terminal exposes directly. Both are doors into the same house — the terminal is simply the door that gives you the most direct, most powerful access. Why This Matters As a developer, you will use graphical tools often, but the terminal is where servers are configured, where code is deployed, and where many professional tools only exist. Learning it early removes a barrier that trips up a lot of beginners. On Ubuntu Linux, the default terminal application is called the GNOME Terminal. You can open it in two common ways: press Ctrl + Alt + T on your keyboard, or search for “Terminal” in the application launcher. © Adesina Olagunju | African Institute for Computing Excellence | 1 What Is Ubuntu? Ubuntu is a popular, free, and open-source Linux-based operating system, widely used in software development, server administration, and cloud computing. A large share of the servers behind fintech platforms, e-commerce systems, and mobile money infrastructure across Africa run on Ubuntu or a similar Linux distribution — which is exactly why it is the environment this course is built around. 2. Understanding the Terminal Prompt When you open the terminal, the first thing you see is a prompt. It typically looks something like this: yourname@ubuntu:~$ This single line is telling you four things at once: yourname — the username of the person currently logged in ubuntu — the hostname, i.e. the name of the computer ~ — the tilde symbol, which represents your home directory $ — the dollar sign, signalling that the terminal is ready to accept a command The cursor blinks right after the dollar sign — that is where whatever you type will appear. As you move between folders later on, you will notice this prompt changes to reflect exactly where you are, which is one of the terminal's quiet but very useful habits: it always tells you your current location before you ask. 3. The File System — Paths and Directories Everything stored on a computer — every document, photo, program, and piece of code — is organized in a hierarchy of directories (folders) and files. This organizational structure is called the file system. In Ubuntu, this hierarchy starts at a single point called the root, represented by a forward slash
Show less
10
1
0
Love
0Reply

