[Ilugc] Scp output

  • From: knura@xxxxxxxxx (Arun Khan)
  • Date: Tue Sep 23 12:15:03 2008

On Tuesday 23 Sep 2008, Sivakumar Gopalan wrote:

I happen to notice that scp command output is not written either to
stdout or stderr. Anybody has any clue on where it is sent to?

The output has to be one of "1" or "2" unless both are being redirected.

My theory is that it spawns a sub process and it writes it there
hence it is not seen the parent shells stdout or stderr.

It depends, you have not revealed how you are invoking scp.

At CLI, scp outputs the filename, the xfer rate, and ETA to stdout.

-- 
Arun Khan


Other related posts: