Search Results

Search: Posts Made By: kanu_kanu
5,357
Posted By kanu_kanu
Thanks for your reply. This solution will...
Thanks for your reply.

This solution will not work for me. My aim is to reduce the traverse happeing to the find command by stopping the find command once after getting the first result itself.
...
5,357
Posted By kanu_kanu
Unix Find with exec option.
All,

I am using following find command to see all the files with specified pattern :


find /exp/source -exec grep -li "SIT_MARKET" {} \;



say , the /exp/source has n number of...
5,164
Posted By kanu_kanu
Yes. I am talking about HP-UX only. The new...
Yes. I am talking about HP-UX only.
The new libxxx.so is in Solaris. I already have one libxxx.sl in HP-UX , which I need to replace with the new Sloaris libxxx.so

Ran "file" command on these...
5,164
Posted By kanu_kanu
.so to .sl conversion ?
Hi all,

I have one libxxx.so file ( which I got from a third party ). We use shared library libxxx.sl . Is there any way to convert the .so file to .sl file ?

Thanks in advance

- M
2,562
Posted By kanu_kanu
Thanks... working
Thanks... working
2,562
Posted By kanu_kanu
Comparing two files using awk
Hi,

I have 2 text files n1 and n2.

cat n1 :
--------
1234567890
4444444444

cat n2 :
---------
1234567890
4444444444
7777777777
8888888888

they are some sample records. File n1...
21,913
Posted By kanu_kanu
how abt dos2ux / dtox command ?
how abt dos2ux / dtox command ?
6,516
Posted By kanu_kanu
Recall a mail possible in mailx?
Hi,

Is it possible to recall a mailx mail in HP-UX?

Thanks in advance
kanu_kanu
6,778
Posted By kanu_kanu
yes. zgrep working. thanks
yes. zgrep working. thanks
6,778
Posted By kanu_kanu
Greping from zipped files without unzipping
I have more than 500 gzipped files in a directory. I have one lookup file in the same directory with 200 key values. I need to get the name of the gzipped file which have any of these 200 key values....
1,578
Posted By kanu_kanu
Try this : ########### sum.awk...
Try this :
########### sum.awk #################
BEGIN{
FS=" ";
}

{

key=$1;
sum2[key]+=$2;
}

END{ for (word in sum2)
printf("%s %s\n",word,sum2[word]);
}
########### sum.awk...
Forum: Solaris 02-26-2008
10,306
Posted By kanu_kanu
use : ftp -niv <host_name> << EOF user...
use :

ftp -niv <host_name> << EOF
user <username> <passwd>
cd <dir>
bin
get <file>
bye
EOF

this will work.
24,412
Posted By kanu_kanu
i forgot to mention the platform . I need it in...
i forgot to mention the platform . I need it in HP-UX. It wont have "zip"
24,412
Posted By kanu_kanu
gzip compatibility with WinZip/PKZIP
I have 4 files in a dir ,
A_to_Z.txt
Z_to_A.txt
1_to_20.txt
20_to_1.txt
I want to create a single gzip file which will contain these 4 text files. This gzip file should be compatible with...
4,619
Posted By kanu_kanu
find / -name "*.log" -exec grep -c "Pass" {}...
find / -name "*.log" -exec grep -c "Pass" {} \;
81,091
Posted By kanu_kanu
cd $HOME will change you to your home directory. ...
cd $HOME will change you to your home directory. There you will be able to find the .profile file
6,891
Posted By kanu_kanu
Try this : ############ Search.run...
Try this :

############ Search.run ##############
FILE1=file1 ( Your lookup file )
FILE2=file2 ( Your data file with more than .1 MM recs )
awk ' NR==FNR { A[$0]=1; next; }
{ if...
3,799
Posted By kanu_kanu
if i give , head -1 file1| read line1 echo...
if i give ,

head -1 file1| read line1
echo "$line1" -- printing with exact spaces.
echo $line1 -- printing without spaces.
15,697
Posted By kanu_kanu
==================== psae.run ===================...
==================== psae.run ===================
#! /bin/ksh
Server_name=$1
Database_TYPE=$2
Database_Name=$3
Run_Cntl_Name=$4
AE_JOB_NAME=$5

psae -CS $1 -CT $2 -CD $3 -R $4 -AI $5

if [...
Showing results 1 to 19 of 19

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