bash - Preserving 'ls' output format over network -



bash - Preserving 'ls' output format over network -

i have 2 machines , b.

i wish have output b printed in terminal on a.

i run next in loop on a:

nc -l -p 65000

on b, output tee'd /dev/tcp/a/65000

this works of time, output programs such 'ls' lose colour , tab formatting. there way work, such writing straight tty on a? how this?

thanks.

you need utilize unbuffer fool programme thinking it's connected tty.

bash scripting networking

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -