With straight lines. From "rectus" meaning straight, and "linear" meaning line.
In Physics rectilinear motion is movement in a straight line. Imagine a car driving along a straight highway without any turns.
In Geometry rectilinear shapes are made of straight-line segments and also have only right angles.