Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 2466  / 1 Year ago, tue, march 21, 2023, 7:24:59

I saved a text file in gedit last night before shutting off my computer, and I remember what I named the file. When I turned on my computer this morning to load the file, I could not find it. I've searched for the file, and I've searched its content usinggrep, and I still have not found the file.



When I open gedit, in the "file" drop-down menu it lists my most recent files, and the filename of the missing file is there, however, when I select it, there is no text, it is empty. It says it is located in /tmp but I cannot find the file when I browse or search the filesystem. Please help me


More From » files

 Answers
0

According to the message in gedit you saved the file in the /tmp folder. Ubuntu as well as many other Linux distributions deletes all content in /tmp on every reboot. This is a recommendation from the Filesystem Hierarchy Standard.



Sad to say if you don't have another backup copy, your original is lost.



If you want to keep the files in /tmp longer, this answer describes how to set the value of TMPTIME.


[#32499] Thursday, March 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rofity

Total Points: 182
Total Questions: 98
Total Answers: 115

Location: Albania
Member since Sat, Jan 7, 2023
1 Year ago
;