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

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -