General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Emptying a file used by another Process
echo > filename
When I do this and do a df -k ., it shows that the space occupied has reduced after the operation. But when I do a ls -l on that file, I find that the file size is the same. Can somebody please explain how this happens. Is there any other ways of emptying a file that is used by another process?