hi
i am having two servers one is local and remote(FTP)server.from local server i have to connect to remote server and execute a shell script
i want to run a shell script(remote location) from my local server
i am having some knowledge on ftp but i am not getting the result .please give ... (2 Replies)
Hi,
I am trying to connect to Oracle server (installed in HP UNIX) from some other HP UNIX server using sqlplus
Can you somebody advice me method to connect to Database without user ID and password field or atleast password field from Remote Server
Regards,
Giri (5 Replies)
Hello Everybody,
I'm facing a weird problem with the awk command.
I'm trying to execute a simple awk command as follows,
echo 1 2 | awk '{print $2}'
This command prints the output 2.
When i try to execute the same command in a remote server using ssh as follows,
ssh user@host... (2 Replies)
Hi Guru,
I have a requirement where i need to list the *.csv files in my remote server
and copy a file from that server to my unix server
I wrote dis code
#!/bin/sh
. /home/aaa/bb/GlobalHost.sh
export HOST
export USER
export PWD
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote... (1 Reply)
Hi
I am trying to edit a text file on a remote server using sed from within a cygwin shell on a windows system.
$ sed -i "s/aaa/bbb/g" \\remoteHost\c$\log.info
sed: can't read \remoteHostc$log.info: No such file or directory
What am I missing ?
Thanks. (7 Replies)
I have some commands which need to be executed in remote machine.
I have Linux Server from where I need to connect to Solaris server using ssh and then declare some variable over there and run some commands. I don't want to call a script which is present in Solaris server from Linux server... (7 Replies)
Hello,
I am running in to a problem running a perl script on a remote server.
I can run a simple script test.pl which contains just a print statment without issue by running
ssh root@1.2.3.4 perl test.pl
However, I have a more complex script that does not execute as expected. I think I... (3 Replies)
I have a command that I want to run on machine B from machine A. If I run the command on machine B locally, it works fine.
Here is the command:
for n in `find /data1/ -name 'ini*.ext'` ; do echo cp $n "`dirname $n `/` basename $n
.ext`"; done
From machine A, I issue this command ... (3 Replies)
Hi All,
I have 2 servers A and B. I need to connect to server B from server A and execute a shell script in B which will create some files and i need to copy those files back to server A.
Required easiest possible for perfoming above task. (1 Reply)
I'm having a brain freeze moment. I've created a ksh script in AIX that ssh's to a remote server, executes some commands, and then logs out. All of this is sent to a file. I then have the script cat the file so i can see the output. Even though the cat command is outside of the remote session part;... (5 Replies)
Discussion started by: seekryts15
5 Replies
LEARN ABOUT DEBIAN
numm.one-bit-instrument
one-bit-instrument(7) Numm Tutorials one-bit-instrument(7)NAME
one bit instrument - how to make a gnarly synth with numm-run
SYNOPSIS
numm-run FILE
DESCRIPTION
In this tutorial we will learn how to live-code a one-bit synthesizer controlled by mouse position. It is intended as a gentle introduc-
tion to development with numm-run.
To get started, create a text file with the following method stubs:
def audio_out(a):
pass
def video_out(a):
pass
Save the file as onebit.py, and then launch it with numm-run:
numm-run onebit.py
You should see a blank window appear. We will now make some sound and light by changing the value of a in the audio_out and video_out
functions:
def audio_out(a):
a[::100] = 2**15
def video_out(a):
a.flat[::100] = 255
Save the file, and you should see and hear the sketch update. This is using numpy's array-indexing to turn every hundredth audio sample
and pixel-color on. The audio sample rate is by default 44100Hz, so it produces a series of clicks that will be perceived as a 441Hz tone.
We can turn this into an instrument by connecting mouse motion to frequency:
period = 100
def audio_out(a):
a[::period] = 2**15
def video_out(a):
a.flat[::period] = 255
def mouse_in(type,px,py,button):
global period
period = px*1000
Finally, let's use the keyboard to record and jump to notes. The first time you press a key, it records the period, and subsequant depres-
sions play the saved period:
period = 100
record = {}
def audio_out(a):
a[::period] = 2**15
def video_out(a):
a.flat[::period] = 255
def mouse_in(type,px,py,button):
global period
period = px*1000
def keyboard_in(type,key):
global period
if record.has_key(key):
period = record[key]
elif record.has_key(key):
record[] = period
SEE ALSO numm-run(1), numm.getting-started(7), numm.spectral-analysis(7)numm February 2012 one-bit-instrument(7)