# Clearing Lines

Use the clear line command to clear any line on the system (vty or console). Using this command terminates any service, such as an FTP session, on this line and closes any open files.

clear line

- Use to remove any services on a line and close any files opened as a result of services on that line.
- You can specify the absolute number to clear any line. For each line on the system, the absolute number is listed in the line number field of the show users command output.
- You can specify the line type and the relative number to clear a specific type of line. For each line on the system, the relative number is listed in the line name field of the show users command output.
- Example 1
  host1#clear line 2
- Example 2
  host1#clear line console 0
- There is no no version.
- See clear line.