There are a few useful keystrokes that can help you with your session in Linux shell prompt.
Linux Shortcuts:
[Ctrl]-[K] While editing a command on the command line, this key combination deletes everything that has been typed in from the cursor's current position forward.
[Ctrl]-[D] Pressing this key combination once ends the current application or process. Pressing it twice exits the linux shell.
[Ctrl]-[R] At the command line, [Ctrl]-[R] searches through the command history to find the entry that starts with the letters you type.
[Ctrl]-[Z] Suspends the current application. Entering bg after [Ctrl]-[Z] causes a program to run in the background.
[Ctrl]-[C] "Kills" a program. This should be a last resort. Try stopping a program with other methods first.
[Ctrl]-[L] Clears the linux terminal window.
      send to a friend                   moby@mylinuxplanet.com