Page 1 of 1

การใช้ screen เพื่อค้าง console เดิม ให้สามารถเรียกดู console output ได้ภายหลัง

Posted: 18 Sep 2020, 15:53
by brid.surapol
เข้าไปใน directory ที่ต้องการจะ run คำสั่ง

แล้ว

Code: Select all

screen
แล้ว run คำสั่งที่ต้องการ monitor console output
ใช้ keys

Code: Select all

ctrl-a d
เพื่อ detach screen


. . .

เมื่อต้องการกลับมาดู console output
ให้ใช้คำสั่ง

Code: Select all

screen -r