Friday, February 3, 2023
Centos

Clear a file using /dev/null

Let’s clear the file contents

$ cat /dev/null > file.txt
(Visited 12 times, 1 visits today)
Baca Juga :  Membuat Alert Disk Space dengan Bash Script

Similar Posts