View saved PowerShell / Terminal commands

If you are like me, who forgets commands this command will help you a lot in the future. If you remember you have use this command but using arrow keys and check last few 100 commands is not a good idea.

Open all your previous PowerShell and Terminal commands in notepad. where you can search easily.

notepad (Get-PSReadlineOption).HistorySavePath