Nguyễn Văn Nhật
New member
How do you empty a file in Linux without opening it?
Answer
5 Ways to Empty or Delete a Large File Content in Linux
Answer
5 Ways to Empty or Delete a Large File Content in Linux
- Empty File Content by Redirecting to Null. …
- Empty File Using ‘true’ Command Redirection. …
- Empty File Using cat/cp/dd utilities with /dev/null. …
- Empty File Using echo Command. …
- Empty File Using truncate Command.