9 More Discussions You Might Find Interesting
1. Programming
Hi there,
I am trying to run a .sh file with plink from vb.net.
I am now able to run the .sh on vb.net but i have a problem because the .sh script require user input:
The .sh is prompting a few question and require user to input y/n to proceed.
I am trying... (3 Replies)
Discussion started by: yun
3 Replies
2. Shell Programming and Scripting
Please tell me how to write a bash script that asks the user to enter a word and that passes the entered word to a variable.
echo "Type a word and press the Enter key:"
myVar=`cat`
echo "You entered $myVar"
The above code is very awkward, because it requires the user to enter... (2 Replies)
Discussion started by: LessNux
2 Replies
3. Shell Programming and Scripting
Hi,
I am trying to ssh into a remote machine and then enter a vserver on the remote machine. I am using here document to carry out these commands on the remote machine. My here document looks like this
ssh username@remotemachine << HERE
sudo vserver vservername enter
HERE
however the sudo... (0 Replies)
Discussion started by: mnanavati
0 Replies
4. Solaris
Hi Guys,
I have one requirement like if we run install.sh file it should have to create a zone and install oracle in that zone with out any user interaction. So the complete code should be automated.
Almost 90% of the code I completed but i am having some doubts
1) After the zone creation... (1 Reply)
Discussion started by: vijaysachin
1 Replies
5. UNIX for Dummies Questions & Answers
I ran into this issue and thanks to various postings in various forums, was
able to figure out the solution but didn't see one posting that laid the
whole issue out cleanly. So thought the following might help others ...
------------------------------------------------------------------------... (2 Replies)
Discussion started by: oxysep
2 Replies
6. Programming
Hi all,
I have developed a couple of libraries using ruby for my networks project.Its completely done except for a GUI for the front end.
But i am in a fix to know what i need to be using for its development.
I initially had plans of using ROR but there is absolutely no DB management that is... (1 Reply)
Discussion started by: wrapster
1 Replies
7. Shell Programming and Scripting
I'm wanting to get user interaction...textbox or checkboxes would be great. I want to allow someone to enter data into textbox. (this is the time I want to grab a photo from) Then I want to be able to check the different sizes I want for the image. Say 4 options.
Is this possible using the... (0 Replies)
Discussion started by: mainegate
0 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
My ssytem is mounted on a rack and not connected with any console. When I rebooted it remotely, it didn't go thru the bootup process. when I connect my laptop to the system locally and found that it was waiting for user interaction. Do you know how to disable it, so that it will boot... (1 Reply)
Discussion started by: stancwong
1 Replies
9. Shell Programming and Scripting
Can any body help me to write a scripting program for entering a password at run time with out user interaction. (1 Reply)
Discussion started by: kumar_d
1 Replies
RACKUP(1) RACKUP(1)
NAME
rackup
rackup(1) -- An utility for run Rack-based applications
SYNOPSIS
rackup [ruby options] [rack options] [rackup config]
DESCRIPTION
Rackup is a useful tool for running Rack applications, which uses the Rack::Builder DSL to configure middleware and build up applications
easily.
rackup automatically figures out the environment it is run in, and runs your application as FastCGI, CGI, or standalone with Mongrel or
WEBrick -all from the same configuration.
OPTIONS
Ruby options:
-e, --eval [LINE]
evaluate a LINE of code
-d, --debug
set debugging flags (set $DEBUG to true)
-w, --warn
turn warnings on for your script
-I, --include [PATH]
specify $LOAD_PATH (may be used more than once)
-r, --require [LIBRARY]
require the library, before executing your script
Rack options:
-s, --server [SERVER]
serve using SERVER (webrick/mongrel)
-o, --host [HOST]
listen on HOST (default: 0.0.0.0)
-p, --port [PORT]
use PORT (default: 9292)
-E, --env [ENVIRONMENT]
use ENVIRONMENT for defaults (default: development)
-D, --daemonize
run daemonized in the background
-P, --pid [FILE]
file to store PID (default: rack.pid)
Common options:
-h, --help
Show the help message
--version
Show version
EXAMPLES
This is a simple example on how to start an application based on Rack with rackup:
$ rackup -Ilib blog/config.ru
[2010-12-10 15:01:11] INFO WEBrick 1.3.1
[2010-12-10 15:01:11] INFO ruby 1.9.2 (2010-08-18) [x86_64-linux]
[2010-12-10 15:01:11] INFO WEBrick::HTTPServer#start: pid=4496 port=9292
AUTHORS
Copyright (C) 2007, 2008, 2009, 2010 Christian Neukirchen <http://purl.org/net/chneukirchen>
For a complete list of authors and contributors to the project, please take a look here https://github.com/rack/rack/contributors
This manual page was written by Ermenegildo Fiorito fiorito.g@gmail.com for the Debian Project
SEE ALSO
ruby(1) http://rack.rubyforge.org
December 2010 RACKUP(1)