Home / Labs / Creating Files

Creating Files

Quick answer: touch notes.txt creates an empty file. mkdir name creates a folder, and mkdir -p a/b/c creates the whole path at once.

Make the folders you actually want, then write down what you did so you remember it tomorrow. mkdir, touch and echo cover most of what you do with files in the first year.

Open this lab

Commands practised here

Nearby labs