From 8bad72a07093b32ecc1e0e44f49a55c2e3cd266c Mon Sep 17 00:00:00 2001 From: binertia Date: Sun, 15 Jun 2025 12:47:03 +0700 Subject: [PATCH] pages.th/osx/a* : add Thai translations (#16806) --- pages.th/osx/afinfo.md | 29 +++++++++++++++++++++++++++++ pages.th/osx/afplay.md | 20 ++++++++++++++++++++ pages.th/osx/aiac.md | 24 ++++++++++++++++++++++++ pages.th/osx/airport.md | 20 ++++++++++++++++++++ pages.th/osx/airportd.md | 9 +++++++++ pages.th/osx/apachectl.md | 16 ++++++++++++++++ pages.th/osx/applecamerad.md | 9 +++++++++ pages.th/osx/appsleepd.md | 9 +++++++++ pages.th/osx/arch.md | 17 +++++++++++++++++ pages.th/osx/archey.md | 20 ++++++++++++++++++++ pages.th/osx/as.md | 21 +++++++++++++++++++++ pages.th/osx/asr.md | 21 +++++++++++++++++++++ pages.th/osx/autofsd.md | 9 +++++++++ pages.th/osx/automount.md | 18 ++++++++++++++++++ pages.th/osx/automountd.md | 13 +++++++++++++ pages.th/osx/autoraise.md | 8 ++++++++ pages.th/osx/auvaltool.md | 13 +++++++++++++ pages.th/osx/avbdeviced.md | 9 +++++++++ 18 files changed, 285 insertions(+) create mode 100644 pages.th/osx/afinfo.md create mode 100644 pages.th/osx/afplay.md create mode 100644 pages.th/osx/aiac.md create mode 100644 pages.th/osx/airport.md create mode 100644 pages.th/osx/airportd.md create mode 100644 pages.th/osx/apachectl.md create mode 100644 pages.th/osx/applecamerad.md create mode 100644 pages.th/osx/appsleepd.md create mode 100644 pages.th/osx/arch.md create mode 100644 pages.th/osx/archey.md create mode 100644 pages.th/osx/as.md create mode 100644 pages.th/osx/asr.md create mode 100644 pages.th/osx/autofsd.md create mode 100644 pages.th/osx/automount.md create mode 100644 pages.th/osx/automountd.md create mode 100644 pages.th/osx/autoraise.md create mode 100644 pages.th/osx/auvaltool.md create mode 100644 pages.th/osx/avbdeviced.md diff --git a/pages.th/osx/afinfo.md b/pages.th/osx/afinfo.md new file mode 100644 index 0000000000..2969799d4e --- /dev/null +++ b/pages.th/osx/afinfo.md @@ -0,0 +1,29 @@ +# afinfo + +> โปรแกรมสำหรับแสดงข้อมูลเมตาของไฟล์เสียงบน OS X. +> คำสั่งที่ติดตั้งมาพร้อมกับ OS X. +> ข้อมูลเพิ่มเติม: + +- แสดงข้อมูลของไฟล์เสียงที่ส่งไป: + +`afinfo {{ทาง/ไป/ไฟล์}}` + +- แสดงข้อมูลโดยย่อของไฟล์เสียงในบรรทัดเดียว: + +`afinfo --brief {{ทาง/ไป/ไฟล์}}` + +- แสดงข้อมูลเมตาและเนื้อหาของ InfoDictionary ในไฟล์เสียง: + +`afinfo --info {{ทาง/ไป/ไฟล์}}` + +- แสดงข้อมูลในรูปแบบ XML: + +`afinfo --xml {{ทาง/ไป/ไฟล์}}` + +- แสดงคำเตือน (ถ้ามี) ของไฟล์เสียง: + +`afinfo --warnings {{ทาง/ไป/ไฟล์}}` + +- แสดงวิธีใช้งาน: + +`afinfo --help` diff --git a/pages.th/osx/afplay.md b/pages.th/osx/afplay.md new file mode 100644 index 0000000000..7991c4ca70 --- /dev/null +++ b/pages.th/osx/afplay.md @@ -0,0 +1,20 @@ +# afplay + +> เครื่องเล่นไฟล์เสียงผ่าน command-line. +> ข้อมูลเพิ่มเติม: + +- เล่นไฟล์เสียง (รอจนเล่นจบ): + +`afplay {{ทาง/ไป/ไฟล์}}` + +- เล่นไฟล์เสียงด้วยความเร็ว 2 เท่า: + +`afplay --rate {{2}} {{ทาง/ไป/ไฟล์}}` + +- เล่นไฟล์เสียงด้วยความเร็วครึ่งหนึ่ง: + +`afplay --rate {{0.5}} {{ทาง/ไป/ไฟล์}}` + +- เล่นตาม จำนวนวินาที ที่กำหนด จากจุดเริ่มแรกของไฟล์เสียง: + +`afplay --time {{จำนวนวินาที}} {{ทาง/ไป/ไฟล์}}` diff --git a/pages.th/osx/aiac.md b/pages.th/osx/aiac.md new file mode 100644 index 0000000000..f7beef298e --- /dev/null +++ b/pages.th/osx/aiac.md @@ -0,0 +1,24 @@ +# aiac + +> ใช้ OpenAI ผลิตการกำหนดค่าของ IaC, เครื่องมือ , คิวรีสำหรับค้นหา และอื่นๆ. +> ข้อมูลเพิ่มเติม: + +- สร้าง Terraform สำหรับบัญชี Azure storage: + +`aiac get terraform {{for an azure storage account}}` + +- สร้าง Dockerfile สำหรับ nginx: + +`aiac get dockerfile {{for a secured nginx}}` + +- สร้าง GitHub Action ที่จะใช้ Terraform ร่วม: + +`aiac get github action {{that plans and applies terraform}}` + +- สร้างโค้ด Python สำหรับสแกนพอร์ตที่เปิดทั้งหมดในเครือข่ายของฉัน: + +`aiac get python {{code that scans all open ports in my network}}` + +- สร้างคิวรี MongoDB ที่รวมเอกสารทั้งหมดตามวันที่สร้าง: + +`aiac get mongo {{query that aggregates all documents by created date}}` diff --git a/pages.th/osx/airport.md b/pages.th/osx/airport.md new file mode 100644 index 0000000000..c736dea684 --- /dev/null +++ b/pages.th/osx/airport.md @@ -0,0 +1,20 @@ +# airport + +> เครื่องมือสำหรับตั้งค่าเครือข่ายไร้สาย (WLANs, Wi-Fi). +> ข้อมูลเพิ่มเติม: + +- แสดงสถานะเครือข่ายไร้สายปัจจุบัน: + +`airport --getinfo` + +- ตรวจจับทราฟฟิกไร้สายบนช่องสัญญาณ 1: + +`airport sniff {{1}}` + +- สแกนหาเครือข่ายไร้สายที่ใช้งานได้: + +`airport --scan` + +- ตัดการเชื่อมต่อจากเครือข่าย airport ปัจจุบัน: + +`sudo airport --disassociate` diff --git a/pages.th/osx/airportd.md b/pages.th/osx/airportd.md new file mode 100644 index 0000000000..ef7f48a9d3 --- /dev/null +++ b/pages.th/osx/airportd.md @@ -0,0 +1,9 @@ +# airportd + +> อินเทอร์เฟซจัดการเครือข่ายไร้สาย (WLANs, Wi-Fi). +> โปรแกรมนี้ทำงานในพื้นหลังในฐานะ daemon และไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่มต้น daemon: + +`airportd` diff --git a/pages.th/osx/apachectl.md b/pages.th/osx/apachectl.md new file mode 100644 index 0000000000..033297187d --- /dev/null +++ b/pages.th/osx/apachectl.md @@ -0,0 +1,16 @@ +# apachectl + +> อินเทอร์เฟซควบคุมสำหรับ Apache HTTP Server เพื่อ macOS. +> ข้อมูลเพิ่มเติม: + +- เริ่ม `org.apache.httpd` launchd job: + +`apachectl start` + +- หยุด launchd job: + +`apachectl stop` + +- รีสตาร์ท (หยุด, แล้วเริ่ม) launchd job ใหม่: + +`apachectl restart` diff --git a/pages.th/osx/applecamerad.md b/pages.th/osx/applecamerad.md new file mode 100644 index 0000000000..9a05cd32d1 --- /dev/null +++ b/pages.th/osx/applecamerad.md @@ -0,0 +1,9 @@ +# applecamerad + +> ตัวจัดการกล้อง. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`applecamerad` diff --git a/pages.th/osx/appsleepd.md b/pages.th/osx/appsleepd.md new file mode 100644 index 0000000000..405b65be1b --- /dev/null +++ b/pages.th/osx/appsleepd.md @@ -0,0 +1,9 @@ +# appsleepd + +> เริ่มการพักการทำงานของแอป. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`appsleepd` diff --git a/pages.th/osx/arch.md b/pages.th/osx/arch.md new file mode 100644 index 0000000000..9259b580ba --- /dev/null +++ b/pages.th/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> แสดงชื่อสถาปัตยกรรมของระบบ หรือรันคำสั่งในสถาปัตยกรรมที่ต่างออกไป. +> ดูเพิ่มเติม: `uname`. +> ข้อมูลเพิ่มเติม: + +- แสดงสถาปัตยกรรมของระบบ: + +`arch` + +- รันคำสั่งโดยใช้สถาปัตยกรรม x86_64: + +`arch -x86_64 "{{คำสั่ง}}"` + +- รันคำสั่งโดยใช้สถาปัตยกรรม arm64: + +`arch -arm64 "{{คำสั่ง}}"` diff --git a/pages.th/osx/archey.md b/pages.th/osx/archey.md new file mode 100644 index 0000000000..0354e928fc --- /dev/null +++ b/pages.th/osx/archey.md @@ -0,0 +1,20 @@ +# archey + +> แสดงข้อมูลระบบอย่างมีสไตล์. +> ข้อมูลเพิ่มเติม: + +- แสดงข้อมูลระบบ: + +`archey` + +- แสดงข้อมูลระบบแบบไร้สี: + +`archey --nocolor` + +- แสดงข้อมูลระบบโดยใช้ MacPorts แทน Homebrew: + +`archey --macports` + +- แสดงข้อมูลระบบโดยไม่ตรวจสอบ IP address: + +`archey --offline` diff --git a/pages.th/osx/as.md b/pages.th/osx/as.md new file mode 100644 index 0000000000..4f028d5179 --- /dev/null +++ b/pages.th/osx/as.md @@ -0,0 +1,21 @@ +# as + +> แอสเซมเบลอร์ของ GNU ขนาดย่อม. +> ออกแบบมาเพื่อแปลงผลลัพธ์จาก `gcc` ให้เป็นไฟล์ที่ใช้กับ `ld`. +> ข้อมูลเพิ่มเติม: + +- แปลงไฟล์เป็นแอสเซมบลี โดยส่งออกไฟล์ลงใน `a.out`: + +`as {{ทาง/ไป/ไฟล์}}` + +- แปลงไฟล์และส่งออกเป็นชื่อไฟล์ที่กำหนด: + +`as {{ทาง/ไป/ไฟล์}} -o {{ทาง/ไป/ไฟล์ผลลัพธ์}}` + +- สร้างผลลัพธ์ให้เร็วขึ้น โดยไม่สนใจช่องว่าง(whitespace) และคอมเมนต์ (ควรใช้กับคอมไพเลอร์ที่น่าเชื่อถือเท่านั้น): + +`as -f {{ทาง/ไป/ไฟล์}}` + +- เพิ่มไดเรกทอรีที่ระบุเข้าไปในรายการค้นหาไฟล์ที่อ้างอิงโดยคำสั่ง .include ขณะประกอบไฟล์: + +`as -I {{ทาง/ไป/สารบบ}} {{ทาง/ไป/ไฟล์}}` diff --git a/pages.th/osx/asr.md b/pages.th/osx/asr.md new file mode 100644 index 0000000000..7bae50baf6 --- /dev/null +++ b/pages.th/osx/asr.md @@ -0,0 +1,21 @@ +# asr + +> กู้คืน (คัดลอก) ดิสก์อิมเมจไปยังวอลุ่ม. +> ชื่อคำสั่งย่อมาจาก Apple Software Restore. +> ข้อมูลเพิ่มเติม: + +- กู้คืนอิมเมจดิสก์ไปยังวอลุ่มเป้าหมาย: + +`sudo asr restore --source {{อิมเมจไฟล์.dmg}} --target {{ทาง/ไป/วอลุมไฟล์}}` + +- ลบข้อมูลในวอลุ่มเป้าหมายก่อนการกู้คืน: + +`sudo asr restore --source {{อิมเมจไฟล์.dmg}} --target {{ทาง/ไป/วอลุมไฟล์}} --erase` + +- ข้ามขั้นตอนตรวจสอบหลังการกู้คืน: + +`sudo asr restore --source {{อิมเมจไฟล์.dmg}} --target {{ทาง/ไป/วอลุมไฟล์}} --noverify` + +- โคลนวอลุ่มโดยไม่ใช้อิมเมจดิสก์ตัวกลาง: + +`sudo asr restore --source {{ทาง/ไป/วอลุมไฟล์}} --target {{ทาง/ไป/วอลุมไฟล์}}` diff --git a/pages.th/osx/autofsd.md b/pages.th/osx/autofsd.md new file mode 100644 index 0000000000..d88409b3b5 --- /dev/null +++ b/pages.th/osx/autofsd.md @@ -0,0 +1,9 @@ +# autofsd + +> รันคำสั่ง `automount` เมื่อเริ่มระบบหรือมีการเปลี่ยนแปลงการตั้งค่าเครือข่ายเน็ต. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`autofsd` diff --git a/pages.th/osx/automount.md b/pages.th/osx/automount.md new file mode 100644 index 0000000000..86f1ab1fbd --- /dev/null +++ b/pages.th/osx/automount.md @@ -0,0 +1,18 @@ +# automount + +> อ่านไฟล์ `/etc/auto_master` และทำการ mount `autofs` ที่จุดเชื่อมต่อที่กำหนดไว้เพื่อเรียกใช้งานการ mount แบบอัตโนมัติตามต้องการ. +> โดยทั่วไปใช้สำหรับเริ่มกระบวนการ automount ของระบบแบบแมนนวล. +> หมายเหตุ: อาจจะต้องใช้ `sudo` ในการรันหากคุณไม่มีสิทธิ์เพียงพอในการรัน. +> ข้อมูลเพิ่มเติม: + +- รัน automount โดยล้างแคชล่วงหน้า (`-c`) และแสดงข้อมูลอย่างละเอียด (`-v`) (ใช้บ่อยที่สุด): + +`automount -cv` + +- ยกเลิกการเชื่อมต่อโดยอัตโนมัติหลังไม่มีการใช้งาน 5 นาที (300 วินาที): + +`automount -t 300` + +- ยกเลิกการเชื่อมต่อทั้งหมดที่เคยถูก mount โดย automount (และใน / หรือที่กำหนดใน) `/etc/auto_master`: + +`automount -u` diff --git a/pages.th/osx/automountd.md b/pages.th/osx/automountd.md new file mode 100644 index 0000000000..02d8c6522a --- /dev/null +++ b/pages.th/osx/automountd.md @@ -0,0 +1,13 @@ +# automountd + +> daemon สำหรับการ mount/unmount อัตโนมัติของ `autofs` ที่ถูกเริ่มต้นโดย `launchd` เมื่อจำเป็น. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`automountd` + +- บันทึกข้อมูลเพิ่มเติมลงใน `syslog`: + +`automountd -v` diff --git a/pages.th/osx/autoraise.md b/pages.th/osx/autoraise.md new file mode 100644 index 0000000000..013f1f9d1a --- /dev/null +++ b/pages.th/osx/autoraise.md @@ -0,0 +1,8 @@ +# AutoRaise + +> ยกหน้าต่างขึ้นมาหรือโฟกัสหน้าต่าง (หรือทำทั้งสองอย่าง) โดยอัตโนมัติเมื่อเลื่อนเมาส์ไปวางเหนือหน้าต่างนั้น. +> ข้อมูลเพิ่มเติม: + +- รัน AutoRaise แบบเบื้องหลัง: + +`autoraise &` diff --git a/pages.th/osx/auvaltool.md b/pages.th/osx/auvaltool.md new file mode 100644 index 0000000000..96b2d0b49f --- /dev/null +++ b/pages.th/osx/auvaltool.md @@ -0,0 +1,13 @@ +# auvaltool + +> เครื่องมือสำหรับตรวจสอบและยืนยันความถูกต้องของ AudioUnit บน macOS. +> ใช้ในการทดสอบว่า AudioUnit แต่ละตัวทำงานถูกต้องตามมาตรฐานหรือไม่. +> ข้อมูลเพิ่มเติม: + +- แสดงรายการ AudioUnit ที่มีทั้งหมดทุกประเภท: + +`auvaltool -a` + +- แสดงรายการ AudioUnit ที่มีทั้งหมด พร้อมแสดงที่ตั้งไฟล์: + +`auvaltool -al` diff --git a/pages.th/osx/avbdeviced.md b/pages.th/osx/avbdeviced.md new file mode 100644 index 0000000000..614f5ef0b4 --- /dev/null +++ b/pages.th/osx/avbdeviced.md @@ -0,0 +1,9 @@ +# avbdeviced + +> บริการสำหรับจัดการอุปกรณ์ Audio Video Bridging (AVB). +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`avbdeviced`