*: normalize colons (#7913)

This commit is contained in:
Seth Falco 2022-03-27 07:25:15 +02:00 committed by GitHub
parent f63fedd585
commit 27ff55fc2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
88 changed files with 144 additions and 144 deletions

View File

@ -10,7 +10,7 @@ The templates can be changed when necessary.
[ar](#ar) •
[bn](#bn) •
[bs](#bs) •
[ca](#ca) •
[ca](#ca) •
[da](#da) •
[de](#de) •
[es](#es) •

View File

@ -20,6 +20,6 @@
`snoop to port {{পোর্ট}} from host {{হোস্টনাম}}`
- দুটি আইপি ঠিকানার মধ্যে বিনিময় করা নেটওয়ার্ক প্যাকেটের একটি হেক্স-ডাম্প ক্যাপচার করুন এবং প্রদর্শন করুন :
- দুটি আইপি ঠিকানার মধ্যে বিনিময় করা নেটওয়ার্ক প্যাকেটের একটি হেক্স-ডাম্প ক্যাপচার করুন এবং প্রদর্শন করুন:
`snoop -x0 -p4 {{আইপি_ঠিকানা_১}} {{আইপি_ঠিকানা_২}}`

View File

@ -15,7 +15,7 @@
`7z x {{archived.7z}}`
- 사용자정의 출력 경로로 압축 출력 :
- 사용자정의 출력 경로로 압축 출력:
`7z x {{archived.7z}} -o{{경로/출력}}`

View File

@ -12,7 +12,7 @@
`aria2c {{http://mirror1.org/myLinux.iso}} {{http://mirror2.org/myLinux.iso}}`
- 호스트당 2개의 연결을 사용하여 다운로드 :
- 호스트당 2개의 연결을 사용하여 다운로드:
`aria2c -x{{2}} {{http://example.org/myLinux.iso}}`

View File

@ -12,18 +12,18 @@
`aria2c {{url_1}} {{url_2}}`
- 파일에 나열된 URI 다운로드 :
- 파일에 나열된 URI 다운로드:
`aria2c -i {{filename}}`
- 여러 연결로 다운로드 :
- 여러 연결로 다운로드:
`aria2c -s {{connections_num}} {{url}}`
- 사용자 이름과 암호가 있는 FTP 다운로드 :
- 사용자 이름과 암호가 있는 FTP 다운로드:
`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}`
- 다운로드 속도를 바이트/s로 제한 :
- 다운로드 속도를 바이트/s로 제한:
`aria2c --max-download-limit={{speed}} {{url}}`

View File

@ -20,7 +20,7 @@
`arping -c {{count}} {{host_ip}}`
- 브로드캐스트 ARP 요청 패킷을 통해 이웃 ARP 캐시 업데이트 :
- 브로드캐스트 ARP 요청 패킷을 통해 이웃 ARP 캐시 업데이트:
`arping -U {{ip_to_broadcast}}`

View File

@ -15,6 +15,6 @@
`asar extract-file {{archived.asar}} {{file}}`
- 보관소 파일의 내용을 나열 :
- 보관소 파일의 내용을 나열:
`asar list {{archived.asar}}`

View File

@ -28,6 +28,6 @@
`assimp help`
- 특정 하위 명령에 대한 도움말 얻기 (예 : 특정 하위 명령에 특정 매개 변수) :
- 특정 하위 명령에 대한 도움말 얻기 (예 : 특정 하위 명령에 특정 매개 변수):
`assimp {{하위명령어}} --help`

View File

@ -23,7 +23,7 @@
`bower help {{명령}}`
- 패키지에 대한 bower.json 파일 생성 :
- 패키지에 대한 bower.json 파일 생성:
`bower init`

View File

@ -7,7 +7,7 @@
`composer require {{사용자/패키지명}}`
- 프로젝트의 `composer.json` 안에 모든 의존성(dependency)를 설치합니다 :
- 프로젝트의 `composer.json` 안에 모든 의존성(dependency)를 설치합니다:
`composer install`

View File

@ -28,6 +28,6 @@
`* * 3 Apr * {{실행_할_명령}}`
- 매주 금요일 02:30에 특정 스크립트를 실행하는 샘플 작업 :
- 매주 금요일 02:30에 특정 스크립트를 실행하는 샘플 작업:
`30 2 * * Fri {{/script.sh/의/절대/경로}}`

View File

@ -3,22 +3,22 @@
> ഇന്നത്തെ ദിവസം അടയാളപ്പെടുത്തിയുള്ള കലണ്ടർ വിവരം കാണിക്കുക .
> കൂടുതൽ വിവരങ്ങൾ: <https://manned.org/cal>.
- ഇപ്പോഴത്തെ മാസത്തിന്റെ കലണ്ടർ കാണാൻ :
- ഇപ്പോഴത്തെ മാസത്തിന്റെ കലണ്ടർ കാണാൻ:
`cal`
- കഴിഞ്ഞ മാസവും, ഇപ്പോഴത്തെ മാസവും അടുത്ത മാസവും കാണാൻ :
- കഴിഞ്ഞ മാസവും, ഇപ്പോഴത്തെ മാസവും അടുത്ത മാസവും കാണാൻ:
`cal -3`
- ആഴ്ചയുടെ ഒന്നാമത്തെ ദിവസം തിങ്കളാഴ്ച ആയി കാണാൻ :
- ആഴ്ചയുടെ ഒന്നാമത്തെ ദിവസം തിങ്കളാഴ്ച ആയി കാണാൻ:
`cal --monday`
- ഒരു പ്രത്യേക കൊല്ലത്തിന്റെ കലണ്ടർ കാണാൻ ( 4 അക്കങ്ങൾ ) :
- ഒരു പ്രത്യേക കൊല്ലത്തിന്റെ കലണ്ടർ കാണാൻ ( 4 അക്കങ്ങൾ ):
`cal {{കൊല്ലം}}`
- ഒരു പ്രതേക മാസത്തിന്റെയും കൊല്ലത്തിന്റെയും കലണ്ടർ കാണാൻ :
- ഒരു പ്രതേക മാസത്തിന്റെയും കൊല്ലത്തിന്റെയും കലണ്ടർ കാണാൻ:
`cal {{മാസം}} {{കൊല്ലം}}`

View File

@ -3,18 +3,18 @@
> നെറ്റ്‌വർക്ക് മാനേജർ നിയന്ത്രിക്കാൻ വേണ്ടിയുള്ള കമാൻഡ് ലൈൻ ഉപകരണം.
> കൂടുതൽ വിവരങ്ങൾ: <https://manned.org/nmcli>.
- nmcli പതിപ്പ് ഏതാണെന്ന് അറിയാൻ :
- nmcli പതിപ്പ് ഏതാണെന്ന് അറിയാൻ:
`nmcli --version`
- പൊതുവെയുള്ള സഹായ വിവരം കാണാൻ :
- പൊതുവെയുള്ള സഹായ വിവരം കാണാൻ:
`nmcli --help`
- ഒരു പ്രതേക നിർദേശത്തിന്റെ സഹായ വിവരം കാണാൻ :
- ഒരു പ്രതേക നിർദേശത്തിന്റെ സഹായ വിവരം കാണാൻ:
`nmcli {{നിർദേശം}} --help`
- ഒരു `nmcli` നിർദേശം നിർവഹിക്കാൻ :
- ഒരു `nmcli` നിർദേശം നിർവഹിക്കാൻ:
`nmcli {{നിർദേശം}}`

View File

@ -11,11 +11,11 @@
`sudo pacman --sync {{പാക്കേജ്}}`
- ഒരു പാക്കേജും അത് ആശ്രയിക്കുന്ന മറ്റ് പാക്കേജുകളെയും കളയുക :
- ഒരു പാക്കേജും അത് ആശ്രയിക്കുന്ന മറ്റ് പാക്കേജുകളെയും കളയുക:
`sudo pacman --remove --recursive {{പാക്കേജ്}}`
- പാക്കേജ് ഡാറ്റാബേസിൽ ഒരു സൂചകപദം അല്ലെങ്കിൽ റെഗുലർ എക്സ്പ്രെഷൻ വെച്ച് തിരയുക :
- പാക്കേജ് ഡാറ്റാബേസിൽ ഒരു സൂചകപദം അല്ലെങ്കിൽ റെഗുലർ എക്സ്പ്രെഷൻ വെച്ച് തിരയുക:
`pacman --sync --search "{{സെർച്ച് പാറ്റേൺ}}"`

View File

@ -4,26 +4,26 @@
> शेलको कन्फिगुरेतिओन् फाइलमा (जस्तै `~/.bashrc`) परिभासित् नगरेको खन्डमा उपनामहरुको आयु चलिरहेको शेल् सेसन् सङै सकिन्छ।
> थप जानकारी: <https://tldp.org/LDP/abs/html/aliases.html>.
- सबै उपनामहरुको सुची बनाउनुहोस् :
- सबै उपनामहरुको सुची बनाउनुहोस्:
`alias`
- एउटा सामान्य उपनाम बनाउनुहोस् :
- एउटा सामान्य उपनाम बनाउनुहोस्:
`alias {{शब्द}}="{{आदेश}}"`
- एउटा आदेशसङ्ग सम्बन्धित उपनाम हेर्नुहोस् :
- एउटा आदेशसङ्ग सम्बन्धित उपनाम हेर्नुहोस्:
`alias {{शब्द}}`
- उपनाम बनाइएको आदेशलाई हटाउनुहोस् :
- उपनाम बनाइएको आदेशलाई हटाउनुहोस्:
`unalias {{शब्द}}`
- `rm` लाई एउटा अन्तरकृयात्मक आदेशमा बदल्नुहोस् :
- `rm` लाई एउटा अन्तरकृयात्मक आदेशमा बदल्नुहोस्:
`alias {{rm}}="{{rm -i}}"`
- `la` लाई `ls -a` को सर्ट्कट् बनाउनुहोस् :
- `la` लाई `ls -a` को सर्ट्कट् बनाउनुहोस्:
`alias {{la}}="{{ls -a}}"`

View File

@ -4,14 +4,14 @@
> वास्तविक कार्यान्वयनको लागि service atd(अथवा atrun) चलिरहेको हुनुपर्छ ।
> थप जानकारी: <https://man.archlinux.org/man/at.1>.
- standard input बाट आदेशहरू ५ मिनटमा कार्यान्वयन गर्नुहोस् (सकिएपछि `Ctrl +D` थिच्नुहोस्) :
- standard input बाट आदेशहरू ५ मिनटमा कार्यान्वयन गर्नुहोस् (सकिएपछि `Ctrl +D` थिच्नुहोस्):
`at now + 5 minutes`
- standard input बाट आदेश आजको बिहानको १० बजे कार्यान्वयन गर्नुहोस् :
- standard input बाट आदेश आजको बिहानको १० बजे कार्यान्वयन गर्नुहोस्:
`echo "{{./make_db_backup.sh}}" | at 1000`
- एउटा दिइएको फाइलबाट अर्को मङ्गलबार आदेशहरु कार्यान्वयन गर्नुहोस् :
- एउटा दिइएको फाइलबाट अर्को मङ्गलबार आदेशहरु कार्यान्वयन गर्नुहोस्:
`at -f {{path/to/file}} 9:30 PM Tue`

View File

@ -3,10 +3,10 @@
> निलम्बित गरिएका कामहरुलाई (जस्तै `Ctrl + Z` प्रयोग गरेर) पुन: सुरु गर्छ, अनि तिनीहरुलाई पृष्ठभूमिमा चलाइरहन्छ।
> थप जानकारी: <https://manned.org/bg>.
- सबैभन्दा भर्खर् निलम्बित गरिएको कामलाई पुन: सुरु गर्नुहोस् अनि पृष्ठभूमिमा चलाउनुहोस् :
- सबैभन्दा भर्खर् निलम्बित गरिएको कामलाई पुन: सुरु गर्नुहोस् अनि पृष्ठभूमिमा चलाउनुहोस्:
`bg`
- कुनै विशिष्ट कामलाई पुन: सुरु गर्नुहोस् (ID पाउनको लागि `jobs -l` प्रयोग गर्नुहोस्) अनि पृष्ठभूमिमा चलाउनुहोस् :
- कुनै विशिष्ट कामलाई पुन: सुरु गर्नुहोस् (ID पाउनको लागि `jobs -l` प्रयोग गर्नुहोस्) अनि पृष्ठभूमिमा चलाउनुहोस्:
`bg %{{job_id}}`

View File

@ -7,7 +7,7 @@
`ab -n {{100}} {{முகவரி}}`
- கொடுக்கப்பட்ட முகவரி க்கு 100 HTTP GET கோரிக்கைகளை ஒரே நேரத்தில் 10 கோரிக்கைகள் வீதம் செயல்படுத்தவும் :
- கொடுக்கப்பட்ட முகவரி க்கு 100 HTTP GET கோரிக்கைகளை ஒரே நேரத்தில் 10 கோரிக்கைகள் வீதம் செயல்படுத்தவும்:
`ab -n {{100}} -c {{10}} {{முகவரி}}`

View File

@ -19,11 +19,11 @@
`nmcli connection add ifname {{arayüz_adı}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}`
- Statik bir yalnızca IPv6 bağlantısı oluştur :
- Statik bir yalnızca IPv6 bağlantısı oluştur:
`nmcli connection add ifname {{arayüz_adı}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}`
- Statik bir yalnızca IPv4 bağlantısı oluştur :
- Statik bir yalnızca IPv4 bağlantısı oluştur:
`nmcli connection add ifname {{arayüz_adı}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}`

View File

@ -15,6 +15,6 @@
`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}`
- 将意图转换为 URI:
- 将意图转换为 URI
`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}`

View File

@ -7,15 +7,15 @@
`2to3 {{文件.py}}`
- 将 Python 2 文件转化为 Python 3:
- 将 Python 2 文件转化为 Python 3
`2to3 --write {{文件.py}}`
- 将 Python 2 语言特性转化为 Python 3:
- 将 Python 2 语言特性转化为 Python 3
`2to3 --write {{文件.py}} --fix={{raw_input}} --fix={{print}}`
- 除了某个语言特性外将所有其他的 Python 2 语言特性转化为 Python 3:
- 除了某个语言特性外将所有其他的 Python 2 语言特性转化为 Python 3
`2to3 --write {{文件.py}} --nofix={{has_key}} --nofix={{isinstance}}`
@ -23,10 +23,10 @@
`2to3 --list-fixes`
- 将某一文件夹的所有 Python 2 文件转化为 Python 3:
- 将某一文件夹的所有 Python 2 文件转化为 Python 3
`2to3 --output-dir={{Python 3 文件夹}} --write-unchanged-files --nobackups {{Python 2 文件夹}}`
- 使用多线程运行 2to3:
- 使用多线程运行 2to3
`2to3 --processes={{4}} --output-dir={{Python 3 文件夹}} --write --nobackups --no-diff {{Python 2 文件夹}}`

View File

@ -7,15 +7,15 @@
`act -l`
- 运行默认 event:
- 运行默认 event
`act`
- 运行指定 event:
- 运行指定 event
`act {{事件类型}}`
- 运行指定 action:
- 运行指定 action
`act -a {{action_id}}`

View File

@ -3,7 +3,7 @@
> 安卓调试桥 -Install: 将应用安装包推送到 Android 模拟器或已连接的安卓设备。
> 更多信息:<https://developer.android.com/studio/command-line/adb>.
- 向模拟器/设备推送安卓 app:
- 向模拟器/设备推送安卓 app
`adb install {{路径/到/应用.apk}}`

View File

@ -7,7 +7,7 @@
`adb reverse --list`
- 将 TCP 端口从安卓模拟器或设备中映射到 localhost:
- 将 TCP 端口从安卓模拟器或设备中映射到 localhost
`adb reverse tcp:{{远程端口}} tcp:{{本地端口}}`

View File

@ -12,11 +12,11 @@
`adb kill-server`
- 在目标模拟器 / 设备实例上开启一个远程 shell:
- 在目标模拟器 / 设备实例上开启一个远程 shell
`adb shell`
- 将 Android 应用程序推送到模拟器 / 设备 :
- 将 Android 应用程序推送到模拟器 / 设备
`adb install -r {{路径/到/应用.apk}}`

View File

@ -3,11 +3,11 @@
> 一款全网广告拦截与反跟踪软件。
> 更多信息:<https://github.com/AdguardTeam/AdGuardHome>.
- 运行 AdGuard Home:
- 运行 AdGuard Home
`AdGuardHome`
- 使用给定的配置文件运行 AdGuard Home:
- 使用给定的配置文件运行 AdGuard Home
`AdGuardHome --config {{给定的/配置文件.yaml}}`

View File

@ -19,7 +19,7 @@
`ag -i -o {{ABC}}`
- 在文件名包含"小红"的文件中寻找"小明":
- 在文件名包含"小红"的文件中寻找"小明"
`ag {{小明}} -G {{小红}}`

View File

@ -24,6 +24,6 @@
`alias {{rm}}="{{rm -i}}"`
- 创建别名`la`来指代`ls -a`:
- 创建别名 `la` 来指代 `ls -a`
`alias {{la}}="{{ls -a}}"`

View File

@ -7,7 +7,7 @@
`apg`
- 生成密码,包含至少 1 个符号 (S), 1 个数字 (N), 1 个大写字母 (C), 1 个小写字母 (L):
- 生成密码,包含至少 1 个符号 (S), 1 个数字 (N), 1 个大写字母 (C), 1 个小写字母 (L)
`apg -M SNCL`

View File

@ -4,7 +4,7 @@
> 参见 `atom`.
> 更多信息:<https://github.com/atom/apm>.
- 下载包http://atom.io/packages 和主题 http://atom.io/themes:
- 下载包http://atom.io/packages 和主题 http://atom.io/themes
`apm install {{包名}}`

View File

@ -31,6 +31,6 @@
`asciinema cat {{文件路径}}.cast`
- 从本地上传一个录屏到 asciinema.org:
- 从本地上传一个录屏到 asciinema.org
`asciinema upload {{文件路径}}.cast`

View File

@ -20,6 +20,6 @@
`atom --safe`
- 在终端前台运行 Atom:
- 在终端前台运行 Atom
`atom --foreground`

View File

@ -3,11 +3,11 @@
> 一个工具,用于检查 Python 代码中未被使用的引入和变量。
> 更多信息:<https://github.com/myint/autoflake>.
- 移除指定文件中未使用的变量,并展示 diff:
- 移除指定文件中未使用的变量,并展示 diff
`autoflake --remove-unused-variables {{文件.py}}`
- 移除多个文件中未使用的引入,并展示 diffs:
- 移除多个文件中未使用的引入,并展示 diffs
`autoflake --remove-all-unused-imports {{文件1.py}} {{文件2.py}} {{文件3.py}}`

View File

@ -4,7 +4,7 @@
> 兼容`sh`的命令行解释器。
> 更多信息:<https://gnu.org/software/bash/>.
- 启动交互式 shell:
- 启动交互式 shell
`bash`

View File

@ -24,10 +24,10 @@
`bower help {{指令}}`
- 创建你的项目的 `bower.json`:
- 创建你的项目的 `bower.json`
`bower init`
- 安装时候指定依赖的版本号,并添加到 `bower.json`:
- 安装时候指定依赖的版本号,并添加到 `bower.json`
`bower install {{local_name}}={{package}}#{{version}} --save`

View File

@ -10,7 +10,7 @@
`mas install {{应用名}} {{应用 ID}}`
- 显示所有已安装的应用程序及其应用 ID:
- 显示所有已安装的应用程序及其应用 ID
`mas list`

View File

@ -3,7 +3,7 @@
> Visual Studio Code.
> 更多信息:<https://github.com/microsoft/vscode>.
- 打开 VS Code:
- 打开 VS Code
`code`
@ -23,6 +23,6 @@
`code -d {{文件1}} {{文件2}}`
- 用超级用户sudo权限打开 VS Code:
- 用超级用户sudo权限打开 VS Code
`sudo code {{路径/文件或目录}} --user-data-dir`

View File

@ -4,7 +4,7 @@
> 此命令也有关于其子命令的文件,例如:`docker run`.
> 更多信息:<https://docs.docker.com/engine/reference/commandline/cli/>.
- 列出目前正在运行的 docker 容器:
- 列出目前正在运行的 docker 容器
`docker ps`
@ -24,7 +24,7 @@
`docker pull {{镜像}}`
- 从正在运行的容器内打开一个 shell:
- 从正在运行的容器内打开一个 shell
`docker exec -it {{容器名称}} {{sh}}`

View File

@ -15,6 +15,6 @@
`etcd --name {{my_etcd_cluster}}`
- 启动单节点 etcd 集群,同时可以在这里看到大量监控指标 http://localhost:2379/debug/pprof/:
- 启动单节点 etcd 集群,同时可以在这里看到大量监控指标 http://localhost:2379/debug/pprof/
`etcd --enable-pprof --metrics extensive`

View File

@ -3,7 +3,7 @@
> 在当前 shell 中以单个命令的形式执行参数,并返回其结果。
> 更多信息:<https://manned.org/eval>.
- 使用 'foo' 做为参数调用 `echo`:
- 使用 'foo' 做为参数调用 `echo`
`eval "{{echo foo}}"`

View File

@ -3,7 +3,7 @@
> 轻量级图像查看工具。
> 更多信息:<https://feh.finalrewind.org>.
- 查看本地图像或使用 URL:
- 查看本地图像或使用 URL
`feh {{图片路径}}`

View File

@ -3,22 +3,22 @@
> 在命令行上使用 GitHub Gists.
> 更多信息:<https://cli.github.com/manual/gh_gist>.
- 从一个以空格分隔的文件列表中创建一个新的 Gist:
- 从一个以空格分隔的文件列表中创建一个新的 Gist
`gh gist create {{路径/文件}}`
- 创建一个带有描述的新 Gist:
- 创建一个带有描述的新 Gist
`gh gist create {{文件名}} --desc "{{描述}}"`
- 编辑一个 Gist:
- 编辑一个 Gist
`gh gist edit {{id_或_url}}`
- 列出当前登录用户所拥有的 Gist:
- 列出当前登录用户所拥有的 Gist
`gh gist list --limit {{int}}`
- 在默认浏览器中查看 Gist且不渲染 Markdown:
- 在默认浏览器中查看 Gist且不渲染 Markdown
`gh gist view {{id_或_url}} --web --raw`

View File

@ -3,7 +3,7 @@
> 使用`GPG`加密存档中的文件和目录。
> 更多信息:<https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dzip.html>.
- 使用密码将一个目录加密为`archive.gpg`:
- 使用密码将一个目录加密为`archive.gpg`
`gpg-zip --symmetric --output {{archive.gpg}} {{path/to/directory}}`

View File

@ -8,7 +8,7 @@
`gpg2 --list-keys`
- 为指定的接收者加密指定的文件,将输出结果写到一个新的文件中,并附加`.gpg`:
- 为指定的接收者加密指定的文件,将输出结果写到一个新的文件中,并附加 `.gpg`
`gpg2 --encrypt --recipient {{alice@example.com}} {{path/to/doc.txt}}`

View File

@ -7,11 +7,11 @@
`logger {{消息内容}}`
- 从 stdin 获取输入并记录到系统日志 syslog:
- 从 stdin 获取输入并记录到系统日志 syslog
`echo {{记录内容}} | logger`
- 将输出发送到在给定端口上运行的远程系统日志服务器。默认端口为 514:
- 将输出发送到在给定端口上运行的远程系统日志服务器。默认端口为 514
`echo {{记录内容}} | logger -h {{服务器名}} -P {{端口}}`

View File

@ -7,6 +7,6 @@
`runit`
- 停止运行 runit:
- 停止运行 runit
`kill --CONT {{runit 进程 id}}`

View File

@ -16,6 +16,6 @@
`trap 'echo "检测到信号 {{SIGHUP}}"' {{SIGHUP}}`
- 移除活动 trap:
- 移除活动 trap
`trap - {{SIGHUP}} {{SIGINT}}`

View File

@ -11,6 +11,6 @@
`write {{testuser}} {{tty/5}}`
- 向伪终端 "/dev/pts/5" 上的用户 "johndoe" 发送信息 :
- 向伪终端 "/dev/pts/5" 上的用户 "johndoe" 发送信息
`write {{johndoe}} {{pts/5}}`

View File

@ -15,7 +15,7 @@
`adduser --home {{home 路径}} {{用户名}}`
- 创建一个新用户,并指定登录 shell:
- 创建一个新用户,并指定登录 shell
`adduser --shell {{shell 路径}} {{用户名}}`

View File

@ -4,7 +4,7 @@
> 通过 IMAP 支持大多数现代电子邮件服务。
> 更多信息:<https://manned.org/alpine>.
- 正常打开 alpine:
- 正常打开 alpine
`alpine`
@ -12,6 +12,6 @@
`alpine {{邮箱地址}}`
- 退出 alpine:
- 退出 alpine
`'q' 然后 'y'`

View File

@ -3,6 +3,6 @@
> 在任何 GNU/Linux 操作系统上运行安卓应用。
> 更多信息:<https://manned.org/anbox>.
- 在应用管理器中运行 Anbox:
- 在应用管理器中运行 Anbox
`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}`

View File

@ -4,7 +4,7 @@
> 主要用于汇编`gcc`的输出,以供链接器`ld`使用。
> 更多信息:<https://manned.org/as>.
- 汇编一个文件,输出为 a.out:
- 汇编一个文件,输出为 a.out
`as {{文件.s}}`

View File

@ -15,7 +15,7 @@
`aspell dicts`
- 指定不同的语言(取 ISO 639 语言代码的 2 个字母)来运行 aspell:
- 指定不同的语言(取 ISO 639 语言代码的 2 个字母)来运行 aspell
`aspell --lang={{cs}}`

View File

@ -23,7 +23,7 @@
`authconfig --update --enablenis`
- 开启 Kerberos:
- 开启 Kerberos
`authconfig --update --enablekrb5`

View File

@ -11,7 +11,7 @@
`binwalk --extract --directory {{输出目录}} {{二进制文件}}`
- 递归解压一个二进制文件并限制递归深度为 2:
- 递归解压一个二进制文件并限制递归深度为 2
`binwalk --extract --matryoshka --depth {{2}} {{二进制文件}}`

View File

@ -3,7 +3,7 @@
> 用图形显示有关正在运行的进程的动态实时信息。类似于 `gtop``htop`.
> 更多信息:<https://github.com/aristocratos/bpytop>.
- 运行 bpytop:
- 运行 bpytop
`bpytop`

View File

@ -15,7 +15,7 @@
`sudo brctl del {{网桥名}}`
- 向现有网桥添加接口:
- 向现有网桥添加接口
`sudo brctl addif {{网桥名}} {{接口名}}`

View File

@ -4,7 +4,7 @@
> 建议每月运行一次 scrub.
> 更多信息:<https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-scrub>.
- 开始 scrub:
- 开始 scrub
`sudo btrfs scrub start {{指向挂载点的路径}}`
@ -12,11 +12,11 @@
`sudo btrfs scrub status {{指向挂载点的路径}}`
- 取消正在进行的 scrub:
- 取消正在进行的 scrub
`sudo btrfs scrub cancel {{指向挂载点的路径}}`
- 恢复先前取消的 scrub:
- 恢复先前取消的 scrub
`sudo btrfs scrub resume {{指向挂载点的路径}}`

View File

@ -16,10 +16,10 @@
`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu > {{color.txt}}`
- 在特定的监视器上启动 `dmenu`:
- 在特定的监视器上启动 `dmenu`
`ls | dmenu -m {{1}}`
- 在屏幕底部显示 `dmenu`:
- 在屏幕底部显示 `dmenu`
`ls | dmenu -b`

View File

@ -3,7 +3,7 @@
> 带有 gui 界面的 Screenshot 工具,支持基本的图像编辑,例如文本,形状,颜色和 imgur.
> 更多信息:<https://flameshot.org>.
- 在 GUI 模式下启动 Flameshot:
- 在 GUI 模式下启动 Flameshot
`flameshot launcher`

View File

@ -11,6 +11,6 @@
`grub-install --target={{x86_64-efi}} --efi-directory={{path/to/efi_directory}} --bootloader-id={{GRUB}}`
- 安装预置指定模块的 GRUB:
- 安装预置指定模块的 GRUB
`grub-install --target={{x86_64-efi}} --efi-directory={{path/to/efi_directory}} --modules="{{part_gpt part_msdos}}"`

View File

@ -3,7 +3,7 @@
> Konsole: KDE 终端模拟器。
> 更多信息:<https://konsole.kde.org>.
- 在特定目录中打开一个新的 Konsole:
- 在特定目录中打开一个新的 Konsole
`konsole --workdir {{path/to/directory}}`
@ -19,6 +19,6 @@
`konsole --background-mode`
- 使用紧急备冗配置文件打开 Konsole:
- 使用紧急备冗配置文件打开 Konsole
`konsole --fallback-profile`

View File

@ -4,7 +4,7 @@
> 主要用于汇编 `gcc` 的输出以供 `ld` 使用。
> 更多信息:<https://www.unix.com/man-page/osx/1/as/>.
- 汇编文件,将输出写入 a.out:
- 汇编文件,将输出写入 a.out
`as {{文件.s}}`

View File

@ -6,10 +6,10 @@
`brightness -l`
- 设置亮度到 100%::
- 设置亮度到 100%:
`brightness {{1}}`
- 设置亮度到 50%::
- 设置亮度到 50%:
`brightness {{0.5}}`

View File

@ -7,11 +7,11 @@
`carthage update`
- 仅针对 IOS 平台,升级依赖文件 :
- 仅针对 IOS 平台,升级依赖文件
`carthage update --platform ios`
- 仅更新依赖,但不编译它们 :
- 仅更新依赖,但不编译它们
`carthage update --no-build`
@ -19,6 +19,6 @@
`carthage bootstrap`
- 重新编译特定依赖项 :
- 重新编译特定依赖项
`carthage build {{依赖包}}`

View File

@ -3,7 +3,7 @@
> 设置或显示系统日期。
> 更多信息:<https://ss64.com/osx/date.html>.
- 使用默认区域设置的格式显示当前日期 :
- 使用默认区域设置的格式显示当前日期
`date +"%c"`

View File

@ -4,7 +4,7 @@
> `launchd`加载放置在适当位置的基于 XML 的`*.plist`文件,并根据其定义的计划运行相应的命令。
> 更多信息:<https://manned.org/launchctl>.
- 每当用户登录时,自动将 plist 文件加载到 `launchd` :
- 每当用户登录时,自动将 plist 文件加载到 `launchd`
`launchctl load ~/Library/LaunchAgents/{{我的脚本}}.plist`

View File

@ -14,6 +14,6 @@
`networksetup -getairportnetwork {{en0}}`
- 连接到给定的 Wi-Fi 网络 Connect to a particular Wi-Fi network:
- 连接到给定的 Wi-Fi 网络 Connect to a particular Wi-Fi network
`networksetup -setairportnetwork {{en0}} "{{无线网 SSID}}" {{密码}}`

View File

@ -2,7 +2,7 @@
> Swift 和 Objective-C Cocoa 项目的依赖关系管理。
- 为当前项目初始化包含默认内容的 podfile:
- 为当前项目初始化包含默认内容的 podfile
`pod init`
@ -10,7 +10,7 @@
`pod install`
- 列出所有可用的 pod:
- 列出所有可用的 pod
`pod list`
@ -26,6 +26,6 @@
`pod update {{pod_名}}`
- 从 Xcode 项目中删除 CocoaPods:
- 从 Xcode 项目中删除 CocoaPods
`pod deintegrate {{xcode_项目}}`

View File

@ -19,7 +19,7 @@
`sips --resampleWidth {{960}} {{目标 / 文件夹 / 所有图片文件}}`
- 将图像从 CMYK 转换为 RGB:
- 将图像从 CMYK 转换为 RGB
`sips --matchTo '/System/Library/ColorSync/Profiles/Generic RGB Profile.icc' {{目标 / 文件夹 / 图片。扩展}} {{目标 / 文件夹 / 输出文件夹}}`

View File

@ -7,7 +7,7 @@
`textutil -info {{foo.rtf}}`
- 将 `foo.rtf` 转换为 `foo.html`:
- 将 `foo.rtf` 转换为 `foo.html`
`textutil -convert {{html}} {{foo.rtf}}`
@ -15,10 +15,10 @@
`textutil {{foo.rtf}} -convert {{txt}}`
- 将 `foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10:
- 将 `foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10
`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}`
- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入HTML 标题设置为"多个文件":
- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入HTML 标题设置为"多个文件"
`textutil -cat {{html}} -title "多个文件" -output {{index.html}} *.rtf`

View File

@ -10,6 +10,6 @@
`xcodebuild -target {{目标名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
- 显示 SDK:
- 显示 SDK
`xcodebuild -showsdks`

View File

@ -2,7 +2,7 @@
> 用 Xcode 打开要编辑的文件。
- 用 Xcode 打开文件 :
- 用 Xcode 打开文件
`xed {{文件名}}`

View File

@ -19,6 +19,6 @@
`choco new {{包名}} --output-directory {{指定的目录路径}}`
- 创建一个新的包并指定其 32 位版和 64 位版的安装 URL:
- 创建一个新的包并指定其 32 位版和 64 位版的安装 URL
`choco new {{package_name}} url="{{url}}" url64="{{url}}"`

View File

@ -3,7 +3,7 @@
> 将 nuspec 打包到已编译的 nupkg.
> 更多信息:<https://chocolatey.org/docs/commands-pack>.
- 将 nuspec 打包到已编译的 nupkg:
- 将 nuspec 打包到已编译的 nupkg
`choco pack {{nuspec 的路径}}`

View File

@ -11,7 +11,7 @@
`cmd /c "{{命令}}"`
- 执行一个指定的命令,之后进入一个交互式 shell:
- 执行一个指定的命令,之后进入一个交互式 shell
`cmd /k "{{命令}}"`

View File

@ -23,11 +23,11 @@
`pathping {{主机名}} -q {{查询语句}}`
- 强制使用 IPV4:
- 强制使用 IPV4
`pathping {{主机名}} -4`
- 强制使用 IPV6:
- 强制使用 IPV6
`pathping {{主机名}} -6`

View File

@ -11,7 +11,7 @@
`reg add {{键名}} /v {{值}}`
- Add a new value with specific data:
- Add a new value with specific data
`reg add {{键名}} /d {{数据}}`

View File

@ -4,22 +4,22 @@
> 如果 Scoop 不知道 bucket 在哪里,则必须指定其存储库位置。
> 更多信息:<https://github.com/lukesampson/scoop/wiki/Buckets>.
- 列出所有正在使用的 bucket:
- 列出所有正在使用的 bucket
`scoop bucket list`
- 列出所有已知 bucket:
- 列出所有已知 bucket
`scoop bucket known`
- 按名称添加一个已知 bucket:
- 按名称添加一个已知 bucket
`scoop bucket add {{名称}}`
- 通过名称和 Git 存储库 URL 添加未知 bucket:
- 通过名称和 Git 存储库 URL 添加未知 bucket
`scoop bucket add {{名称}} {{https://example.com/repository.git}}`
- 按名称删除 bucket:
- 按名称删除 bucket
`scoop bucket rm {{名称}}`

View File

@ -3,6 +3,6 @@
> 显示当前 Windows 或 MS-DOS 的版本号。
> 更多信息:<https://docs.microsoft.com/windows-server/administration/windows-commands/ver>.
- Display the current version number:
- Display the current version number
`ver`

View File

@ -19,6 +19,6 @@
`whoami /upn`
- 显示当前用户的登录 id:
- 显示当前用户的登录 id
`whoami /logonid`

View File

@ -15,6 +15,6 @@
`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}`
- 將意圖intent轉換為 URI:
- 將意圖intent轉換為 URI
`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}`

View File

@ -3,7 +3,7 @@
> Visual Studio Code.
> 更多資訊:<https://github.com/microsoft/vscode>.
- 執行 VS Code:
- 執行 VS Code
`code`
@ -23,6 +23,6 @@
`code -d {{檔案一}} {{檔案二}}`
- 用超級使用者 (sudo) 權限執行 VS Code:
- 用超級使用者 (sudo) 權限執行 VS Code
`sudo code {{檔案或目錄/完整/路徑}} --user-data-dir`

View File

@ -24,7 +24,7 @@
`docker pull {{映像檔}}`
- 從正在運行的容器內打開一個 shell:
- 從正在運行的容器內打開一個 shell
`docker exec -it {{容器名稱}} {{sh}}`

View File

@ -11,7 +11,7 @@
`cmd /c "{{命令}}"`
- 執行一個指定的命令,之後進入一個互動式 shell:
- 執行一個指定的命令,之後進入一個互動式 shell
`cmd /k "{{命令}}"`

View File

@ -27,10 +27,10 @@
`awk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{filename}}`
- Print all lines where the 10th column value equals the specified value :
- Print all lines where the 10th column value equals the specified value:
`awk '($10 == value)'`
- Print all the lines which the 10th column value is between a min and a max :
- Print all the lines which the 10th column value is between a min and a max:
`awk '($10 >= min_value && $10 <= max_value)'`

View File

@ -20,6 +20,6 @@
`updog --password {{password}}`
- Enable transport encryption via SSL :
- Enable transport encryption via SSL:
`updog --ssl`

View File

@ -8,6 +8,6 @@
`sudo vgscan`
- Scan for volume groups and add the special files in `/dev`, if they don't already exist, needed to access the logical volumes in the found groups :
- Scan for volume groups and add the special files in `/dev`, if they don't already exist, needed to access the logical volumes in the found groups:
`sudo vgscan --mknodes`