Sponsored Content
Full Discussion: C for remote execute
Top Forums Programming C for remote execute Post 302300331 by bluefish on Monday 23rd of March 2009 11:02:38 PM
Old 03-24-2009
C for remote execute

Hello:
I want to develop a small program in C# which is connecting to UNIX server throgh socket and execute Unix commands from c# and return the message back to client side. May I know does any sample in C# which uses socket programming to connect to unix server and execute unix command.

Thanks a lot!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remote execute a file via ftp

How can I execute a script on a unix server via ftp from a Windows machine?? Can't use cron/at to schedule the execution and don't want to open up a telnet session just to do it. I want to be able to kick it off after I send the script over on a nightly basis. Reason is script parameter changes... (4 Replies)
Discussion started by: giannicello
4 Replies

2. UNIX for Dummies Questions & Answers

execute a command in remote

how exec a command (ex. a cut or grep ) in anoter pc i have IP address, login and password. (another account of unix system) what's the sintax of command ??? es. my ip is 192.xx.xx.xx i make a exec of "ls" redirect in outpu file (> "file) in another pc ( ip 192.44.55.2xxx) (3 Replies)
Discussion started by: ZINGARO
3 Replies

3. Shell Programming and Scripting

how to execute a script on remote machine

hi unix guru's i am new to unix shell programming. i found a trouble in executing a script(bali.ksh) which is available on serverA with username xyza, this script contains sqlplus command to retrive the data from the database available on other serverC. Now i need to run the above script... (4 Replies)
Discussion started by: balireddy_77
4 Replies

4. Shell Programming and Scripting

execute remote script asynchronous

Does anyone know how to execute remote script asynchronously? Here is my command TargetList=$testmaker/config/prod_domain.list for targethost in `cat $TargetList`; do rsh $targethost -l bvuser "$HOME/var/script-root/afp/bin/run_nrtp_cache_flush.sh $appName" done (1 Reply)
Discussion started by: leemjesse
1 Replies

5. Shell Programming and Scripting

Execute scripts from remote using telnet

Hi having the below code (sleep 1 echo "username" sleep 2 echo "password" sleep 2 echo "cd /home/test1/path" sleep 10 echo "ls -l | grep filename" if exists echo "script1.sh filename" echo "mailx -s "Task Executed" user@domain.com" else echo "mailx -s "File not Exist"... (1 Reply)
Discussion started by: karthikn7974
1 Replies

6. SCO

Execute command in remote

Hi, How to execute unix commands in remote unix servers? Thanks, Pintu (2 Replies)
Discussion started by: pintupatro
2 Replies

7. Shell Programming and Scripting

Execute scripts on remote server

Hi All, I need to first of all establish a connection to remote unix server non-interactively with the help of a shell script and then connect to oracle database from that server all with this script of mine. Please suggest the best method which could be used to connect to server for executing... (1 Reply)
Discussion started by: m_kapur83
1 Replies

8. Shell Programming and Scripting

remote execute awk script

Hi gurus I need to execute awk command on remote machine and write output to stdout. So far Ive tried: ssh server "ifconfig | grep -A 1 "^eth" | awk '{if ($1~/^eth/) {temp=$1} else {print temp $0}}'" ssh server "exec " < file_containing_above_command But neither works Without awk... (9 Replies)
Discussion started by: wakatana
9 Replies

9. Shell Programming and Scripting

execute remote commands with rsh

Hi, I earlier determined I cannot use FTP to execute remote commands on a server. My problem, I need to use a second server to get/put files via ftp onto my primary server and various tertiary servers. my server(A) ---> server (B) ----> server blah(c), server balh(C) I cannot directly... (1 Reply)
Discussion started by: mcclunyboy
1 Replies

10. Shell Programming and Scripting

Sudo connect to a remote server and execute scripts in remote server

Hello Every one!! I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server. Before this I am using a sudo command to change the user. The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies
muroarstream(1) 					System User's Manual: muroarstream					   muroarstream(1)

NAME
muroarstream - Simple RoarAudio client SYNOPSIS
muroarstream [OPTIONS] DESCRIPTION
muroarstream is a simple client for the RoarAudio sound system. It is based on muRoar (libmuroar). It can only be used to send data to or get data from the server. No control functionality is supported. OPTIONS
--help Display a brief help. -f --file FILE Sets the file to read from or write to. --server SERVER Sets the server to SERVER. Default is to auto detect the server. (see below) -R --rate RATE Sets the sample rate. This defaults to 44100Hz. -C --channels CHANS Sets the number of channels. this defaults to 2 channels (stereo). Symbolic names "mono" and "stereo" as well as "default" can be used. -B --bits BITS Sets the number of bits per sample. The default is 16bit per sample. -E --codec CODEC Sets the codec to use. The default depends on used subsystem. For Waveform it uses Signed native PCM, for Light DMX512 and for MIDI MIDI. The following symbolic names can be used: default, pcm, pcm_s, pcm_u, ogg_vorbis, vorbis, alaw, mulaw, ulaw, dmx512, roardmx, midi. --play Use Playback mode (send data to the server). This is the default. --monitor Use monitor mode (get a copy of the played data from the server). --wave Use Waveform subsystem (default). --midi Use MIDI subsystem. --light Use Light Control subsystem. AUTO DETECTION
The server will be auto located if no server name is given. First it will look for the environment variable $ROAR_SERVER. If this vari- able is non existing libmuroar will do the auto location based on a list of possible server locations. This list contains the global UNIX socket address, the user's private socket address and an entry for localhost using TCP/IP. The UNIX socket addresses are only compiled in if UNIX socket support is detected. SEE ALSO
roarcat(1), RoarAudio(7). muRoar 22 February 2010 muroarstream(1)
All times are GMT -4. The time now is 12:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy