5
แสดงชื่อไฟล์ที่จุดเริ่มต้นของแต่ละบรรทัดเมื่อปรับหลายไฟล์พร้อมกันหรือไม่
เมื่อปรับหลายไฟล์พร้อมกันตามที่แสดงด้านล่างมีวิธีใดบ้างที่จะแสดงชื่อไฟล์ที่จุดเริ่มต้นของแต่ละบรรทัด? tail -f one.log two.log กระแสไฟขาออก ==> one.log <== contents of one.log here... contents of one.log here... ==> two.log <== contents of one.log here... contents of two.log here.. กำลังมองหาบางสิ่งที่ชอบ one.log: contents of one.log here... one.log: contents of one.log here... two.log: contents of two.log here... two.log: contents of two.log here...
14
tail