Q

Linux from VB instructions

I want to run a Linux shell script from VB. I want to execute a Linux script on a Linux server running Red Hat 8.0 from a VB program in Windows and obtain the result in VB program output. Is it possible? If it is, please explain the necessary steps.
The answer is to use VB socket programming. This transcript from a TechTarget webcast may be just what you need.

I think you need to look at Linux socket programming. This page explains how to do this with C++ for a PRG system.

It's not an apples-to-apples example, but it's conceptually the same.

The long of the short of it is that I think you need to open a socket to the Linux server and then execute the script, capture the data, parse the data and then let your application take action on it.

This was first published in December 2004

Dig deeper on Introduction to Linux system administration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close