← 返回命令列表

Linux command

xed 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start

xed

Open

xed [path/to/file1 path/to/file2 ...]

Example

xed --encoding [WINDOWS-1252] [path/to/file]

Example

xed --list-encodings

Example

xed +[10] [path/to/file]

说明

xed is the default text editor for the Cinnamon desktop environment. It is based on gedit and provides syntax highlighting, tabs, spell checking, and plugin support. The editor supports multiple character encodings and can convert between them.

参数

--encoding _ENCODING_
Open files using specific character encoding
--list-encodings
Print all supported encodings
+_LINE_
Go to specified line number
--new-window
Open in new window
--new-document
Open new document

FAQ

What is the xed command used for?

xed is the default text editor for the Cinnamon desktop environment. It is based on gedit and provides syntax highlighting, tabs, spell checking, and plugin support. The editor supports multiple character encodings and can convert between them.

How do I run a basic xed example?

Run `xed` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --encoding _ENCODING_ do in xed?

Open files using specific character encoding