Code:
--------------------
cmd > filename
--------------------
will redirect only the standard output to the file "filename" but not
the errors.
To collect both you have to use
Code:
--------------------
cmd > filename 2>&1
--------------------
But I suggest to use
Code:
--------------------
cmd | tee -a filename
--------------------
That way you will see all output (standard and error) on the terminal
and it will be written into the file "filename".
------------------------------------------------------------------------
jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795
View this thread: http://forums.slimdevices.com/showthread.php?t=115609
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins