Ubuntu没有默认的Notepad,可使用以下方法替代:
sudo apt install wine
,再从微软官网下载Notepad安装包,用wine notepad_installer.exe
安装,最后通过wine notepad.exe
运行。sudo apt install gedit
,打开文件可用gedit /path/to/file
,也可在应用菜单中找到图标启动。nano /path/to/file
编辑;Vim功能强大,安装后用vim /path/to/file
,需学习一些基本命令。