Log exit code of command, similar to time command – unix.stackexchange.com

using time sleep 1 yields: $ time sleep 1 real 0m1.005s user 0m0.001s sys 0m0.001s is there a command I can use to print the exit code of sleep or whatever command I want to run? ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Log exit code of command, similar to time command – unix.stackexchange.com"