1. An apparatus comprising: a processor; a non-transitory computer readable storage medium storing computer readable program code executable by the processor, the computer readable program code configured to determine a template command based on a command line history, the temple command comprising a command name and a parameter, the command line history comprising a plurality of previously entered commands; determine a parameter derivation rule for deriving the parameter in the template command based on the command line history, wherein the computer readable program code determines the parameter derivation rule by: locating a parameter value within the template command; searching the command line history for a match with the parameter; defining the location of the match with respect to the location of the parameter value of the template command; and outputting a previous parameter to the template command; and substitute a substitute parameter for the parameter of the template command according to the parameter derivation rule, wherein the substitute parameter is a previously entered parameter from the command line history previously entered with one of the previously entered commands of the plurality of previously entered commands from the command line history, the command line history comprises commands entered at a command prompt in a command line interface, the temple command with the substitute parameter comprises a predicted next command, and the predicted next command is unique from any command in the command line history.