3 ms·
To clear only the contents of a file (my most used and most favourite one esp with application logs) cat /dev/null > any_file.txt
by KishanB 9y ago
To clear only the contents of a file (my most used and most favourite one esp with application logs)
cat /dev/null > any_file.txt