StaffCoder
Linux

Linux Command Line Exercises

Linux CLI
2 modules · 8 challengesSign up
Modules2 modules · 8 challenges
Module 1 of 2 · 4 challenges

Filesystem Navigation & Paths

Learn how to move through the filesystem with confidence - resolve any path to its canonical form, list everything a directory really holds, and identify files by their content instead of their names.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Resolve The Right Path

Sign up to unlock
50%4 of 8 solvedeasy
About this challenge

Turn any reference - relative, symlinked, tilde-anchored - into one canonical absolute path, from any launch directory.

Solved in a browser IDE and graded by tests. Sign up to solve

Hidden Inventory

Sign up to unlock
33%1 of 3 solvedeasy
About this challenge

List a directory completely - dotfiles, entry types, symlink targets, and newest-first ordering.

Solved in a browser IDE and graded by tests. Sign up to solve

What Is This File Really

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Identify files by their content, not their names, and read true sizes and timestamps from filesystem metadata.

Solved in a browser IDE and graded by tests. Sign up to solve

Directory Audit Report

STAR
Solving it completes the module
100%1 of 1 solvedeasy
About this challenge

Audit a mystery tree in one pass: every entry, its content-derived type, real metadata, and resolved links.

Solved in a browser IDE and graded by tests. Sign up to solve

About this path

Learn how to work a real Linux system from the terminal - navigate and inspect the filesystem, manage files, permissions, and processes, script the shell, and administer users, services, storage, networking, and security the way it is done in production.

This path starts with the Linux terminal itself: moving around the filesystem, and working with files and directories. You don't need any earlier experience with Linux or the command line. The file operations module covers creating, moving and linking files safely, and ends with a release directory builder.

Frequently asked questions

4

What will I practice in this path?

2 modules: Filesystem Navigation & Paths and File & Directory Operations.

How many Linux exercises are there, and how hard are they?

8 exercises, all easy.

What does this path run on?

Challenges run on Linux CLI.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.