0

how to create a permanent folder in the temporary folder in ubuntu? without being deleted when the computer shuts down, and not have to repeat the process every time the computer restarts

Cœur
  • 37,241
  • 25
  • 195
  • 267
Ricardo Rod
  • 8,453
  • 9
  • 27
  • 39

1 Answers1

3

By convention, /tmp/ gets cleaned on reboot. You may need to place stateful information into /var/run/$myapp/ or a similar spot. Make sure you clean that once it grows.

Dirk Eddelbuettel
  • 360,940
  • 56
  • 644
  • 725