root@deikxyz:~# cat /dev/null > cat /dev/null > /var/log/nginx/access.log
(hit enter)
root@deikxyz:~# cat /dev/null > cat /dev/null > /var/log/nginx/error.log
(hit enter)
Last active
October 23, 2017 19:14
-
-
Save kriskornel/3fbd4afcbe54b54d122a129f3f285416 to your computer and use it in GitHub Desktop.
Command for emptying the content of Nginx Log Files in Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment