Friday, April 25, 2025
Centos

Clear a file using /dev/null

Let’s clear the file contents

$ cat /dev/null > file.txt
(Visited 41 times, 1 visits today)
Baca Juga :  Failed to download metadata for repo ‘AppStream’ [CentOS]

Similar Posts