Systems, methods, and computer program products for command line
prediction are disclosed. Commands entered on a command line are saved to
a command log. The command log is analyzed to generate a plurality of
n-gram tables that reflect the entries in the command log. The n-gram
tables may be stored in a suitable memory. Subsequent command sequences
entered on the command line may be compared to the n-gram tables to
assess the likelihood of a command.