Linux

Linux Practice

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.

linux-cliLinux CLI
Read the Linux overview
Module 1

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.

4
About this challenge

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

About this challenge

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

About this challenge

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

About this challenge

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

Module 2

File & Directory Operations

Learn how to create, copy, move, and link files safely - idempotent scaffolding, copies that preserve permissions and timestamps, guards against clobbering newer work, and hard and symbolic links in place of wasteful copies.

4
About this challenge

Create a nested project skeleton in one idempotent pass - rerun-safe, existing content untouched.

About this challenge

Copy and move files preserving permissions and timestamps, with a guard that never clobbers newer work.

About this challenge

Replace wasteful copies with hard links, track a replaceable target with a symlink, and hunt down broken links.

About this challenge

One deploy tool: scaffold the release, copy preserving, hard-link unchanged assets, atomically swap current.

About this path

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 challenges are there, and how hard are they?

8 challenges, 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.