Draw line demo using AutoCAD
To draw lines
You can use the pointing device or enter coordinate values on the command line.
To undo the previous line segment during the LINE command, enter u or click Undo on the toolbar.
To start a new line at the endpoint of the last line drawn, start the LINE command again and press ENTER at the Specify Start Point prompt.