Saturday, January 18, 2025
Centos

Clear a file using /dev/null

Let’s clear the file contents

$ cat /dev/null > file.txt
(Visited 36 times, 1 visits today)
Baca Juga :  How to Install Visual Studio Code on CentOS 8

Similar Posts