Problem with installing cheat program.
by validator456 from LinuxQuestions.org on (#4YHK7)
The program cheat allows you to create and view interactive cheatsheets on the command-line.
I downloaded and placed the executable file cheat-linux-amd64 in /usr/local/bin.
I then made it executable with: sudo chmod +x cheat-linux-amd64
I then typed in the command:
Quote:
The result is:
bash: /home/porter/.config/cheat/config.yml - Permission denied.
What is the reason of this error message?
Installation instructions for cheat: https://github.com/cheat/cheat


I downloaded and placed the executable file cheat-linux-amd64 in /usr/local/bin.
I then made it executable with: sudo chmod +x cheat-linux-amd64
I then typed in the command:
Quote:
sudo mkdir -p ~/.config/cheat && cheat --init > /.config/cheat/conf.yml |
bash: /home/porter/.config/cheat/config.yml - Permission denied.
What is the reason of this error message?
Installation instructions for cheat: https://github.com/cheat/cheat