Search Results

Search: Posts Made By: tonan
4,609
Posted By tonan
Hi venikathir Crontab part is fine, where in...
Hi venikathir

Crontab part is fine, where in i can schedule the job, the question is "HOW TO" auto refresh a page using a shell script, is there any way, once i get an answer to it, i can...
4,609
Posted By tonan
Refresh a URL from shell script
I have a php page which i run in a browser, it has a the refresh meta tag which refreshes the page after every 15 mins. Now i am running this on a browser. It will refresh and do something and update...
3,175
Posted By tonan
I am not able to understand how is the script...
I am not able to understand how is the script reading the directory name from the property file.

what are the params you are passing, the first param seems to be the dir that you are passing. Can...
10,738
Posted By tonan
well this was easy, you are missing on the syntax...
well this was easy, you are missing on the syntax

nawk 'NR==FNR{a[$1];next} {if($1 in a) print $1,"Found";print}' OFS="," File_B File_A

-----Post Update-----

sample output

bash-3.00$...
85,318
Posted By tonan
#!/bin/ksh ...
#!/bin/ksh
#################################################
## File: findDateRange.sh
## Date: May 27, 2008
## Author: Saurav Sen
## Purpose: A script to find the files within...
68,459
Posted By tonan
#!/bin/ksh ...
#!/bin/ksh
#################################################
## File: findDateRange.sh
## Date: May 27, 2008
## Author: Saurav Sen
## Purpose: A script to find the files within...
8,618
Posted By tonan
Thankyou summer cherry
Hey that was spot on :):b:, Since i am using the ps comand to fetch the above pids i can use the awk to find my result. Here is the command.

ps -aef|grep dmadmin2|grep document
dmadmin2 18264...
8,618
Posted By tonan
find the Root ID from the processes
Hi Friends,

The problem has a simple solution but i am not able to do that, need your help

dmadmin 9558 9511 0 Jan 02 ? 0:00 ./documentum -docbase_name secm1 -security acl...
10,418
Posted By tonan
Looks that my question was a bit complecated....
Looks that my question was a bit complecated. Well if anyone could give an example or resource as to how we can use a while loop in an expect file, like to read till the end of any file.

regards
2,110
Posted By tonan
you can also create a shell script for this,...
you can also create a shell script for this, using for.. this is the lenghty way :)
x=0
for i in `cat numbers.txt`
do
x=`expr $x + $i`
done
echo $x
7,324
Posted By tonan
unalbe to get your question completely but...
unalbe to get your question completely

but if you want to pass values to your shell script instead of typing them everytime.

User arguments while running your shell script.

Create a file at...
10,418
Posted By tonan
Need help with Expect and Shell script
This is my shell script which calls an expect file, i am trying to find out server.log file sizes on various servers. But what should be correct way to do that, is there any way i can run a for loop...
2,483
Posted By tonan
here is your answer
head -5 $1
echo "remove $1 ?"
read answer
if [ $answer = "y" ]; then
rm $1
echo "$1 is deleted"
else
#if[ $answer = "n" ];then
#echo "file is not deleted"
#else
...
Showing results 1 to 13 of 13

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