I created a cheat sheet for myself on ubuntu server. But where do i need to copy the cheat file lets say "test" so that all users or other users can read that file too.
For example: User Joe create cheat test
cheat -e test
User Clair wants to read that file aswell
cheat test
But gets the error cheat file not found.
How can i fix this ?
Create public directory
When you want files to be shared by all users it is best to create a public directory where everyone has read access but only a select few have write access. For this purpose I would create a directory called:
Found it.
File is located at
/home/Joe/.cheat/test
Copy the file to/home/Clair/.cheat/test
and they can both read the cheat sheet.