文本编辑
上一页

文本编辑

All of the configurations and settings in Linux are saved in text files. Even though you most often can edit configurations through the graphical interface, you may occasionally have to edit them by hand. Kate is the default Kubuntu text editor, which can be launched by going to KMenuUtilitiesKate - Advanced Text Editor.

有时在本指南中,Kate是使用kdesu从命令行启动的,同样地,大多数配置文件需要root权限来更改。当在本指南中遇到时,建议你也从命令行运行kdesu

如果需要在命令行中使用文本编辑器,那么您可以使用 nano 这个用法简单的文本编辑器。如果要在命令行中运行 nano,请务必使用如下命令以确保编辑器不会插入断行符:

nano -w

如果您需要进一步了解nano,请参阅wiki指导

Kubuntu中也有相当多的其它基于终端的编辑器,流行的有VIMEmacs(在Linux社区各自的支持者和反对者引起了很多友好的争论).他们通常比nano的使用更为复杂,但也更强大。

上一页
起始页