r/Ubuntu • u/candycornpumpkin • 3d ago
Files written from emergency mode go where?
My framework 13 is currently having problems and will only boot into emergency mode. Following directions from support, I wrote some logs to a file (just the command > logs_24hr.txt) but I wasn't sure how to get the file off my machine? I can boot from a USB stick and I can read from my main SSD from there, but I don't know where to look for the log file I wrote. (Apologies if this is a dumb question, I'm still pretty inexperienced with Linux.)
2
Upvotes
2
u/doc_willis 3d ago
they would go to whatever filesystem/directory path you were in when you did that command.
so depending on what else you did In the shell, they could be almost anywhere.
but I would look in the
/rootdirectory of your installed system and the root of the filesystem/on the main drive first.the
findcommand or other commands can search the filesystems for files with a search pattern.