Home / Labs / Writing to Files

Writing to Files

Quick answer: echo 'text' > file writes text to a file and replaces what was there. echo 'text' >> file adds it to the end instead.

Send command output into files. Write once, then append, then read it back.

Open this lab

Commands practised here

Nearby labs