Linux Labs

First steps / Stage 7 of 15

Creating and organising files

Not running Starting usually ~20 s
Leave the lesson

Step 9 of 10 · lab · 15 mineasy

Tidy up a directory

Clear out what a build left behind and put the files in their places without losing the working data.

Situation

A build left temporary *.tmp files and a leftover old directory in ~/workspace, and the notes are mixed in with the tables. A colleague asks you to tidy it up. The *.csv tables are working data: they must not be lost.

Task

Make it so that:

  1. no temporary *.tmp files are left, neither in ~/workspace nor in its subdirectories;
  2. the ~/workspace/old directory is gone;
  3. the *.txt notes sit in a ~/workspace/text subdirectory;
  4. every *.csv table sits directly in ~/workspace, with its contents unchanged.

Lab · on your own

No commands are given in this lab: type them in the terminal yourself. Goals are checked on the machine after every command.

Goals

0 of 4
  • No *.tmp files in ~/workspace or its subdirectories — not done yet
  • Directory ~/workspace/old is gone — not done yet
  • The *.txt notes sit in ~/workspace/text — not done yet
  • Every *.csv table sits in ~/workspace with its contents unchanged — not done yet
Ctrl+Enter
Starts the machine node1 · Ubuntu 24.04

The machine is starting

Hints

0 of 3

Lab goals

0 of 4
  • No *.tmp files in ~/workspace or its subdirectories — not done yet
  • Directory ~/workspace/old is gone — not done yet
  • The *.txt notes sit in ~/workspace/text — not done yet
  • Every *.csv table sits in ~/workspace with its contents unchanged — not done yet
node1 Ubuntu 24.04

Lab goals

0 of 4
  • No *.tmp files in ~/workspace or its subdirectories — not done yet
  • Directory ~/workspace/old is gone — not done yet
  • The *.txt notes sit in ~/workspace/text — not done yet
  • Every *.csv table sits in ~/workspace with its contents unchanged — not done yet
Loading…