Vi is a powerful text editor included with most Linux ... typing dd (press the d key twice) deletes an entire line of text. You can select, copy, cut, and paste text in command mode.