title: Tail a log to another device
body: <p>We have a network wifi device which is tracking vehicles and it is having some connection issues so we need to run a tcp dump and let it run for a long time, maybe 8 - 12 hours.</p>
  
  <p>The network device is running a cut down version of Linux and the hard drive in it is only 64 mb</p>
  
  <p>It talks to a Ubuntu server running 12.04 - which has plenty of space on the hard drive, so we would like to ship the results from the tcp dump onto it, instead of using the local drive </p>
  
  <p>The tcp dump command we are currently using is </p>
  
  <pre><code>tcpdump  -n  -s 64 -i  r1_ap1  -w  filename.pcap
  </code></pre>
  
  <p>We can't map a network drive (samba is not installed).  It's a closed network so I can only use the Ubuntu server for the logs</p>
  
  <p>Linux is not my thing and the commands I have tried from the net don't work for me - it may be my lack of knowledge</p>
  
  <p>Is it possible to either run the tcp dump command with something like </p>
  
  <pre><code>tcpdump  -n  -s 64 -i  r1_ap1  -w  &gt; [serverIP]/home/temp
  </code></pre>
  
  <p>Or can I run the tcp dump and then run another command that tails the pcap file to another file onto the Ubuntu server?  I can use ssh and scp. </p>