➥ Linux terminal/ssh empty a file
The command is very simple:
> /home/user/file.txt