Updated: 05/02/2021 by Computer Hope

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 allows you to 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 be used to 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.

6. In programming, a line is another name for a statement.

7. 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.

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.

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 line 36, at end of line syntax error at line 36, near "use Benchmark" BEGIN not safe after errors--compilation aborted at 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.


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

Cell phone terms, 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, Polyline