mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 20:55:24 +02:00
pages.th/osx/a* : add Thai translations (#16806)
This commit is contained in:
parent
2f3f10e9e3
commit
8bad72a070
18 changed files with 285 additions and 0 deletions
29
pages.th/osx/afinfo.md
Normal file
29
pages.th/osx/afinfo.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# afinfo
|
||||
|
||||
> โปรแกรมสำหรับแสดงข้อมูลเมตาของไฟล์เสียงบน OS X.
|
||||
> คำสั่งที่ติดตั้งมาพร้อมกับ OS X.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/afinfo.1.html>
|
||||
|
||||
- แสดงข้อมูลของไฟล์เสียงที่ส่งไป:
|
||||
|
||||
`afinfo {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- แสดงข้อมูลโดยย่อของไฟล์เสียงในบรรทัดเดียว:
|
||||
|
||||
`afinfo --brief {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- แสดงข้อมูลเมตาและเนื้อหาของ InfoDictionary ในไฟล์เสียง:
|
||||
|
||||
`afinfo --info {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- แสดงข้อมูลในรูปแบบ XML:
|
||||
|
||||
`afinfo --xml {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- แสดงคำเตือน (ถ้ามี) ของไฟล์เสียง:
|
||||
|
||||
`afinfo --warnings {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- แสดงวิธีใช้งาน:
|
||||
|
||||
`afinfo --help`
|
20
pages.th/osx/afplay.md
Normal file
20
pages.th/osx/afplay.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# afplay
|
||||
|
||||
> เครื่องเล่นไฟล์เสียงผ่าน command-line.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/afplay.1.html>
|
||||
|
||||
- เล่นไฟล์เสียง (รอจนเล่นจบ):
|
||||
|
||||
`afplay {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- เล่นไฟล์เสียงด้วยความเร็ว 2 เท่า:
|
||||
|
||||
`afplay --rate {{2}} {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- เล่นไฟล์เสียงด้วยความเร็วครึ่งหนึ่ง:
|
||||
|
||||
`afplay --rate {{0.5}} {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- เล่นตาม จำนวนวินาที ที่กำหนด จากจุดเริ่มแรกของไฟล์เสียง:
|
||||
|
||||
`afplay --time {{จำนวนวินาที}} {{ทาง/ไป/ไฟล์}}`
|
24
pages.th/osx/aiac.md
Normal file
24
pages.th/osx/aiac.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# aiac
|
||||
|
||||
> ใช้ OpenAI ผลิตการกำหนดค่าของ IaC, เครื่องมือ , คิวรีสำหรับค้นหา และอื่นๆ.
|
||||
> ข้อมูลเพิ่มเติม: <https://github.com/gofireflyio/aiac>
|
||||
|
||||
- สร้าง 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}}`
|
20
pages.th/osx/airport.md
Normal file
20
pages.th/osx/airport.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# airport
|
||||
|
||||
> เครื่องมือสำหรับตั้งค่าเครือข่ายไร้สาย (WLANs, Wi-Fi).
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/airport.1.html>
|
||||
|
||||
- แสดงสถานะเครือข่ายไร้สายปัจจุบัน:
|
||||
|
||||
`airport --getinfo`
|
||||
|
||||
- ตรวจจับทราฟฟิกไร้สายบนช่องสัญญาณ 1:
|
||||
|
||||
`airport sniff {{1}}`
|
||||
|
||||
- สแกนหาเครือข่ายไร้สายที่ใช้งานได้:
|
||||
|
||||
`airport --scan`
|
||||
|
||||
- ตัดการเชื่อมต่อจากเครือข่าย airport ปัจจุบัน:
|
||||
|
||||
`sudo airport --disassociate`
|
9
pages.th/osx/airportd.md
Normal file
9
pages.th/osx/airportd.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# airportd
|
||||
|
||||
> อินเทอร์เฟซจัดการเครือข่ายไร้สาย (WLANs, Wi-Fi).
|
||||
> โปรแกรมนี้ทำงานในพื้นหลังในฐานะ daemon และไม่ควรเรียกใช้งานด้วยตนเอง.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/airportd.8.html>
|
||||
|
||||
- เริ่มต้น daemon:
|
||||
|
||||
`airportd`
|
16
pages.th/osx/apachectl.md
Normal file
16
pages.th/osx/apachectl.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# apachectl
|
||||
|
||||
> อินเทอร์เฟซควบคุมสำหรับ Apache HTTP Server เพื่อ macOS.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/apachectl.8.html>
|
||||
|
||||
- เริ่ม `org.apache.httpd` launchd job:
|
||||
|
||||
`apachectl start`
|
||||
|
||||
- หยุด launchd job:
|
||||
|
||||
`apachectl stop`
|
||||
|
||||
- รีสตาร์ท (หยุด, แล้วเริ่ม) launchd job ใหม่:
|
||||
|
||||
`apachectl restart`
|
9
pages.th/osx/applecamerad.md
Normal file
9
pages.th/osx/applecamerad.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# applecamerad
|
||||
|
||||
> ตัวจัดการกล้อง.
|
||||
> ไม่ควรเรียกใช้งานด้วยตนเอง.
|
||||
> ข้อมูลเพิ่มเติม: <https://www.theiphonewiki.com/wiki/Services>
|
||||
|
||||
- เริ่ม daemon:
|
||||
|
||||
`applecamerad`
|
9
pages.th/osx/appsleepd.md
Normal file
9
pages.th/osx/appsleepd.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# appsleepd
|
||||
|
||||
> เริ่มการพักการทำงานของแอป.
|
||||
> ไม่ควรเรียกใช้งานด้วยตนเอง.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/appsleepd.8.html>
|
||||
|
||||
- เริ่ม daemon:
|
||||
|
||||
`appsleepd`
|
17
pages.th/osx/arch.md
Normal file
17
pages.th/osx/arch.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# arch
|
||||
|
||||
> แสดงชื่อสถาปัตยกรรมของระบบ หรือรันคำสั่งในสถาปัตยกรรมที่ต่างออกไป.
|
||||
> ดูเพิ่มเติม: `uname`.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/arch.1.html>
|
||||
|
||||
- แสดงสถาปัตยกรรมของระบบ:
|
||||
|
||||
`arch`
|
||||
|
||||
- รันคำสั่งโดยใช้สถาปัตยกรรม x86_64:
|
||||
|
||||
`arch -x86_64 "{{คำสั่ง}}"`
|
||||
|
||||
- รันคำสั่งโดยใช้สถาปัตยกรรม arm64:
|
||||
|
||||
`arch -arm64 "{{คำสั่ง}}"`
|
20
pages.th/osx/archey.md
Normal file
20
pages.th/osx/archey.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# archey
|
||||
|
||||
> แสดงข้อมูลระบบอย่างมีสไตล์.
|
||||
> ข้อมูลเพิ่มเติม: <https://github.com/joshfinnie/archey-osx>
|
||||
|
||||
- แสดงข้อมูลระบบ:
|
||||
|
||||
`archey`
|
||||
|
||||
- แสดงข้อมูลระบบแบบไร้สี:
|
||||
|
||||
`archey --nocolor`
|
||||
|
||||
- แสดงข้อมูลระบบโดยใช้ MacPorts แทน Homebrew:
|
||||
|
||||
`archey --macports`
|
||||
|
||||
- แสดงข้อมูลระบบโดยไม่ตรวจสอบ IP address:
|
||||
|
||||
`archey --offline`
|
21
pages.th/osx/as.md
Normal file
21
pages.th/osx/as.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# as
|
||||
|
||||
> แอสเซมเบลอร์ของ GNU ขนาดย่อม.
|
||||
> ออกแบบมาเพื่อแปลงผลลัพธ์จาก `gcc` ให้เป็นไฟล์ที่ใช้กับ `ld`.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/as.1.html>
|
||||
|
||||
- แปลงไฟล์เป็นแอสเซมบลี โดยส่งออกไฟล์ลงใน `a.out`:
|
||||
|
||||
`as {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- แปลงไฟล์และส่งออกเป็นชื่อไฟล์ที่กำหนด:
|
||||
|
||||
`as {{ทาง/ไป/ไฟล์}} -o {{ทาง/ไป/ไฟล์ผลลัพธ์}}`
|
||||
|
||||
- สร้างผลลัพธ์ให้เร็วขึ้น โดยไม่สนใจช่องว่าง(whitespace) และคอมเมนต์ (ควรใช้กับคอมไพเลอร์ที่น่าเชื่อถือเท่านั้น):
|
||||
|
||||
`as -f {{ทาง/ไป/ไฟล์}}`
|
||||
|
||||
- เพิ่มไดเรกทอรีที่ระบุเข้าไปในรายการค้นหาไฟล์ที่อ้างอิงโดยคำสั่ง .include ขณะประกอบไฟล์:
|
||||
|
||||
`as -I {{ทาง/ไป/สารบบ}} {{ทาง/ไป/ไฟล์}}`
|
21
pages.th/osx/asr.md
Normal file
21
pages.th/osx/asr.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# asr
|
||||
|
||||
> กู้คืน (คัดลอก) ดิสก์อิมเมจไปยังวอลุ่ม.
|
||||
> ชื่อคำสั่งย่อมาจาก Apple Software Restore.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/asr.8.html>
|
||||
|
||||
- กู้คืนอิมเมจดิสก์ไปยังวอลุ่มเป้าหมาย:
|
||||
|
||||
`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 {{ทาง/ไป/วอลุมไฟล์}}`
|
9
pages.th/osx/autofsd.md
Normal file
9
pages.th/osx/autofsd.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# autofsd
|
||||
|
||||
> รันคำสั่ง `automount` เมื่อเริ่มระบบหรือมีการเปลี่ยนแปลงการตั้งค่าเครือข่ายเน็ต.
|
||||
> ไม่ควรเรียกใช้งานด้วยตนเอง.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/autofsd.8.html>
|
||||
|
||||
- เริ่ม daemon:
|
||||
|
||||
`autofsd`
|
18
pages.th/osx/automount.md
Normal file
18
pages.th/osx/automount.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# automount
|
||||
|
||||
> อ่านไฟล์ `/etc/auto_master` และทำการ mount `autofs` ที่จุดเชื่อมต่อที่กำหนดไว้เพื่อเรียกใช้งานการ mount แบบอัตโนมัติตามต้องการ.
|
||||
> โดยทั่วไปใช้สำหรับเริ่มกระบวนการ automount ของระบบแบบแมนนวล.
|
||||
> หมายเหตุ: อาจจะต้องใช้ `sudo` ในการรันหากคุณไม่มีสิทธิ์เพียงพอในการรัน.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/automount.8.html>
|
||||
|
||||
- รัน automount โดยล้างแคชล่วงหน้า (`-c`) และแสดงข้อมูลอย่างละเอียด (`-v`) (ใช้บ่อยที่สุด):
|
||||
|
||||
`automount -cv`
|
||||
|
||||
- ยกเลิกการเชื่อมต่อโดยอัตโนมัติหลังไม่มีการใช้งาน 5 นาที (300 วินาที):
|
||||
|
||||
`automount -t 300`
|
||||
|
||||
- ยกเลิกการเชื่อมต่อทั้งหมดที่เคยถูก mount โดย automount (และใน / หรือที่กำหนดใน) `/etc/auto_master`:
|
||||
|
||||
`automount -u`
|
13
pages.th/osx/automountd.md
Normal file
13
pages.th/osx/automountd.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# automountd
|
||||
|
||||
> daemon สำหรับการ mount/unmount อัตโนมัติของ `autofs` ที่ถูกเริ่มต้นโดย `launchd` เมื่อจำเป็น.
|
||||
> ไม่ควรเรียกใช้งานด้วยตนเอง.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/automountd.8.html>
|
||||
|
||||
- เริ่ม daemon:
|
||||
|
||||
`automountd`
|
||||
|
||||
- บันทึกข้อมูลเพิ่มเติมลงใน `syslog`:
|
||||
|
||||
`automountd -v`
|
8
pages.th/osx/autoraise.md
Normal file
8
pages.th/osx/autoraise.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# AutoRaise
|
||||
|
||||
> ยกหน้าต่างขึ้นมาหรือโฟกัสหน้าต่าง (หรือทำทั้งสองอย่าง) โดยอัตโนมัติเมื่อเลื่อนเมาส์ไปวางเหนือหน้าต่างนั้น.
|
||||
> ข้อมูลเพิ่มเติม: <https://github.com/sbmpost/AutoRaise>
|
||||
|
||||
- รัน AutoRaise แบบเบื้องหลัง:
|
||||
|
||||
`autoraise &`
|
13
pages.th/osx/auvaltool.md
Normal file
13
pages.th/osx/auvaltool.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# auvaltool
|
||||
|
||||
> เครื่องมือสำหรับตรวจสอบและยืนยันความถูกต้องของ AudioUnit บน macOS.
|
||||
> ใช้ในการทดสอบว่า AudioUnit แต่ละตัวทำงานถูกต้องตามมาตรฐานหรือไม่.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/auvaltool.1.html>
|
||||
|
||||
- แสดงรายการ AudioUnit ที่มีทั้งหมดทุกประเภท:
|
||||
|
||||
`auvaltool -a`
|
||||
|
||||
- แสดงรายการ AudioUnit ที่มีทั้งหมด พร้อมแสดงที่ตั้งไฟล์:
|
||||
|
||||
`auvaltool -al`
|
9
pages.th/osx/avbdeviced.md
Normal file
9
pages.th/osx/avbdeviced.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# avbdeviced
|
||||
|
||||
> บริการสำหรับจัดการอุปกรณ์ Audio Video Bridging (AVB).
|
||||
> ไม่ควรเรียกใช้งานด้วยตนเอง.
|
||||
> ข้อมูลเพิ่มเติม: <https://keith.github.io/xcode-man-pages/avbdeviced.1.html>
|
||||
|
||||
- เริ่ม daemon:
|
||||
|
||||
`avbdeviced`
|
Loading…
Add table
Reference in a new issue