Search Results

Search: Posts Made By: apsprabhu
1,432
Posted By apsprabhu
Fetch a value of particular parameter from a log
Fetch a value of particular parameter from a log.

for exapmle, i have the below line in the log.



now i would like to grep name and fetch only the values of name . here in this case i would...
5,246
Posted By apsprabhu
THANKS
Thanks a lot SCOTTN, it works. after lot of hurdles i have completed the script .


Thanks to all of the folks in thie forum who has helped me in this task.
5,246
Posted By apsprabhu
Please help
Experts,

Please help me on this.
5,246
Posted By apsprabhu
Thanks experts, still i'm in problem. Now "...
Thanks experts, still i'm in problem.

Now " df -h . |tail -1 |cut -d'%' -f1 |awk '{print \$NF}' " gives the desired result, however if I use that code inside a if condition (listed below) it is...
5,246
Posted By apsprabhu
another problem inside ssh
Hi

now another problem has come up.

inside the ssh iam using the following command
df -h . |tail -1 |cut -d'%' -f1 |awk '{print $NF}'
this should ideally give only the use%. however its...
5,246
Posted By apsprabhu
Hey ygemici, excellent man its working for me....
Hey ygemici, excellent man its working for me. Thanks a ton:b: :) :D
5,246
Posted By apsprabhu
No, even ssh with -t option couldn't resolve my...
No, even ssh with -t option couldn't resolve my problem. Experts please help me. :(
5,246
Posted By apsprabhu
ssh error
Hi,

I'm executing the set of commands in remote machine via ssh command. But the control is not even going inside the if statement (not echo-ing anything).




/usr/bin/ssh ${2}@${1} <<EOF...
2,694
Posted By apsprabhu
hi i don't know html...so i didn't prepare any...
hi i don't know html...so i didn't prepare any html code so far....please help me.
7,300
Posted By apsprabhu
Hi All, apologies if my post is unclear.... ...
Hi All,

apologies if my post is unclear....

Let me explain you.

My alert.log will contain 1000's of error messages. among them only very few will be exactly same. But 50-100 alerts may have...
7,300
Posted By apsprabhu
URGENT
Some one please help me, its quire URGENT.
7,300
Posted By apsprabhu
Improve the performance of a shell script
Hi Friends,

I wrote the below shell script to generate a report on alert messages recieved on a day. But i for processing around 4500 lines (alerts) the script is taking aorund 30 minutes to...
2,694
Posted By apsprabhu
Display o/p in HTML format from unix environment
Hi,

i want to disply the o/p in HTML format from unix environment.

Let me explain my requirement.

First an automated email should be sent in HTML format. The report contains number of error...
24,201
Posted By apsprabhu
Thanks
Thanks a lot for your guidance
1,660
Posted By apsprabhu
print "*" entire line
Hi folks,

I want to display the "*" character the entire line. Instead of manually giving "*" multiple times in echo/print command, i want some short cut.

i remember i have came across a...
24,201
Posted By apsprabhu
Thanks a lot Durden... As i'm new to mysql ,...
Thanks a lot Durden...

As i'm new to mysql , Please clarify me on the following,


$ cat -n connect_mysql.sh
1 #!/bin/bash
2 # connect to test database and query the EMP table
...
24,201
Posted By apsprabhu
Connect MySQL database from Unix
How to connect a MySQL database from unix using unix shell scripting ( people are using perl scrpt to connect the same database).

I want to access a MySQL database through a shell script
Forum: What is on Your Mind? 11-30-2009
6,333
Posted By apsprabhu
Thanks
Thanks zxmaus. Thanks for your tips. :)
Forum: What is on Your Mind? 11-27-2009
6,333
Posted By apsprabhu
Which flavor of unix has more job opportunities?
All,

I've almost 5+ yrs experience in IT sector. i've mostly work with support projects in Unix/ Linux (Shell scripting), SQL, Autosys job scheduling. Now i really felt boring with the work i'm...
5,572
Posted By apsprabhu
find with prune option
Hi,

I want to list files only from the current dir and its child dir (not from child's child dir).

i have the following files,

./ABC/1.log
./ABC/2.log
./ABC/ABC1/A.log
./ABC/ABC1/B.log...
42,718
Posted By apsprabhu
I want the listing only from current directory...
I want the listing only from current directory not from its child ddirectories. find willl list out all the files from current as well as child directories

ls -lrt |grep -v '.txt' will give me the...
42,718
Posted By apsprabhu
List all files except *.txt in a directory
I have many types of files (Eg: *.log, *.rpt, *.txt, *.dat) in a directory. I want to display all file types except *.txt.

What is the command to display all files except "*.txt"
Forum: Linux 09-27-2009
7,630
Posted By apsprabhu
why don't you use the below code, for line...
why don't you use the below code,

for line in `cat file1`
do
grep -w "$line" file2 >>file3
done
1,734
Posted By apsprabhu
Many Thanks
Thanks a LOT. :)
5,350
Posted By apsprabhu
i beleive you have to do it one by one... ...
i beleive you have to do it one by one...

sed -e "s/^123/.../" -e "s/^234/.../" ......
Showing results 1 to 25 of 62

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