Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

CS 1.5: What an investigator reads inside an OS

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

55 minutes

The laptop that went odd on Tuesday

A laptop starts acting strangely. You are asked to find out why. You cannot ask the laptop.

But the system keeps notes about itself. Settings, logs and running jobs are all written down. Today you learn where each lives.

Key words

WordWhat it means
InvestigationLooking closely at evidence to find out what happened.
Configuration fileA file of settings and instructions for an app or process.
RegistryA Windows store of settings for hardware and software.
LogA record of events, kept by a system.
Library and preferencesThe place where macOS keeps settings files.
File systemThe way a disk stores, manages and organises data.
ProcessA program that is running now.
EvidenceFacts that show what happened.

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can name six parts of an OS that an investigator reads, and say where each one is found.

Starter: what you already know

Have a go

Starter: what you already know

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Configuration files, registry, library

Each OS keeps its settings in a different place.

Linux keeps configuration files in one main folder. Each file has settings for an app or process.

Windows uses the registry. It is a store of settings for hardware and software.

macOS uses the library and preferences folders.

Extra: See the Linux configuration folder

Command
ls /etc | head -6

A command for the lesson’s lab terminal. It is shown here and not run.

Read the output

The run lists the first six names in the main configuration folder. Each name is a file or a folder of settings. An investigator reads these to see how the machine was set up, and if anyone changed it.

The exact names depend on the server.

Logs

A log is a record of events: sign-ins, errors, programs that started. Logs also monitor performance and the flow of traffic.

They are the first place to look. They show who did what and when.

Extra: See the log folder

Command
ls /var/log | head -5

A command for the lesson’s lab terminal. It is shown here and not run.

The lesson goes on

11 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.