LinuxCommandLibrary

kate

KDE Advanced Text Editor, a feature-rich text editor with syntax

TLDR

Open file in Kate

$ kate [file]
copy
Open file at specific line
$ kate -l [25] [file]
copy
Open file at line and column
$ kate -l [25] -c [15] [file]
copy
Start with specific session
$ kate -s [sessionname]
copy
Open from stdin
$ cat [file] | kate -i
copy
Block until editor closes
$ kate -b [file]
copy

SYNOPSIS

kate [options] [file...]

DESCRIPTION

kate is the KDE Advanced Text Editor, a feature-rich text editor with syntax highlighting, code folding, terminal integration, and multi-document support. Suitable for programmers and power users who need advanced editing capabilities.

PARAMETERS

-l, --line line

Navigate to line number.
-c, --column column
Navigate to column number.
-s, --start name
Start with given session.
-n, --new
Force new Kate instance.
-b, --block
Block until editor exits.
-i, --stdin
Read document from stdin.
-e, --encoding name
Set file encoding.
--tempfile
Delete file after closing.

SEE ALSO

kwrite(1), nano(1), vim(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community