[8] Results

Golang : Execute terminal command to remote machine example

golang remote-terminal paramiko ssh


You need to query a remote machine with ssh to extract information such as memory usage or CPU information.….... read more

Prevent Write failed: Broken pipe problem during ssh session with screen command

macosx terminal screen broken-pipe

There are times when you are away from you computer/terminal and come back later to find the ssh session or….... read more

Golang : Get terminal width and height example

golang terminal-dimension width height

Problem :

You want to find out a terminal/console's width and height to calibrate your Golang text based program display.….... read more

Unix/Linux : secure copying between servers with SCP command examples

unix-linux scp secure-copy remote-server

Have to write this down in case I forget again and hope you may find these SCP examples useful too.

.... read more

Golang : How to check if your program is running in a terminal

golang terminal gogland os accept-input


Your command line application accepts inputs from a terminal only or you just want to test if the application….... read more

Golang : Launching your executable inside a console under Linux

golang console terminal linux shell-script

Problem: You want to launch your executable under a terminal window after clicking on an icon. Why you want to….... read more

Golang : How to get Unix file descriptor for console and file

golang unix-file-descriptor terminal console

A short tutorial showing you how to obtain the Unix file descriptor for terminal/console and file in Golang with the….... read more

Golang : Forwarding a local port to a remote server example

golang port-forwarding tcp-net io-copy remote-server

Got a strange request yesterday. A friend who is an IT manager in his company needs to implement some control….... read more