Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个文档,但尚未保存。gedit 变得没有响应。无论如何我可以在终止进程之前保存或获取文件的内容吗?
filename~gedit 将在与编辑文件相同的文件夹中创建一个名为的备份文件。它将包含上次保存之前的内容。如果您在编辑过程中保存了文件,它可能至少包含部分内容
filename~
您可能必须以 root 身份启动 gedit,然后保存您的文件。
从 root 开始。
然后你可以做$gedit filename 并尝试保存它。
$gedit filename