Skip to main content
LEARN / SYSTEMS & INFRASTRUCTURE / LINUX

Learn the system.
Own the terminal.

Linux is everywhere—from application servers and network appliances to cloud workloads. Learn how to navigate, inspect and reason about a Linux system before changing it. Then put those skills to work in an interactive Northstar terminal.

Beginner → Applied5-phase curriculumPhase 01: Command LineFree · No account
YOUR LEARNING PATH / FIVE CONNECTED PHASES

Your roadmap, without the detour.

Start reading Phase 01 right here. Each following phase has its own written lesson and interactive investigation—no second introduction or separate start page.

— / 5phases complete
PHASE 01START HERE

Linux Fundamentals & the Command Line

Know your environment. Prove your commands.

Learn + interactive workbench
Read Phase 01 ↓
PHASE 02NEXT STEPS

Users, Permissions & Security

Least privilege starts at the file level.

Learn + interactive workbench
Explore Phase 02 →
PHASE 03NEXT STEPS

Services, Processes & Software

When a service fails, read before restarting.

Learn + interactive workbench
Explore Phase 03 →
PHASE 04NEXT STEPS

Linux Networking & Storage

Prove the path and the mount.

Learn + interactive workbench
Explore Phase 04 →
PHASE 05CAPSTONE

Operations, Maintenance & Capstone

Make the change. Verify the service.

Learn + integrated capstone
Explore Phase 05 →

Progress is optional and stays in this browser. You can open any phase at any time.

PHASE 01 / LINUX FUNDAMENTALS & THE COMMAND LINE

Before you administer Linux, understand how to move through it.

Our starting point is an analyst with a normal user account on a fictional Northstar application server. There is an application warning in the logs. You'll learn the essential commands, read the evidence, save your observations and stop short of an unauthorized system change.

By the end, you should be able toDistinguish kernel, distribution, shell and terminal; navigate absolute and relative paths; inspect a Linux filesystem; search and count log evidence; write safely in your own workspace; and explain what you can—and cannot—conclude from the output.
01 / KNOW YOUR ENVIRONMENT

Linux isn't just a command prompt.

Linux technically refers to the kernel—the part of the operating system that coordinates hardware, processes, memory and filesystems. A distribution, such as Ubuntu Server, Debian or Rocky Linux, assembles the kernel with utilities, a package manager, services and defaults. Different distributions may manage software and security policy differently, but many command-line tools are shared.

01 / KERNELControls system resources

Schedules processes, manages memory and provides interfaces to devices and filesystems.

02 / DISTRIBUTIONProvides a complete system

Packages, updates, default configurations and utilities determine the administrative environment.

03 / SHELLInterprets your commands

Bash is common, but not universal. Shell syntax such as pipes and redirection connects tools.

04 / TERMINALWhere you interact

A terminal application displays the shell's input and output; it is not the operating system itself.

Scenario mindset

When someone says, “The Linux server is down,” identify what actually failed. An SSH login issue, a failed systemd service, an unreachable application and a full filesystem may present similarly to users but demand different evidence.

02 / PRACTICE OUTSIDE JOELEARNS EARLY

Set up a real Linux environment alongside this lesson.

You should practice the commands in a real Linux environment from the beginning. Our simulator gives immediate, repeatable training feedback, but it cannot reproduce a full kernel, package manager or actual access controls. Choose one of these practical approaches.

WINDOWS / SIMPLE START

WSL with Ubuntu

Open an elevated PowerShell window on a supported Windows version, then run the Microsoft-provided installation command. Restart if prompted, launch Ubuntu, and create your Linux user.

PowerShell (Administrator)wsl --install
After Ubuntu openspwdls -lawhoami
Microsoft WSL setup documentation ↗
FULL SERVER EXPERIENCE

Dedicated Linux virtual machine

Install a supported Ubuntu Server or other Linux distribution in a VM. Practice with a non-root user, take a VM snapshot before major experiments, and keep the VM on a controlled network.

In your installed Linux VMpwdls /etcman ls

VM snapshots are a rollback convenience, not a substitute for tested backups.

Ubuntu Server documentation ↗
Learning habit

Try each example once in the JoeLearns simulator, then repeat it in your Linux system using paths that actually exist there. Northstar-specific directories are fictional; never assume /etc/northstar is present in your installation. Some changes to real machines can be destructive, so use a dedicated training VM and avoid privileged commands until you understand them.

03 / THE FILESYSTEM IS THE MAP

Everything starts under /.

Linux filesystems are organized beneath one directory tree. A path beginning with / is absolute, independent of where you're currently working. A path without that leading slash is relative to the current directory. The symbol ~ normally expands to the current user's home directory in common shells such as Bash.

/
Root

The top of the filesystem tree. It is not the root user's home.

/home
User homes

Personal files for ordinary local accounts, such as /home/analyst.

/etc
System configuration

Service and system configuration; generally do not modify without understanding its owner and impact.

/var/log
Logs

Variable data used to troubleshoot service failures; access may require permissions.

/srv
Service data

Data served by some system services, when a distribution or administrator uses this layout.

/usr
Installed programs

Shared programs, libraries and related files; /bin may resolve into /usr/bin on modern distributions.

/tmp
Temporary files

Short-lived scratch space; retention and cleanup policies vary.

/proc
Kernel interface

A virtual view of process and kernel state, not normal files on disk.

Not every distribution has precisely the same arrangement, and several top-level names may be symbolic links. Treat directory names as useful conventions rather than permission to edit everything beneath them. In particular, /root is the administrative account's home directory; / is the filesystem root.

04 / COMMANDS HAVE CONTEXT

Navigate, inspect and ask for help.

A Linux shell prompt often includes the logged-in user, hostname and current working directory. The prompt might end with $ for a regular user or # for a privileged shell, though prompt symbols are configurable and are not proof of permissions. Run whoami and id to check your actual identity.

pwd

Show the current directory.

ls -la

List entries, including dotfiles, with additional metadata. Names beginning with a dot are hidden by default from basic ls.

cd /var/log

Move using an absolute path.

cd ..

Move to the parent directory; . means the current directory.

cd ~

Return to your home directory in Bash.

find /var/log -name '*.log'

Search for file names. Quotes prevent a local shell from expanding the pattern too early.

Predict before you type

If you're in /home/analyst/workspace, the relative path ../README.txt points to /home/analyst/README.txt. If you're in /var/log, it points somewhere entirely different. Always know your working directory before using a relative destination in a file-changing command.

05 / TEXT TOOLS TURN LOGS INTO EVIDENCE

Read only what matters. Preserve what you found.

Text-based logs are among the first resources a Linux administrator checks. Start with safe inspection: cat for short files, head or tail for a bounded view, grep to isolate matching lines, and wc -l to count lines.

cat /etc/hostname

Print the contents of a small file. Use head or tail for large logs.

grep -n ERROR /var/log/northstar/app.log

Find matching log lines and display line numbers.

grep ERROR /var/log/northstar/app.log | wc -l

Send matching lines to a line counter. Pipes connect standard output to standard input.

grep ERROR /var/log/northstar/app.log > ~/workspace/findings.txt

Write evidence into a file you own. The single > replaces existing contents.

A pipe (|) connects one command's standard output to another command's standard input. For example, grep ERROR app.log | wc -l counts matching lines rather than showing them. The single > redirects output to a file and overwrites it; >> appends to an existing file. Commands can also write errors to a separate stream, standard error, which is not automatically included in every pipe.

Why this matters in an incident

“Two permission-denied errors were logged while opening a certificate file” is a useful observation. “The file permissions are definitely wrong, so run chmod 777” is an unsupported conclusion and a hazardous recommendation. Preserve output first; gather ownership, mode and service-account evidence before proposing any correction.

06 / SIMPLE COMMANDS CAN CHANGE STATE

Make file changes in a safe workspace.

Common utilities include mkdir (create a directory), touch (create or update a file timestamp), cp (copy), mv (move or rename), and rm (remove). Those commands can alter important data in a real Linux environment. Work in a private training folder rather than experimenting in /etc, /srv or production logs.

mkdir ~/workspace/demo

Create a folder in your own workspace.

touch ~/workspace/demo/notes.txt

Create an empty note. A real touch also updates timestamps for existing files.

echo "initial finding" > ~/workspace/demo/notes.txt

Write a note; a single > replaces its contents.

cat ~/workspace/demo/notes.txt

Read back what was written before continuing.

In the workbench below, file-changing commands are intentionally restricted to ~/workspace. It cannot modify the system configuration or the real computer you're using. In a real shell, permission bits and identity determine access, and unapproved use of sudo can create significant risk.

07 / FROM LOCAL TERMINAL TO ADMINISTRATION

Remote access changes the stakes.

Administrators commonly connect over SSH to inspect Linux servers remotely. The real command ssh analyst@server.example attempts an encrypted session, but it is not inherently read-only. Confirm the hostname, environment and account before running commands. Prefer a standard account with approved least-privilege elevation for administrative changes.

INSPECTRead help before guessing

Use man COMMAND or COMMAND --help in a real shell to review syntax and potentially destructive flags.

VERIFYUnderstand the target

Confirm user, host, environment, current directory and expected state before editing files or restarting services.

PROTECTLeave evidence intact

Keep observations separate from fixes; use approved change procedures, backups and rollback plans where needed.

Linux is case-sensitive: App.log and app.log can refer to different files. Spaces and characters such as *, > and | may have special meaning to the shell; quote paths and patterns appropriately. Phase 02 will dive into accounts, modes, ownership, sudo and secure remote access.

08 / INTERACTIVE APPLICATION

Your first Northstar Linux investigation.

The intranet service reported repeated start-up errors. You have an unprivileged analyst shell and a known service log path. Your assignment is to navigate, inspect its configuration, filter and count the errors, and save evidence into your own workspace. You are not authorized to change service configuration or file permissions.

HANDS-ON WORKBENCH / PHASE 01

Northstar Linux Terminal

Explore a realistic virtual filesystem, inspect an application log, and write an evidence note. The responses change based on the commands you enter.

SANDBOX SIMULATION
analyst@northstar-linux-01 · bash-like training shell
Northstar Linux training shell · user: analyst · host: northstar-linux-01
This is a safe, browser-only simulation. No real device, file system or network is accessed.
Type help to see available commands, or start with pwd.
↑ / ↓ command historyAll commands simulated · no outside access
TRY A COMMAND

Selecting a suggestion fills the command line. Press Run to execute it in the simulated filesystem.

Supported commands & simulation limits
Navigation

pwd · ls · ls -la · cd · find

Read & filter

cat · head · tail · grep · wc · | · < none

Workspace changes

echo · > · >> · mkdir · touch · cp · mv · rm

Environment & help

whoami · id · hostname · uname · man · help · clear

Commands are implemented only for this exercise. Quoting, paths, one pipe and output redirection have limited support; this is not a complete shell. Changes are restricted to your ~/workspace and disappear when the page resets. Do not paste secrets.

TECHNICIAN CHECKPOINT

Complete the evidence checklist to unlock the debrief.

This exercise is about working accurately with Linux commands. You are not expected to repair an application or change system security in Phase 01.

09 / VERIFY YOUR UNDERSTANDING

Leave the lesson with a repeatable method.

A responsible first investigation ends with an evidence-backed summary and a clear next action. You should be able to reproduce the command sequence in your own Linux environment with real file paths, and explain why a successful command is not automatically proof that the original application problem is resolved.

01Orient

Check your user and working directory, then identify absolute paths to relevant evidence.

02Observe

Read configuration and logs without changing the system; identify commands that isolate the needed facts.

03Preserve

Save relevant output in a writable location and keep reported errors separate from hypotheses.

04Handoff

State the failing operation and the next checks; do not make an unapproved security change.

NEXT IN THE LEARNING PATH / PHASE 02

Users, Permissions & Security

The certificate-read error is a natural next investigation. In Phase 02 we'll examine file mode bits, ownership, service identities, sudo, access control and SSH keys before deciding what permission change—if any—is justified.

Continue to Phase 02 — Users, Permissions & Security →
AFTER THE LESSON / PRACTICE & LAB

Read the lesson before starting the Northstar terminal. Then reinforce the commands in your own Linux installation. These exercises are designed to work together.

CONTINUE YOUR LEARNING PATH · LINUX SYSTEMS ADMINISTRATION

Continue to the next milestone

You've reached the end of this written lesson. Your next step is learn: Users, Permissions & Security. Complete that milestone before moving to the following lesson. You can revisit the explanation whenever you need it. Next: milestone 2 of 5.

Your completion marks are saved in this browser only.