Quote:
Originally Posted by laknar
i need to empty a file which is already existing.
|
The command works also for an existing file :
Code:
$ ls -l my_file
-rw-r--r-- 1 Jean-Pierre Aucun 8943 Jul 4 18:55 my_file
$ > my_file
$ ls -l my_file
-rw-r--r-- 1 Jean-Pierre Aucun 0 Jul 4 18:56 my_file
$