Problem with installing cheat program.
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:
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 |
You forgot the tilde in the last path.
/.config/cheat/conf.yml / = Filesystem root, which you probably don't have write permissions for, but the folder probably doesn't even exist at that spot, to begin with. |
I copied the command
Quote:
I don't know why the tilde disappeared. I tried it again. With the tilde, and I get the same error. |
Quote:
Modify the path here to reflect where cheat is on your system. Code:
chmod +x /location/of/cheat |
I did that. See first post.
|
Quote:
Quote:
|
Quote:
This demonstrates what I mean: Code:
$ sudo whoami && whoami Code:
sudo rm -rf ~/.config/cheat |
Okay, I will check it out, thank you.
|
All times are GMT -5. The time now is 03:05 PM. |