linux - which log file or how do I locate this log file? -
linux - which log file or how do I locate this log file? -
i have perhaps dumb question, might easy point... run dd command @ console , message when done like:
0+1 records in 0+1 records out 424 bytes (424 b) copied, 0.0191003 s, 22.2 kb/s
the question is, log file or record file info stored in? clear, need access above message , not output file.
thanks in advance
if you're talking file beingness created dd
, it's either going whatever file specified of=
option, or standard output, perchance redirected.
that's way dd
works: writes standard output default can override specifying output file explicitly.
for example:
pax> dd if=testprog.c of=/dev/null 6+1 records in 6+1 records out 3454 bytes (3.5 kb) copied, 8.3585e-05 s, 41.3 mb/s
if you're after actual status output of dd
command rather file beingness copied, dd
writing standard error, can capture with:
dd if=somfile of=someotherfile 2>dd.stderr
this send standard error through file dd.stderr
. if don't redirect it, it's gone default standard error tends terminal. way there cutting , paste terminal program. far file scheme concerned, it's gone.
linux bash logging dd
Comments
Post a Comment