---
title: "cli | Today I Learned | OOZOU"
description: "โน้ตสั้นใช้ได้จริงเกี่ยวกับ cli จากทีม OOZOU"
canonical: https://oozou.com/th/til-topics/cli
locale: th
---

# cli | Today I Learned

> โน้ตสั้นใช้ได้จริงเกี่ยวกับ cli จากทีม OOZOU

- [รัน Claude Code แบบอัตโนมัติเต็มรูปแบบด้วย alias ชื่อ YOLO](https://oozou.com/th/til/run-claude-code-fully-autonomously-with-a-yolo-alias-190) ([markdown](https://oozou.com/th/til/run-claude-code-fully-autonomously-with-a-yolo-alias-190.md)) (2026-02-16): flag --dangerously-skip-permissions ช่วยให้ Claude Code รันคำสั่งและแก้ไขไฟล์ได้โดยไม่ต้องมี prompt ยืนยัน แต่การพิมพ์มันทุกครั้งก็เบื่อเร็วอยู่เหมือนกัน
- [รันคำสั่งบน GPU Nvidia แบบ dedicated ใน GNU/Linux (เช่น ollama)](https://oozou.com/th/til/run-a-command-on-your-gnu-linux-dedicated-nvidia-gpu-e-g-ollama-189) ([markdown](https://oozou.com/th/til/run-a-command-on-your-gnu-linux-dedicated-nvidia-gpu-e-g-ollama-189.md)) (2024-03-20): ถ้าอยากให้คำสั่ง (CLI) รันบน NVIDIA GPU ใน GNU/Linux ให้ใส่ environment variable \\NV\PRIME\RENDER\OFFLOAD=1 และ \\GLX\VENDOR\LIBRARY\NAME=nvidia ไว้หน้าคำสั่ง
- [git check-ignore](https://oozou.com/th/til/git-check-ignore-117) ([markdown](https://oozou.com/th/til/git-check-ignore-117.md)) (2021-05-25): คำสั่งนี้ช่วยให้ debug ได้ว่าไฟล์หรือ path หนึ่ง ๆ ถูก ignore หรือไม่ และถ้าใส่ flag -v ก็จะแสดง exclude pattern ที่ match ให้ดูด้วย (Docs)

All notes: [Today I Learned](https://oozou.com/th/til) ([markdown](https://oozou.com/th/til.md)).

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/th/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
