Search Results

Search: Posts Made By: nskworld
2,368
Posted By nskworld
After my investingation, I observed that the...
After my investingation, I observed that the cronjob is not failing, but the database connection inside the script is failing.
Any idea what could be the problem?
2,368
Posted By nskworld
crontab-db connection prob
I have a shell script which contain database connection and runs a big query.
When I run the script on command promp, the desired output is getting spooled taking some time.
But when I setup a...
11,567
Posted By nskworld
Thanks a lot robotronic. That really works
Thanks a lot robotronic.
That really works
11,567
Posted By nskworld
Get rid of junk character in a file
I have a file with one of the following lines, when opened with vi
33560010686GPT£120600GBPGBP10082007DS
In the above line, I want to get rid of the junk character before the £ (pound sysmbol)....
32,159
Posted By nskworld
Please ignore my reply. grep -c returns the...
Please ignore my reply.

grep -c returns the no of times, the string appears in file
grep -n returns the line no of the pattern.
awk '{NR=$line_no+1}' returns the line next to the line of pattern...
32,159
Posted By nskworld
Oops.. its NR..not NE
Oops.. its NR..not NE
32,159
Posted By nskworld
line_no=`cat <file-name> | grep -c...
line_no=`cat <file-name> | grep -c <pattern-name>`
req_line=`cat <file-name> | awk '{NE=$line_no-1}'`

PS: Not tested the above one. Pls correct me if I m wrong
2,587
Posted By nskworld
Thanks.. I ll check this on monday and get back...
Thanks.. I ll check this on monday and get back to you
2,587
Posted By nskworld
Delete Duplicate Cronjobs
I set up same cronjobs in two different users to generate messages at 5:30 AM
Not Its generating duplicate messages.
I want to delete the cron entries set up in the first user, but I am unable to...
Showing results 1 to 9 of 9

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