Simpan hanya bash baris terakhir

yourCommand | tail -n 1
Unsightly Unicorn