Search Results

Search: Posts Made By: Krrishv
1,260
Posted By Krrishv
awk script
Hi,

I am trying to write a awk script. Below is the logic.

I want to get the user input and search the user in the end system using API.

It is always missing some escape character in the...
5,959
Posted By Krrishv
If i do double quotes. I get a error message that...
If i do double quotes. I get a error message that the server is expecting a single quote...:)

Server is looking for the right format.
5,959
Posted By Krrishv
@Akshay, Thank you so much . I am trying to...
@Akshay,

Thank you so much . I am trying to do this in Shell. When i use the curl command and keeping firstname:"$f1" i am not getting the variable assigned properly. But when i do echo $f1 it...
5,959
Posted By Krrishv
@Scrutinizer The above script is working fine....
@Scrutinizer
The above script is working fine. It does the job of executing my input file, I only have the error "makes too many open files"

---------- Post updated 08-20-14 at 06:48 AM...
5,959
Posted By Krrishv
awk throws makes too many open files
Hi,

I have a below awk script.
BEGIN {
FS=",";
}
{

system("curl -v -H \"Authorization: SSWS test" -H \"Accept: application/json\" -H \"Content-Type: application/json\" -X POST...
734
Posted By Krrishv
Read from other file
Hi,

I am building a shell script.

i have another file test.conf which has below information.

env = PROD
subdomain = test


When I process the other shell script. it should check this...
Forum: Solaris 05-10-2013
2,187
Posted By Krrishv
Solaris error
Hi,

I am using solris 8 and i am unable to start my tomcat. I am getting the below error.

Error occurred during initialization of VM
Unable to load native library: ld.so.1: java: fatal:...
2,402
Posted By Krrishv
Input file check
Hi,

I have a script which runs daily. It gets 3 input files test1,test2,test3. I want to do a validation in my script to make sure i have all the 3 files available before running. If any one of...
4,461
Posted By Krrishv
Still no luck. This prints all the 7th...
Still no luck.

This prints all the 7th column. All i wanted is which is not ending with "

Some of the records are like below.
"116228","116228","Moriella","","Kowalski","116228","Paese...
4,461
Posted By Krrishv
Output is still not correct
This is how the file looks
1 Identifier,Username,First_Name,Middle,Last_Name,Employee_ID,City,RS Code,Postal,Email_addr,HomePhone,WorkPhone,Internal,Ethnic_Question,Ethnic_Questio...
4,461
Posted By Krrishv
@ygemici Hi, This prints all the...
@ygemici

Hi,

This prints all the records..

Thanks, This was helpful.

Can i also filter this output seeing which ever not completed with "

Krish.
4,461
Posted By Krrishv
Cut columns with delimiter
HI,

I have a file like below
"103865","103835","Zming","","Zhu","103965","Sunnyvale","US",
"116228","116227","Morlla","","Kowalski","113228","Paese "(Treviso)""IT"

I want to validate the 7th...
Forum: Red Hat 12-07-2010
3,511
Posted By Krrishv
Anyway i tried to recompile the php and start the...
Anyway i tried to recompile the php and start the webserver. It works.

I dont think so the resync of manual as any implications over this.

But can you suggest me which version of apache and...
Forum: Red Hat 12-07-2010
3,511
Posted By Krrishv
Hi Frank, Thanks for your reply. Yes, i...
Hi Frank,

Thanks for your reply.

Yes, i did run as root.

thanks,
Forum: Red Hat 12-06-2010
3,511
Posted By Krrishv
Apache 2.2.17 compile issue.
Hi,

I am using RedHat Linux 5.3 64bit OS.. When i try to compile apache 2.2.17. during the make install i am getting the below error. Appreciate your help.

rsync: link_stat...
2,009
Posted By Krrishv
Hi, Thanks for the help guys. If i want...
Hi,

Thanks for the help guys.

If i want to add this server back to the same place. is there a option?
2,009
Posted By Krrishv
Replacing pattern
Hi,

I have a file which contains the below data. I want to search for a pattern server="http://bushby.mis.amat.com:12440" and remove it from the file.

Please let me know how can i do this....
2,129
Posted By Krrishv
Date validation
Hi,

I have a script which runs on specific sunday. If that script runs on the sunday i want to execute another script on following wednesday.

I have a log for that server. My wednesday scripts...
6,795
Posted By Krrishv
Crontab running every alternative sunday
Hi,

I want to run a script starting this 28 Mar 2010 every alternative sunday. Can you give me the crontab entry for the same. Mine is a HP unix.
2,351
Posted By Krrishv
Hi, Say i want report starting mar to June. ...
Hi,

Say i want report starting mar to June.

How will i grep.I can grep if i require for one month.I want collect the data for last 3 months and redirect to a file means how can i do that?
2,351
Posted By Krrishv
data extract from dates
I have a 1 GB file.I want to take the information for last one month from that file.

Say i want to extract data from May 1st.

File contents below.

193.135.218.124 - - [19/May/2009:01:42:09...
6,736
Posted By Krrishv
Hi, If your smtp server name is abc.test.com...
Hi,

If your smtp server name is abc.test.com the command you should use is

telnet abc.test.com 25

you have to execute this from the server where you are trying to send email.
6,736
Posted By Krrishv
Procedure to check is already there in my last...
Procedure to check is already there in my last message.
6,736
Posted By Krrishv
It looks like SMTP relaying is not enabled for...
It looks like SMTP relaying is not enabled for that server. You should check whether SMTP relaying is allowed for that server.

You can probably check whether relaying is enabled or not using the...
6,736
Posted By Krrishv
You can use uuencode command to attach the file...
You can use uuencode command to attach the file and send it to your email.

uuencode <filename> <newfilename>| mailx -s "<Subject>" abc@com
Showing results 1 to 25 of 201

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