9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have below script which is just trying to sftp transfer a file to another server with 'expect' option.
I have expect installed on the instance.
Below is the script:
#!/usr/bin/expect
spawn sftp oracle@<HOST>
expect "password:"
send "<mypassword>\n"
expect "sftp>"... (6 Replies)
Discussion started by: festerbg
6 Replies
2. Shell Programming and Scripting
Hi,
I am writing a script to automate installation of java in shell script.
#!/bin/sh
#!/usr/bin/expect
ls -la | grep jdk* | rpm -ivh ./jdk*.rpm
alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_71/bin/java 2
spawn alternatives --config java
expect "Enter to keep the current... (5 Replies)
Discussion started by: boby.kumar
5 Replies
3. Red Hat
Hi all,
I want to run the following command from my main prompt :
# spawn bash
but I get the following error:
spawn: Command not found.
For this to work , I first have to go into expect.
#expect
expect1.1>spawn bash
spawn bash
564
expect1.2>
Is there any way I can skip the... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
4. Shell Programming and Scripting
Hi,
I have a problem with the spawn execution with expect.. i have done the code for expect in a separate file and i am calling the this execution from the bash script.. as given below..
-bash-4.1$ cat main.sh
#!/usr/bin/bash
./spawn.exp
==========================
-bash-4.1$ cat... (2 Replies)
Discussion started by: satishkumar432
2 Replies
5. UNIX for Advanced & Expert Users
what is diffenrence between spawn and fork ?
"fork() system call spawns the processess" what is mean by this sentence. (1 Reply)
Discussion started by: anandgodse
1 Replies
6. Shell Programming and Scripting
Hi
I need a unix script that can spawn 100 unix PIDs that each execute
the lgtst command as <Sid>adm within milliseconds.
Thanks in advance
Rgd
Ruud van Ruler (4 Replies)
Discussion started by: Snrru0
4 Replies
7. Programming
Hello Everyone:
I have the following code
int main()
{
system("/usr/OtherUser/bin/runX");
return 0;
}
runX must be executed with privileges from another user, how could I do that? I know the password for such user.
Thanks in advance (8 Replies)
Discussion started by: edgarvm
8 Replies
8. Solaris
I need to run the spawn command but when I typed it in, I got
"ksh: spawn: not found".
So, I downloaded spawn-fcgi but it required to be compiled first. The compile failed when I tried it. I need a copy that's ready to be used.
Unix system info:
OS: Sun Solaris 2.8
Shell: ksh
Does... (4 Replies)
Discussion started by: april
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm very new to UNIX.
I need to FTP a file to a remote host. It happens through a port 2222.I need to automate the process as the SCP command prompts for a password.
1) The regular ftp, tells me that the connection is refused
2) The sftp login@remotehost
gives me... (0 Replies)
Discussion started by: sandy.cog
0 Replies
FUNNYBOAT(6) Games Manual FUNNYBOAT(6)
NAME
funnyboat -- an arcade boat game
SYNOPSIS
funnyboat
DESCRIPTION
This manual page documents briefly the funnyboat and program.
This manual page was written for the Debian distribution because the original program does not have a manual page.
funnyboat launches the game.
CONTROLS
Left cursor key / Joystick or gamepad left
Move left
Right cursor key / Joystick or gamepad right
Move right
Up cursor key / Joystick or gamepad button #1
Jump
Space bar / Joystick or gamepad button #2
Shoot with cannon
S key / Joystick or gamepad button #6
Save screenshot as sshot.tga
P key / Joystick or gamepad button #9
Pause the game.
OPTIONS
-f Turn on the fullscreen mode.
-np Turn off the "particle effects".
-na Turn off the antialiasing.
-nm Turn off the music.
-ns Turn off the sound effects.
AUTHOR
This manual page was written by Goneri Le Bouder <goneri@rulezlan.org> for the Debian system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub-
lished by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
FUNNYBOAT(6)