def enum_user_history_files():
    """
    Enumerate User History Files (enum_user_history_files)
    Enumerate current user History Files and save content to results

    :return: None
    """
    print("\n[*] ENUMERATING USER History Files..\n")

    historyfiles = {
        "RHISTORY": {"cmd": "ls -la /root/.*_history 2>/dev/null",
                     "msg": " See if you have access too Root user history (depends on privs)", "results": []},
        "BASHHISTORY": {"cmd": "cat ~/.bash_history 2>/dev/null",
                        "msg": " Get the contents of bash history file for current user", "results": []},
        "NANOHISTORY": {"cmd": "cat ~/.nano_history 2>/dev/null",
                        "msg": " Try to get the contents of nano history file for current user", "results": []},
        "ATFTPHISTORY": {"cmd": "cat ~/.atftp_history 2>/dev/null",
                         "msg": " Try to get the contents of atftp history file for current user", "results": []},
        "MYSQLHISTORY": {"cmd": "cat ~/.mysql_history 2>/dev/null",
                         "msg": " Try to get the contents of mysql history file for current user", "results": []},
        "PHPHISTORY": {"cmd": "cat ~/.php_history 2>/dev/null",
                       "msg": " Try to get the contents of php history file for current user", "results": []},
        "PYTHONHISTORY": {"cmd": "cat ~/.python_history 2>/dev/null",
                          "msg": " Try to get the contents of python history file for current user", "results": []},
        "REDISHISTORY": {"cmd": "cat ~/.rediscli_history 2>/dev/null",
                         "msg": " Try to get the contents of redis cli history file for current user", "results": []},
        "TDSQLHISTORY": {"cmd": "cat ~/.tdsql_history 2>/dev/null",
                         "msg": " Try to get the contents of tdsql history file for current user", "results": []}
    }

    historyfiles = execute_cmd(historyfiles)
    print_results(historyfiles)

    Enumerate User History Files (enum_user_history_files)
    Enumerate current user History Files and save content to results

    :return: None
    
linuxprivchecker/__init__.py