Search Results

Search: Posts Made By: ss3944
3,529
Posted By ss3944
Heyyy jgt!! Thanks for ur reply.. nice...
Heyyy jgt!!

Thanks for ur reply..

nice sets the priorities for the processes. But, I want both the processes to run in parellel.. Is it possible to achieve this with the help of nice...
...
3,529
Posted By ss3944
I tried running the two processes in parellel, by...
I tried running the two processes in parellel, by running them in the background. But, now, the issue is that it is reducing the performance..
If I run them in the foreground, they take only 1...
3,529
Posted By ss3944
Heyyy Jim Mcnamara!!! That worksss!!! I...
Heyyy Jim Mcnamara!!!

That worksss!!! I really appreciate it..

U rockkk man!!

Thanks a million!

@ jgt.. I got it.. Thanks a lott!!
3,529
Posted By ss3944
Thanks jim mcnamara for your prompt reply.. ...
Thanks jim mcnamara for your prompt reply..

Can u please explain it to me how it works and what is # mywrapper.shl ?

Is it because they are being run in the back ground that they run in...
3,529
Posted By ss3944
Help in running two processes in parellel
I have a script something like this:

#!/usr/bin/ksh
...
8,699
Posted By ss3944
How to send mail from Sun OS 5.10 version?
hi

I am trying to send an email from Sun OS 5.10 version.

I have tried with the following commands, but none of them are working. The machine hangs after i issue the command. Then, I have to...
36,894
Posted By ss3944
Why does the 'pid' keep changing every time?
HI

I checked the pid of a process on my machine using this command.

ps -ef | awk '/process_name/{ print $2 }'

I get the result as 12245
I check it again after 2 mins, I get the result as...
8,637
Posted By ss3944
Thanks Tony!
Thanks Tony!
8,637
Posted By ss3944
Thanks Jim. Let me try with that. Can u...
Thanks Jim.

Let me try with that.
Can u please explain to me, what does this "||" stand for in unix and hoe does it work?
I have never used it before.
8,637
Posted By ss3944
How to automatically send a mail alert if the script errors out
I have a script like this, which calls other scripts from that script:


#!/usr/ksh

moveFiles.sh

extract.sh

readfile=/home/sample.txt

cat $readfile | while read line

do

file=...
24,275
Posted By ss3944
How to pass a variable as a parameter to DB2 database from shell script
I need to pass a variable as a parameter from shell script into a DB2 database.

var=bhuk_1123_Q_11/22/09

select * from tbl1 where serial_id='$var';


I have tried executing it using

db2...
1,560
Posted By ss3944
Help needed with searching files and moving them to a different directory
I am new to shell scripting. Can someone help me out with this one please?

I need to write a script fot the following scenario:

I am currently in /parent directory.

I have a set of files in...
2,607
Posted By ss3944
Help with Shell Script automation
can someone look into this one please... I am struck at this point. I do not know what logic to be followed here. I can go ahead with my work only, if this step is done. Please Help.

I have a...
15,428
Posted By ss3944
@jim mcnamara Thanks Jim. It worked for me ...
@jim mcnamara

Thanks Jim. It worked for me

@ DukeNuke2
This is what i tried with
sed 's/\(.*\)./\1/'
15,428
Posted By ss3944
shell script to remove the last character(.) of a string
hi

I have a list of words in a text file. these words are appended by "." at their end. They look something like this.

word1.
word2.
word3.
word4.
word5.

I need to remove the last...
24,264
Posted By ss3944
Export data from DB2 table to .txt file(space delimited)
Hi

I need help on this. Its very urgent for me.. please try to help me out..

I have data in tables in DB2 database. I would like to export the data from DB2 tables into a text file, which has...
1,443
Posted By ss3944
@ Scrutinizer: Thank you very much... ...
@ Scrutinizer:

Thank you very much...

It did work for me...
1,443
Posted By ss3944
Error running the script.... Help needed. Please
I have another Question:

I tried to run the following script: (I actually wanted to print out the second field in the text field.)

#!/usr/bin/ksh
set -x
readfile=/dir1/data.txt

cat...
30,253
Posted By ss3944
@ ghostdog74 Thanks so much!!! Tried this...
@ ghostdog74

Thanks so much!!!
Tried this one too.. it did work for me..

---------- Post updated at 11:29 AM ---------- Previous update was at 11:15 AM ----------

I have another Question:
...
30,253
Posted By ss3944
Thank You very much... It works for me.. and...
Thank You very much...
It works for me..
and yeah, I dont need to copy the files.. I just need to move them!
30,253
Posted By ss3944
Moving Files from one directory to another directory
Please do help me out with this. I have to write the following script.

There is a directory named "storage_directory" and it has hundreds of files in it. My script has to move each file from the...
3,888
Posted By ss3944
Thanks for ur reply Jim.. I ve got DB2...
Thanks for ur reply Jim..

I ve got DB2 database
3,888
Posted By ss3944
How to Pull out multiple files from DB table and redirect all those files to a differetn directory?
Hi everyone!!

I have a database table, which has file_name as one of its fields.
Example:

File_ID File_Name Directory Size
0001 UNO_1232 /apps/opt 234
0002 UNO_1234 ...
2,790
Posted By ss3944
For ur Q.2.. U can populate date in MMDDYY...
For ur Q.2..

U can populate date in MMDDYY format as follows:

DATE = 'date +%m%d%y'
8,209
Posted By ss3944
Help with loading data from DB2 database to CSV file
Hi everyone!!

I need help regarding this.

How can we load data from DB2 Database tables into a Comma Separated File?

I also have another Question? Using Shell scripting, Is it easy to read...
Showing results 1 to 25 of 25

 
All times are GMT -4. The time now is 09:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy