CodeSandBox-and-ptero-setup

(★ 19)

No description available.

파일 탐색기

  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

crontab

설명 보기 ▼

현재 사용자에 대해 일정한 주기로 실행할 cron 작업을 설정.
더 많은 정보: <https://manned.org/crontab>.

crontab -e

현재 사용자의 crontab 파일 편집:

sudo crontab -e -u {{user}}

특정 사용자의 crontab 파일 편집:

crontab {{path/to/file}}

지정한 파일의 내용으로 현재 crontab을 교체:

🔍

nano

설명 보기 ▼

명령줄 텍스트 편집기. 향상된 `Pico` 클론.
관련 항목: `pico`, `rnano`.
더 많은 정보: <https://nano-editor.org/dist/latest/nano.html>.

nano {{path/to/file1 path/to/file2 ...}}

편집기 시작:

nano {{[-I|--ignorercfiles]}}

설정 파일을 사용하지 않고 편집기 시작:

nano +{{line}},{{column}} {{path/to/file}}

특정 파일 열기, 이전 파일을 닫으면 다음 파일로 이동:

🔍

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

설명 보기 ▼

systemd 저널을 조회합니다.
관련 항목: `dmesg`.
더 많은 정보: <https://www.freedesktop.org/software/systemd/man/latest/journalctl.html>.

journalctl {{[-n|--lines]}} {{n}} {{[-f|--follow]}}

현재 부트에서 우선순위 레벨 3(오류)로 모든 메시지 표시:

journalctl {{[-b|--boot]}} -1 {{[-p|--priority]}} 3

2일 이상된 저널 로그 삭제:

journalctl {{[-u|--unit]}} {{unit}}

마지막 N줄만 표시하고 새 메시지를 팔로우(전통적인 syslog의 `tail -f`처럼) 표시:

🔍

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

설명 보기 ▼

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:

// repository documentation