Here's a guide on how to create your nginx cheatsheet using the waterdeep.io CLI
- Install the CLI
npm install -g waterdeep-cli
Sign up and create an account at waterdeep.io
Create a new file in with name
nginx_cheatsheet.txt
Copy and paste the following content to the editor:
### Nginx Cheatsheet
[Start service]
systemctl start nginx
[Stop service]
systemctl stop nginx
[Restart service]
systemctl restart nginx
[Reload config]
systemctl reload nginx
Save the file with "Save Script"
Now you can retrieve that file using the CLI:
$ water get [your username]/nginx_cheatsheet.txt
systemctl start nginx
systemctl stop nginx
systemctl restart nginx
As a side note, remember you can also retrieve a list of all your files on waterdeep by using:
$ water get [your username]
Top comments (0)