LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2006, 08:20 AM   #1
mayank_linux
LQ Newbie
 
Registered: Jun 2006
Posts: 18

Rep: Reputation: 0
How To make a Command line Interface


Hello
I am working on a project where i have to send some new implemented commands , from my machine(linux,x86) to a target machine(Linux,ARM).

Now i have to make a Command line interface that can take command from user and send it to target.

I know how to communicate b/w the two,
plz help me making a standard CLI programe
 
Old 09-14-2006, 09:37 AM   #2
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
> ssh remoteUser@remoteHost.domain.com "some_command command arguments"

will run a command on a remote host. is this not what your looking for?

for example

> ssh remoteUser@remoteHost.domain.com "ls -l"

will long list this files in the home directory of remoteUser on the host remoteHost.domain.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can only use command line interface! The helpless one Linux - Newbie 6 03-12-2006 03:42 PM
cdrecord - command line interface satimis Linux - General 5 05-24-2005 07:15 PM
Command line through a web interface tangle Linux - Software 2 01-13-2005 02:54 PM
Can't get from command line interface to GUI dphildebrand Linux - Newbie 3 12-03-2003 01:51 PM
Which distro has the best command line interface ? lostboy Linux - Distributions 11 03-22-2003 07:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration