Search Results

Search: Posts Made By: pareshan
2,576
Posted By pareshan
Selecting Unique Values from many List
I have a question

I have like 19 different list which contains the name of the server but what I need is just unique ones.

First thing I need to do is just make a unique list within the list...
3,873
Posted By pareshan
Replace only first found white spaces with some other characters
Anybody can help me

How can I replace only four first white spaces with , or any other characters

aaaa 08/31/2004 08/31/2009 permanent Logical Processors in System: 64
bedad 08/16/2001...
1,839
Posted By pareshan
Compare these two lines and delete the old entry
I have a unique situation here which looks easier at first but I am not able to solve it.
# SSort UNIX 10/14/2005 10/13/2010 "tox" "9000/800" 16 * * * V849-6-1
# SSort UNIX 11/31/1996 11/02/2010...
7,456
Posted By pareshan
converting the date field from dd/mm/yyyy to yyyy/mm/dd
How to convert the date field from dd/mm/yyyy to yyyy/mm/dd in unix
my script will generate text file which have two fields
one is date and another is name of the server for example this is sample...
2,747
Posted By pareshan
Extract Expiry date and server_name from the following file
Hi Guys,
I am trying to write one ksh script where I have to go to lots of unix boxes and read one text file which will have data like this though this is not complete data. And I just have to...
3,784
Posted By pareshan
compare two text files in a good format
I am writting a script where I have to Campare two text files.
I have 3 text files named by s_list, s_list_new and dmg_file. where I have to compare s_list and s_list_new and whatever the unique...
7,876
Posted By pareshan
I dint say anything like last part..If I did then...
I dint say anything like last part..If I did then I mean that database part only I guess. Actually I know I can load data into database using sqlloader but I want to do using the script I have but I...
7,876
Posted By pareshan
FYI _______This is the one---------which I...
FYI _______This is the one---------which I have posted before in the beginning

I have one text file which is result of bdf command that have 6 fields separated by space and I want to add one...
7,876
Posted By pareshan
thanks alot, it actually helped but what about...
thanks alot, it actually helped but what about that insert part. i posted everything my script and table structure
any help on that plz
thanks
7,876
Posted By pareshan
Add new column in Text File
I have one text file which is result of bdf command that have 6 fields separated by space and I want to add one new column in the beginning which is the name of the server because I have to insert...
7,320
Posted By pareshan
I found the solution now and I solved it and...
I found the solution now and I solved it and correct code is


#!//opt/perl/bin/perl
use strict;
use warnings;
my ($filesystem);
foreach (qx(bdf)) { ##executing bdf command here
next...
7,320
Posted By pareshan
Thanks alot but nothign really working out here. ...
Thanks alot but nothign really working out here.

I think I can do rest if i get solution of just this one as I mentioned below

while im doing bdf if the output is in two lines then i want to...
7,320
Posted By pareshan
Hi everyone, I really appreciate your replies and...
Hi everyone, I really appreciate your replies and now I am able to do sqlloader part.

mynameisrahu, thats not working for me as i have to do that for bdf output,

Now my problem is just i want...
7,320
Posted By pareshan
Thank you very much, I really appreciate and you...
Thank you very much, I really appreciate and you are right I can do using that and I have done also but here is the twist.

my bdf command gives me a bunch of output I think if I print it here it...
7,320
Posted By pareshan
Hi Jim, first of all thanks I have done...
Hi Jim, first of all thanks
I have done something like this

this is controlfile
control_file

LOAD DATA
INFILE '/home/gc1488/FST/input'
INTO TABLE unix_servers
FIELDS TERMINATED BY ','...
7,320
Posted By pareshan
Korn Shell and Oracle
Hi Guys,

I haven't worked on oracle much but I have a situation where I have to do bdf in all the servers and insert that information into oracle table. I have already created table which have 7...
1,671
Posted By pareshan
Loop through the accounts and servers
Hi everyone, I am trying to use loop (for loop but can be any loop) which will read from the file (text file) which will have 2 column one for account and another for server which kind of look like...
93,629
Posted By pareshan
yeah you are right its c shell error. i thought...
yeah you are right its c shell error. i thought im in ksh but actually im in c shell so when i used

cmd > & file its working.

thanks alot
93,629
Posted By pareshan
That really dint change anything. Its the same...
That really dint change anything. Its the same error message again
93,629
Posted By pareshan
Ambiguous output redirect error
Hi everyone, While I was trying to do

DATE=`date +"%Y%m%d_%H%M%S"`
STARTLOG=$TUXSTDDIR/start_$DATE.log
tmboot -y > $STARTLOG 2>&1



I got an error i.e. Ambiguous...
18,096
Posted By pareshan
I cannot give parameter as $1 $2 $3 $4 on the...
I cannot give parameter as $1 $2 $3 $4 on the wrapper script because it may vary. wrapper script is a individual script can be run from anywhere if copied along with 4 other scripts. So user can give...
18,096
Posted By pareshan
Korn Shell Wrapper script
Hi Guys, I am trying write a wrapper script but I don't have any idea. I have 4 different korn shell scripts and all of them needs some parameters from command line (positional parameter). My script...
359,036
Posted By pareshan
I think you simply can do tar tf file_name ...
I think you simply can do
tar tf file_name

Coz i use tht for all .tgz (tar files) and it works
2,467
Posted By pareshan
korn shell automation problem!
I got the task writting Korn Shell script to automate the tuxedo login so that users neednot have to enter options manually. I have done that using expect tool from the Unix but my manger told me its...
Showing results 1 to 24 of 24

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