Command Line Options

The KWrite Handbook
Prev | Chapter 2. Some Fundamentals | Next

# 2.2. Command Line Options

Though KWrite may most often be started from the KDE program menu, or a desktop icon, it can also be opened at the command line prompt of a terminal window. There are a few useful options that are available when doing this.

## 2.2.1. Specify a File

By specifying the path and name of a particular file the user can have KWrite open (or create) that file immediately upon startup. This option might look something like the following:

     % kwrite /home/myhome/docs/myfile.txt

## 2.2.2. Specify a file on the internet

The above-mentioned method could even be used to open files on the internet (if the user has an active connection at the time.) An example of this might look like the following:

     % kwrite ftp://ftp.kde.org/pub/kde/Welcome.msg

## 2.2.3. Other Command Line Options

The following command line help options are available

`kwrite `--help``

  This lists the most basic options available at the command line.

`kwrite `--help-qt``

  This lists the options available for changing the way KWrite interacts with Qt™.

`kwrite `--help-kde``

  This lists the options available for changing the way KWrite interacts with KDE.

`kwrite `--help-all``

  This lists all of the command line options.

`kwrite `--author``

  Lists KWrite's authors in the terminal window

`kwrite `--version``

  Lists version information for Qt™, KDE, and KWrite. Also available through `kwrite `-V``

Prev | Home | Next
Some Fundamentals | Up | Key Bindings