1 Answer
You can use the truncate command to empty the values inside a file as shown below
truncate -s 0 file1
Your Answer
x