Truncate NGINX log files in Linux (Debian, Ubuntu, CentOs)
![Midnight Commander in Putty looks fine](https://markimarta.com/wp-content/uploads/2014/01/mc-03-150x150.png)
In Linux OS (Debian, Ubuntu, CentOs) log files of web server can grow and grow. According to web server activity, they can grow to a very big size. To remove files is a bad solution because they won't be restored and you loose new logs.
The SSH command to truncate log files:
truncate -s 0 /var/log/*.log #(0 - zero)