Article 4YHK7 Problem with installing cheat program.

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:
sudo mkdir -p ~/.config/cheat && cheat --init > /.config/cheat/conf.yml
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/cheatlatest?d=yIl2AUoC8zA latest?i=CUevjL1SSFg:edPs7enylKw:F7zBnMy latest?i=CUevjL1SSFg:edPs7enylKw:V_sGLiP latest?d=qj6IDK7rITs latest?i=CUevjL1SSFg:edPs7enylKw:gIN9vFwCUevjL1SSFg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments