07-26-2012
You'll need to study what the java program expects as input and put the appropriate responses in the here-document.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Say in unix (AIX) m/c, I am logged in with s1 user and want to start process p1 with user credentials of s2.
I can do manually in this way:
#su - s2
#enter password for s2> somePassword
$ p1
But all this I have to do through a java program. How to pass the password through program.
One... (1 Reply)
Discussion started by: shailendrat
1 Replies
2. Shell Programming and Scripting
Hi All,
I wish to automate the unix command 'su' through a shell script.
I would like to pass the content of a file as password to 'su' command.
My script is as below,
#! /bin/sh
su userA
while read line
do
rpm -ivh $line
done < pwd.txt
where pwd.txt contains the password of... (6 Replies)
Discussion started by: little_wonder
6 Replies
3. Shell Programming and Scripting
hi there,
i need some help, i am trying to run a script to launch a C program and a Java program but before running both I want to get a user input and then invoke both programs with input received. In the programs the inputs are not command line arguments.
This is the code,
after the java... (4 Replies)
Discussion started by: momal
4 Replies
4. UNIX for Dummies Questions & Answers
1) I wrote a script and gave the desired permissions using "chmod 755 scriptname". Now if i edit the script file, why do i need to set the permission again? Didn't i set the permission attribute.. or if i edit the file, does the inode number of file changes?
2) I am running my unix on a server... (1 Reply)
Discussion started by: animesharma
1 Replies
5. UNIX for Dummies Questions & Answers
Hello..
I am developing a Graphical User Interface using GTK. As part of our project I need to take inputs from GTK entries and pass those inputs to shell script and use them in shell script. The problem which struck me is only limited number of inputs are getting passed to shell script. For now... (14 Replies)
Discussion started by: kalyanilinux
14 Replies
6. Shell Programming and Scripting
Hi All,
well , i am facing this problem.. i have tried a few sample codes but there isn't any solution . could anyone please give a sample code as of how to do this...
Please see the below details...and read the details carefully.
I have written some code, logic is
1)from... (4 Replies)
Discussion started by: aish11
4 Replies
7. Shell Programming and Scripting
Hi,
I have create a Shell Script, with one function.
I want to call the script file in Java Program.
It working fine. but the problem is the function in the Shell Script is not executed.
Please suggest me,
Regards,
Nanthagopal A (2 Replies)
Discussion started by: nanthagopal
2 Replies
8. Shell Programming and Scripting
Hi All,
Do we know how to read input file within awk script and send output toanother log file. All this needs to be in awk script, not in command line. I am running this awk through crontab.
Cat my.awk
#!/bin/awk -f
function test(var){
some code}
{
}
END
{
print"test code"
} (5 Replies)
Discussion started by: random_thoughts
5 Replies
9. Shell Programming and Scripting
Hi,
I want to write a small code in which script changes command line input to some form.
Example
script.sh a1 a2 a3 a4 .....
output should be "a1|a2|a3|....."
Number of inputs in command line can be any variable (2 Replies)
Discussion started by: Raza Ali
2 Replies
10. Shell Programming and Scripting
Hi Team,
Can you pls advise in java how can we call a shell script, actly I have a shell script at the following location
/opt/dd/ajh.sh
now I can execute this script by opening the session through putty by entering the servers details and password and then navigating to the following... (2 Replies)
Discussion started by: punpun777777
2 Replies
LEARN ABOUT DEBIAN
freemind
FREEMIND(1) General Commands Manual FREEMIND(1)
NAME
freemind -- A Java program for creating and viewing mindmaps.
SYNOPSIS
freemind [no_options]
DESCRIPTION
This manual page documents briefly the freemind command.
This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has docu-
mentation as a mindmap (see Help menu in FreeMind).
freemind is a program that allows to create and view so-called mindmaps, as well as export them to HTML or different image formats. It
also has a plugin concept to extend its functionality.
OPTIONS
This program does not have any option. Just start it!
ENVIRONMENT VARIABLES
DEBUG If this environment variable is set, freemind gives more information on how it finds its different elements, as well as some
other information.
JAVACMD Default value for the java virtual machine (the java command).
JAVA_BINDIR
If $JAVACMD is not set, the java virtual machine is searched under $JAVA_BINDIR/java.
JAVA_HOME If $JAVACMD and $JAVA_BINDIR are not set, the java virtual machine is searched under $JAVA_HOME/bin/java.
PATH If all $JAVA... environment variables fail, the java virtual machine command (java) is searched in the $PATH (with which).
CLASSPATH ADD_JARS
The $CLASSPATH variable also lets one specify additional jars, which is good, if you want to add a new Look&Feel jar (the motif
one is so ugly...). Alternatively, the content of $ADD_JARS will be prepended to $CLASSPATH.
FREEMIND_BASE_DIR
Directory where FreeMind searches for its plugins and libraries
FILES
/etc/freemind/freemindrc ~/.freemind/freemindrc
freemind tries to read its environment variables from /etc/freemind/freemindrc and ~/.freemind/freemindrc, so that specific set-
tings are possible at machine and user level.
/usr/bin/java
If all searches through environment variables fail, the java virtual machine is expected to be /usr/bin/java; if not, freemind
exits with an error.
SEE ALSO
The online documentation under http://freemind.sf.net/, especially the Linux related one under the Wiki page link http://freemind.source-
forge.net/wiki/index.php/FreeMind_on_Linux.
AUTHOR
This manual page was written by Eric Lavarde deb@zorglub.s.bawue.de 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.
FREEMIND(1)