A line may refer to any of the following:

  1. In communications, a line refers to a cable or wire that connects two devices.

  2. Line is a free messaging app that lets you send one-on-one and group messages to your friends and family for free and make voice and video calls. The app is available for Android, iPhone, BlackBerry, and Nokia phones.

  3. When talking about a keyboard key, a line may describe the hyphen (-), underscore (_), pipe (|), backslash (), or forward slash (/) key.

  4. In general, a line describes a connector between two points. For example, in a graphics or paint program, the line tool allows the user to draw a straight line in any direction.

  5. Text with a line underneath it is called an underline.

  • How to create a line in Microsoft Word and LibreOffice Writer.
  1. In programming, a line is another name for a statement.

  2. When referring to text, a line refers to one horizontal line of text.

For example, this is one line of text.

Getting to the next line of text

When typing, to go to the next line, press the Enter. In word processor programs like Microsoft Word pressing Enter may start a new paragraph instead of a new line. For these programs, press Shift and Enter at the same time when you want to go to the next line (soft return).

Moving between lines of text

To move between text lines that have already been typed, use the up and down arrow keys to move up and down. To move between the words in a line of text, use the left and right arrow keys.

Programs with any word wrap or wrap text feature automatically wraps the text to the next line when at the end of a line.

Getting to the beginning or end of a line of text

To get to the beginning of a line of text, press the Home key. To get to the end of a line of text, press the End key. You can practice this now by clicking anywhere in the text following box and pressing either of these keys.

Selecting a line of text

The steps vary on how to select a line of text by what program you’re using. In a text editor and word processor, you can select one line of text by clicking in the black space to the left of the line. If this method works, you can select multiple lines by clicking in the blank space and then while holding the mouse down button down drag up or down.

Other programs may support the ability to triple-click a word in the line to select the line. If the program selects the entire paragraph and not the line, this method is not supported by the program.

If the program you’re using doesn’t support either of these abilities, you’ll need to select the line using the click-and-drag method.

  • How to highlight or select text.

Getting to a line number

When debugging an error while programming, an error may indicate what line number contains the error. For example, when attempting to run a script, you may get an error similar to the following example.

“use” not allowed in expression at example.pl line 36, at end of line syntax error at example.pl line 36, near “use Benchmark” BEGIN not safe after errors–compilation aborted at example.pl line 957.

In the above example, the error message indicates the error is on line 36 and aborted on line 957. In this example, you could start troubleshooting the error by looking for typos or missing characters on line 36.

EOL, Hardware terms, Line adapter, Line analyzer, Line caps, Line conditioner, Line conditioning, Line driver, Line feed, Line frequency, Line level, Line printer, Line regulator, Line spacing, Line speed, Newline, Phone terms, Polyline, Queue

When working with a text file with thousands of lines, you can use the Ctrl+G keyboard shortcut to go to a specific line.

  • How to get a line count or other stats of a file.
  • How to create a new line, not a paragraph in Microsoft Word.