3
bash: set -x log ke file
Saya memiliki skrip shell set -xuntuk memiliki keluaran verbose / debug: #!/bin/bash set -x command1 command2 ... Outputnya terlihat seperti ini: + command1 whatever output from command1 + command2 whatever output from command2 Masalah saya adalah, output shell (disebabkan oleh set -x) pergi ke stderr, dicampur dengan output dari perintah …