Site icon Mari Belajar Bersama

Clear a file using /dev/null

Let’s clear the file contents

$ cat /dev/null > file.txt
(Visited 41 times, 1 visits today)