Quick Unix Reference

in

เผอิญดูวีดีโอสาธิตการ Jailbreak iPad เห็นเขาเล่น Terminal พร้อมด้วยคำสั่ง !ตัวเลข ก็เลยเกิดอาการสงสัยว่ามีวิธีสั่งแบบนี้ด้วยเหรอก็เลยลองค้นดูก็พบกับ Quick Unix Reference อันนี้

มีที่น่าสนใจเช่นคำสั่ง history ที่เอาไว้แสดงว่าเคยพิมพ์อะไรใน Command บ้าง ถ้าจะล้างก็ใส่พารามิเตอร์ -c เข้าไป เกลี้ยงหายในพริบตา (เอาไว้ปิดงาน เวลาไม่อยากให้เขารู้ว่าสั่งอะไรไปในเครื่องเขาบ้าง)

หมวด ! นี่ก็มีที่น่าสนใจคือ !! เอาไว้อ้างถึงคำสั่งล่าสุดทั้งก้อน ถ้าลืม sudo ก็จับ sudo ไว้ข้างหน้าแล้วแล้วพ่วงท้ายด้วย !! หรือถ้าตกพารามิเตอร์บางอย่างก็นำหน้าด้วย !! แล้วต่อท้ายด้วยพารามิเตอร์ที่ต้องการ

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <tt> <sup> <sub> <img> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can link nodes to other nodes using the following syntax:
    [node:node_id,title="val2"]

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.