10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Hi,
I am executing a ksh.
I want to note the time taken to execute each command that are executed in the ksh and write it in a log file.
Also I want to note the total time taken to execute the ksh.
How can I do that?What is the command to do that? (2 Replies)
Discussion started by: Kishore_1
2 Replies
3. Programming
Hi,
In my application,I want to find out the OS name and based on OS I want to do some specific operations.So I write some code based on it in JAVA but I am able to get the OS name but Not able to use the method specific to OS.I write a simple code to check it and found that it is not going to... (1 Reply)
Discussion started by: smartgupta
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
Iam trying to code in java and wanted to run the commands in the Unix remote servers. I have the following code to run multiple GREP commands in a single session.
But when i execute this, the first command executes successfully, whereas from the next line it says
"Exception Occured... (1 Reply)
Discussion started by: gravi2020
1 Replies
5. Programming
I am compling simple java program HelloWorld.java
although /usr/bin @ this path javac is present,
is there any command line wherein i can pass the this option as well
lik javac -opttion(javac path) filename.java
as i do not have permissions to set path.
Also wht does this error, means...... (0 Replies)
Discussion started by: niceboykunal123
0 Replies
6. Shell Programming and Scripting
hello all
how can i run the java command that can eccept N numbers of args for example :
java -cp .;foo.jar myApp 1 "ww"
or
java -cp .;foo.jar myApp 1 2 3 "ww"
or
java -cp .;foo.jar myApp "args1" "args2" "args3"
Thanks (1 Reply)
Discussion started by: umen
1 Replies
7. Programming
Hi all,
I tried to execute the command by 2 ways :
1) Java Runtime class exec method - but the problem there is that it only can execute scripts without arguments(I need with args)
2) the Jtux classs Uprocess- the problem it is not supported by windows and my eclips platform is on... (0 Replies)
Discussion started by: katzs500
0 Replies
8. Shell Programming and Scripting
guys.. i currently use this logic to calculate date and time.
export day=`date +%d`
export month=`date +%m`
export day_len=${#day}
export mon_len=${#month}
export hr_min=0000
if ] || ]
then
month=0$month
day=0$day
export time_search=$month$day$hr_min
else
export... (5 Replies)
Discussion started by: ragha81
5 Replies
9. Shell Programming and Scripting
hi everybody,
i have a small unix script and i want to use it with java, so how can i executte unix command with java (if it is possible): in fact i want to use some values returned by this script with java swings.
is it possible (of course everything is possible) but how can i do? thank you in... (4 Replies)
Discussion started by: mips
4 Replies
10. UNIX for Dummies Questions & Answers
hi,
I am new ot unix. So, can i write a shell(c shell or korn shell) program to access internet? I mean if I run the program, it can access specified url and then copy the html to a file? Can anyone help me? And how can make the program runs every 1 hr?
new comer (2 Replies)
Discussion started by: firebirdonfire
2 Replies