Search Results

Search: Posts Made By: justchill
3,518
Posted By justchill
Thanks radoulov for this useful information.
Thanks radoulov for this useful information.
3,518
Posted By justchill
Wow!! it works fine.. But im suprised at...
Wow!! it works fine..

But im suprised at the fact that my parent shell is a Korn shell too, so even if the shebang line was ignored it should have worked the same way right...


echo $SHELL...
3,518
Posted By justchill
Help with retaining variable scope
Hi,

I use Korn Shell. Searched Forum and modified the way the file is input to the while loop, but still the variable does not seem to be retaining the final count.


while read name
...
5,323
Posted By justchill
Thanks . I understand now. Im facing...
Thanks . I understand now.
Im facing difficultly because i dont have a test machine for remote server to check if this scp will actually work as i want it to.
5,323
Posted By justchill
Thanks Zaxxon.. However, the code below...
Thanks Zaxxon..

However, the code below essentially does the same thing which you have quoted. Connect to remote server and download all files starting with A_ORD and put them in /home/dir path...
5,323
Posted By justchill
Help with Secure Copy (SCP) command
Hi,

I am in the process of converting ftp transfres to SCP in my scripts.
Have some doubts with SCP command

1) currently script puts a list of ftp commands in afile and paasses the file to...
14,648
Posted By justchill
Perfect !! Thanks a ton michaelrozar17
Perfect !! Thanks a ton michaelrozar17
14,648
Posted By justchill
Hi michaelrozar17, tried [[ ! -d "$i" ]]...
Hi michaelrozar17,

tried [[ ! -d "$i" ]] but got "[[: not found" message

Below is my code
There aer more than 100 directories in the path ${dirpath}

for dir in ${dirpath}
do
...
14,648
Posted By justchill
Tried using ls -d */ from within the script...
Tried using

ls -d */ from within the script , got the below message

*/: No such file or directory


Is there any other workaround solution..
14,648
Posted By justchill
Need help in listing directories inside korn shell script
Hi All,

I need to loop through each item in current path, if it is a direcotry do soemthing, if its a file jsut skip it and move to next item in loop.

Tried



if test ! -d $i
then...
16,523
Posted By justchill
@scrutinizer and michael Thanks very much.....
@scrutinizer and michael

Thanks very much.. Both of them work fine!
16,523
Posted By justchill
Hii Pravin, > cat file.txt where...
Hii Pravin,


> cat file.txt
where <restart_step> =
10 -- Execute query
20 -- Write the contents to the Oracle table
30 -- Writing Contents to OUTPUT Directory
test...
16,523
Posted By justchill
Hi pravin The above code just displays 4...
Hi pravin

The above code just displays 4 blank lines .

---------- Post updated at 01:39 AM ---------- Previous update was at 01:36 AM ----------

Pravin,


Thanks a ton! just changing...
3,754
Posted By justchill
Try using nohup and run the process in the...
Try using nohup and run the process in the background with &
16,523
Posted By justchill
Awk script to match pattern till blank line
Hi,

I need to match lines after a pattern, upto the first blank line.
Searched in web and some forums but coulnt find the answer.



where <restart_step> =
10 -- Execute query ...
7,889
Posted By justchill
Fetching CLOB value from oracle into shell script
Hi,

Can anybody let me know how i can achieve the below output.


I have a select query which selects two columns. I need to spool the value into a dat file for each row that is returned...
1,404
Posted By justchill
@Franklin, Many thanks for the quick reply....
@Franklin,

Many thanks for the quick reply.
Can you please explain me what the '$1=$1' does??


For the second part,
If i give a script file that has if loops as input, the script which is...
1,404
Posted By justchill
Help needed in formatting script files
Hi,


Can anyone tell me how i can convert all tab spaces inside a script to 4 spaces through another script.

Also i need to find if all the quotes are matching and ended properly. Any idea...
1,859
Posted By justchill
Help need to improve performance :Parallel processing ideas
Hi,
Please tell me how to include parallel processing for the below code. Thanks in advance
I have a list of users directories in root directory. Each user has a directory by his /her username.
I...
2,986
Posted By justchill
thanks very much!!
thanks very much!!
Forum: Programming 11-06-2009
2,926
Posted By justchill
Hey thanks for your suggestion. Yes ive done...
Hey
thanks for your suggestion. Yes ive done mistake.. but not in spelling but in CASE. Shoule have searched my procedure name in uppercase :)

Also, The same information is available from...
2,986
Posted By justchill
Checking for existence of stored procedure through script
Hi,

I have a stored procedure which takes in arguments from my script and deletes rows from a table.
Before calling the procedure from the script i want to make sure if the procedure actually...
Forum: Programming 11-04-2009
2,926
Posted By justchill
Help with pl/sql stored procedure
Hi,

Can anyone please let me know where to check if a particular stored procedure exists.

If the procedure exists I want to display some message and if the procedure does not exists i want...
3,081
Posted By justchill
stored procoedure bind variables in shell
Hi ,

I have a pl/sql procedure which takes its input from a shell script, and deletes rows from db table based on the input.
I've dbms_output.put_line statments in procedure which i want to...
2,961
Posted By justchill
Help in getting pl/sql output messages in script
Hi ,

I have a pl/sql procedure which takes its input from a shell script, and deletes rows from db table based on the input.
I've dbms_output.put_line statments in procedure which i want to...
Showing results 1 to 25 of 30

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