Thursday 4 July 2019

Linux command to make nullable size of existing file.

Below is the command to delete the content of the existing file and make zero size of the file. Please make sure make backup of the file.

cat /dev/null > nohup.out

No comments:

Post a Comment