I am learning linux using Fedora and I would like to save my history so I can go back and reference it. I tried this command:
history >> history.txt
history.txt: Permission denied
I am thinking that root has the permission to this but is there any easy way to save my history?