Record the command, shell and config file in common use