My site is experiencing Internal server Errors, website shutdowns and the main cause is a full /temp
directory. The support gave us a list of large temp files that come with a size exceeding 1 GB. Is there any way to delete specific files in /temp
?
ls -lah /tmp
I've used this code to go to my /temp
file. How can I delete specific files in it?
Change directory to tmp - cd /tmp
And delete specific files - rm -f specific.file.name