[12] Results

Golang : Execute shell command

shell-command exec

A programming language will not be complete if there is no way for the developer to execute shell command. In….... read more

Golang : Pipe output from one os.Exec(shell command) to another command

golang os-exec io-pipe shell-command

Problem :

You want to execute one shell command with os.Exec() function, wait for it to complete and then pipe….... 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 : Play .WAV file from command line

golang portaudio go-wave audio command-line


You have recorded your voice on a .wav file with the previous tutorial on how to activate….... read more

Unix/Linux : How to pipe/save output of a command to file?

linux unix save-output pipe-output-command

Problem :

You need to capture/pipe or save the output of a command execution in Unix/Linux to a file. How….... read more

Golang : Capture stdout of a child process and act according to the result

golang stdout child-process shell exec

Let say you want to execute a shell command of a child process in your main program and want to….... read more

Golang : Go as a script or running go with shebang/hashbang style

golang linux unix shebang hashbang shell-script

One of the job scope of Unix/Linux system administrator is to write shell scripts to accomplish certain task. However, there….... read more

Financial education with Command and Conquer game

command-and-conquer financial-education assets liabilities

For the last couple of days, I was thinking about the best way to innoculate my kids' minds from the….... read more