Forums

How to locate the /tmp folder

I have a script that logs into the tmp folder as /tmp/k-logs/resume_033abc7d-519c-4790-894f-522e0941bf2#0124.log

I want to view this file. But I can't find the /tmp/ in the file system dashboard. Where is the folder located? Do we have access to view the log files in it?

Figured it out

Excellent!

How did you figured out? I have the same problem: can't see the folder called /tmp. Please help me. Thanks.

If you look at the top of the "Files" page, you'll see the location of the directory you're looking at -- by default, it will be something like /home/kwankim. If you click on the "/" at the start of that, it will take you to a page where you can see the root directory of the filesystem, and from there you can click on the "tmp" directory.

Thank you. I found it. However, my /tmp has nothing in it. Yet, my disk space is 8% overfull they say. What is going on, please?

Take a look a https://help.pythonanywhere.com/pages/DiskQuota/#how-to-find-whats-using-up-all-your-space