Horje
how to trim log file linux Code Example
how to trim log file linux
truncate -s 0 logfile

Where -s is used to set or adjust the file size by SIZE bytes. 
The file can be relative to the current directory or 
an absolute path to the file provided.

For complete truncate command options, use the option --help




Shell

Related
copy ssh remote server Code Example copy ssh remote server Code Example
install python 3 centos Code Example install python 3 centos Code Example
Install AdonisJS Code Example Install AdonisJS Code Example
Can't resolve '@capacitor-community/http' Code Example Can't resolve '@capacitor-community/http' Code Example
git delete remote branch error: unable to delete  remote ref does not exist Code Example git delete remote branch error: unable to delete remote ref does not exist Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11