commands.sh

kate

all

KDE's advanced text editor.

More info →

Options (5)

-n, --newboolean

Create a new editor instance even if one is already open

Example: kate {{[-n|--new]}}
-l, --lineboolean

Open a file with the cursor at the specific line

Example: kate {{[-l|--line]}} {{line_number}} {{path/to/file}}
-c, --columnboolean

Open a file with the cursor at the specific line and column

Example: kate {{[-l|--line]}} {{line_number}} {{[-c|--column]}} {{column_number}} {{path/to/file}}
-i, --stdinboolean

Create a file from `stdin`

Example: cat {{path/to/file}} | kate {{[-i|--stdin]}}
-h, --helpboolean

Display help

Example: kate {{[-h|--help]}}

Examples (7)

Open specific files

kate path/to/file1 path/to/file2 ...

Open specific remote files

kate https://example.com/path/to/file1 https://example.com/path/to/file2 ...

Create a new editor instance even if one is already open

kate [-n|--new]

Open a file with the cursor at the specific line

kate [-l|--line] line_number path/to/file

Open a file with the cursor at the specific line and column

kate [-l|--line] line_number [-c|--column] column_number path/to/file

Create a file from `stdin`

cat path/to/file | kate [-i|--stdin]

Display help

kate [-h|--help]
made by @shridhargupta | data from tldr-pages