OpenSource For You

Empty a file using cat

- —Prashant Shah, pshah.mumbai@gmail.com

To delete the contents of a large text file just run the following command:

$cat /dev/null > filename

 ??  ??

Newspapers in English

Newspapers from India