Knowing how to work with and display exit codes on the Linux command line or in scripts can help make errors more obvious. Exit codes on the Linux command line are numeric values that provide feedback ...
How-To Geek on MSN

How to Exit the Vi or Vim Editor

We'll show you how to make a graceful exit, rather than just unplugging your PC.