Kolam Ayer MakersLinux Foundations

File Creation

Core Idea

Creating a file means creating a directory entry and, usually, initial file content.

The important question is not only “did a path appear?” It is also “what content and metadata did I create?”

Course Tools

Proof Checks

touch ~/playground/empty.txt
ls -l ~/playground/empty.txt
printf 'hello\n' > ~/playground/hello.txt
cat ~/playground/hello.txt

Use ls -l to prove the path exists. Use cat, less, or bat to prove content.

Watch Out

Empty files can be useful as markers, but most course proof needs content.

Docs Pointers