CodeSandBox-and-ptero-setup
No description available.
File Explorer
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
crontab
View Details ▼
crontab
Schedule cron jobs to run on a time interval for the current user.
crontab -e
[e]dit the crontab file for the current user:
sudo crontab -e -u {{user}}
[e]dit the crontab file for a specific [u]ser:
crontab {{path/to/file}}
Replace the current crontab with the contents of the given file:
nano
View Details ▼
nano
Text editor. An enhanced `pico` clone.
See also: `pico`, `rnano`.
nano {{path/to/file1 path/to/file2 ...}}
Open specific files, moving to the next file after closing the previous one:
nano {{[-I|--ignorercfiles]}}
Start the editor without using configuration files:
nano +{{line}},{{column}} {{path/to/file}}
Open a file and position the cursor at a specific line and column:
openssl req
View Details ▼
openssl req
Manage PKCS#10 Certificate Signing Requests.
openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}
Generate a certificate signing request to be sent to a certificate authority:
openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}
Generate a self-signed certificate and a corresponding key-pair, storing both in a file:
journalctl
View Details ▼
journalctl
Query the systemd journal.
See also: `dmesg`.
journalctl {{[-n|--lines]}} {{n}} {{[-f|--follow]}}
Show the latest `n` lines and follow new messages (like `tail --follow` for traditional syslog):
journalctl {{[-b|--boot]}} -1 {{[-p|--priority]}} 3
Show all messages with priority level 3 (errors) from the boot before last shutdown:
journalctl {{[-u|--unit]}} {{unit}}
Show all messages by a specific unit:
systemctl enable
View Details ▼
systemctl enable
Enable systemd services.
See also: `systemctl revert`.
systemctl enable {{unit}}
Enable a service to run on boot:
systemctl enable {{unit}} --now
Enable a service to run on boot and start it now:
systemctl enable {{unit}} --user
Enable a user unit to run on login:
systemctl restart
View Details ▼
systemctl restart
Stop and then start one or more systemd units.
Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.
systemctl restart {{unit}}
Restart a unit:
systemctl restart {{unit1 unit2 ...}}
Restart more than one unit:
systemctl restart {{unit}} --user
Restart a user unit:
