Noob question ..
My Java based application needs to change some user passwords based on some user actions. Since this application can run on Redhat AS2.1 / AS4.0 / Solaris 9 etc, the most safe and portable solution that I could think of was: Use expect.
Now, expect is not available on all... (1 Reply)
Hi,
How can I prompt a user for two input and pass the input to variables in the script. I have the following script but it is not working:
+++++++++Begin+++++++++++
#!/bin/sh
database_c=$1
output_f=$2
echo "Your db is $1\nOutput is $2"
+++++++++End+++++++++++
Thanks,
Leonard (3 Replies)
Hi,
I need to schedule a shell script which executes another shell script along with a series of other commands.
When the inner shell script is executed it prompts for a password.....
This inner shell cannot be changed
How can I do this????
Regards,
Chaitrali. (4 Replies)
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Hi All,
I am using a expect script to run a shell script on remote server, the code is as follows. But the problem is that it executes only first command, and hangs it doesn't run the next commands.
spawn ssh $uid@$host
expect "password:"
send "$password\r"
expect "*\r"
send... (2 Replies)
Hi All,
I am writing a script(Auto_Installation.sh) which is calling one another script (./update_manager /spare/install/HO7/PME_Response_file.txt)
Now the issue is result of (./update_manager /spare/install/HO7/PME_Response_file.txt) script is
##########################################... (6 Replies)
Hello experts,
I have a to write script for monitoring, the script would use a command and I plan to write the script as follows
while true
do
command -arg
sleep 2
clear
done
The output would be set up on a screen for monitoring. However the issue is that the command used in... (2 Replies)
#!/bin/bash
#
# RAP configuration script
#
# Usage: ./rap.sh
#
# Requires: expect, tcl
#
# Script expects to find a file called rap.csv located in the same directory as the script. If the file is placed
# in a different directory, modify the custom entries section to specify the absolute... (8 Replies)
Not able to execute the file in remote host using except utility
I am automating the SFTP keys setp process:
So i created the expect script for controlling the output of shell
below is my main code:
Code:
#!/usr/bin/expect
set fd
set password
close $fd
set df
set app
close $df... (1 Reply)
Discussion started by: Manoj Bajpai
1 Replies
LEARN ABOUT DEBIAN
chicken-install
CHICKEN-INSTALL(1) General Commands Manual CHICKEN-INSTALL(1)NAME
chicken-install - download and install extension libraries for Chicken Scheme
SYNOPSIS
chicken-install [OPTION | EXTENSION[:VERSION]] ...
DESCRIPTION
chicken-install is a program that downloads, compiles and installs a prepackaged extension library from sources. If no extension name is
given on the command-line, then any existing setup scripts in the current directory will be executed in some unspecified order.
OPTIONS
Enter chicken-install -help for a list of supported command-line options.
ENVIRONMENT VARIABLES
CHICKEN_PREFIX
The installation prefix where CHICKEN Scheme and its support files and libraries are located. Defaults to the installation time pre-
fix given when configuring the system.
CHICKEN_INSTALL_PREFIX
An alternative installation prefix that will be prepended to extension installation paths if specified.
CHICKEN_REPOSITORY
The path where extension libraries are installed. Defaults to the package-library path selected during configuration (usually
/var/lib/chicken/<binary-version> )
DOCUMENTATION
More information can be found in the Chicken User's Manual
BUGS
Submit bug reports by e-mail to chicken-janitors@nongnu.org , preferrably using the chicken-bug tool.
AUTHORS
The CHICKEN Team
SEE ALSO chicken-uninstall(1)chicken-status(1)chicken(1)csc(1)chicken-bug(1)
13 Aug 2008 CHICKEN-INSTALL(1)