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
Also in C++:
- powershell autocomplete
- install semantic ui react
- The requested apache plugin does not appear to be installed
- creating new branch in git
- gitlab asking for password every time
- where is fish shell installed ubuntu
- git diff between branches file
- mount a filesystem under another filesystem linux
- git remote add wrong thing how to remove
- how to install sublime in ubuntu 20.04 using terminal
- install ruby environment on ubuntu 20.04
- github cancel last push
- git push origin master --force
- Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin.
- How to get the latest powershell update
- redis server stop
- laravel generate key
- ln -sf linux
- postman install ubuntu 18.04
- ubuntu color picker
- how to delet file comand promt linux
- get log from a docker machine
- spring react
- linux execute as user