Search Results

Search: Posts Made By: J_ang
2,092
Posted By J_ang
String I want to find is "not found".. If "not...
String I want to find is "not found".. If "not found" string found twice in a file give me the file name.. What I meant was OS is AIX.
2,092
Posted By J_ang
Find and Grep
Is it possible with find and Grep to search files under a directory and display only files that have multiple occurrence of a string (In AIX)? Anybody has an example code? If not what are the other...
1,844
Posted By J_ang
Thank you very much it worked prefectly.
Thank you very much it worked prefectly.
1,844
Posted By J_ang
[Solved] Last occurrence of a string
I apologize if it was asked before but I couldn't find something related.
I want to replace 2 strings in a file

e.g
pwddb=Lar1wod (need to replace string after =)
pwdapp=Wde2xe (need to...
3,149
Posted By J_ang
Thanks but want to search on...
Thanks but want to search on directory/sub-directories
3,149
Posted By J_ang
Not the file size... Want to retrieve based on...
Not the file size... Want to retrieve based on file's name length
3,149
Posted By J_ang
Need find a file based length
Can some please help me? Want to find files over 35 characters in length? I am running HPUX. Would it be possible with find?

Thanks in advance
1,429
Posted By J_ang
I just gave an example of "YAHOO" i have a 4-tier...
I just gave an example of "YAHOO" i have a 4-tier application... I want to have script login there and then perform some browsering....
1,429
Posted By J_ang
Is this possible?
I want to write a sh/perl script to login to a web site for example

(from unix) go to http://login.yahoo.com/
pass userid/password
then sign out

Thanks in advance.
18,264
Posted By J_ang
Thanks for your response but it didn't help still...
Thanks for your response but it didn't help still same error

"/var/tmp/aaaa01326" 1 line, 82 characters
0-59/5 * * * * /home/oracle/run.sh >> /home/oracle/logs/run.log 2>&1
crontab: error on...
18,264
Posted By J_ang
Need help in crontab?
Can anyone please help me here i am trying to schedule a job in CRON I want to run it every five minutes.
When i try to save getting following error message
OS is HP UNIX

"/var/tmp/aaaa01326" 1...
2,298
Posted By J_ang
Thanks guys my problem solved. I got what i...
Thanks guys my problem solved.
I got what i need by do this.

typeset -u P2=`echo $*|awk 'BEGIN{RS=FS}/b/{print $0}'`
2,298
Posted By J_ang
When you need to access the arguments that have...
When you need to access the arguments that have been passed to script you do like this.....
$1 $2 $3 etc.

Same thing i am trying to do but different way find string, get column# and then get...
2,298
Posted By J_ang
Let me explain little bit what i am trying to...
Let me explain little bit what i am trying to accomplish i want to find a string in arugments that have been passed to script then get the column number and based on column number get the value of...
2,298
Posted By J_ang
Thanks for everybody's input couldn't accomplish...
Thanks for everybody's input couldn't accomplish my mission yet

Output of $* (a b c d)

typeset -u P=`echo $*|awk 'BEGIN{RS=FS}/b/{print "$"NR}'`

Rather then giving me b it gives me $2.
...
2,298
Posted By J_ang
AWK question?
I have question about awk if someone can help me here. I want to find a string (file has just one row) and then get the position of the column.

let say i have 4 columns

a b c d

Look for b...
2,232
Posted By J_ang
Is it possible to find parameters?
I have a shell script and i pass 3 parameters to it.
Just give you an example

test.sh a=y/n b=y/n c=y/n

Pass y/n to a, b and c then it will decide what to do.

test.sh a=y b=n c=n

What i...
55,594
Posted By J_ang
Re: How can i unzip .gz extension file?
Sorry i am using winzip but we i try to open the file it say

"Invalid Compressed Data - unable to inflate"

Thanks in advance.
55,594
Posted By J_ang
How can i unzip .gz extension file?
I have pulled a .gz file from UNIX to window. Is there way to unzip UNIX based file on window?

Thanks advance.
Showing results 1 to 19 of 19

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