Basically, I used a couple commands, and whenever I use the ↑ key, I can see those previously used commands, so the question is:
How do I remove them, so that once I press ↑, there will be no history of used commands?
Go to .minecraft
(inside of AppData
folder) and find the command_history.txt
file.