Solaris Advanced User's Guide

Undoing Changes to a Line

Type U to undo all changes you've made to a line. This command works only if you haven't moved the cursor off the line. You do not need to press Esc after you type U.