Search Results

Search: Posts Made By: ankush_mehra
1,417
Posted By ankush_mehra
Thanks Dave. Will write script... there is no...
Thanks Dave.
Will write script... there is no utility or tool using which we can check that.
1,417
Posted By ankush_mehra
Hi Dave, our process are running and they...
Hi Dave,

our process are running and they are developed in such manner that they create errorfile.txt in error folder of that process.
I can write shell script to monitor each and every...
1,417
Posted By ankush_mehra
Any utility or tool to check logs
HI,
In our project daily we need to check for some errors in around 45-50 folders. Please let me know if there is any utility tool using which 1 can check each folder and file for error.
Use:...
1,644
Posted By ankush_mehra
Remove files using ssh
Hi ,
I am trying to remove files using ssh login to other server but i am not able to delete files
I am using below options:
ssh username@"$Server" -t bash << EOF
cd $location
rm -rf `find ....
12,584
Posted By ankush_mehra
how to convert .sh to .exe file
Hi,
I have prepared 1 .sh script that is running fine in UNIX box. Now I wanted to run that script from windows box. I am thinking of converting it to .exe so that can run this in windows server and...
Forum: Solaris 04-18-2012
4,631
Posted By ankush_mehra
How to capture Output of truus command
Hi I want to check if some process is sleeping. I can see that in truss -p <pid>
I want to capture output and check that output if proces sis sleeping. Please suggest way to capture output of truss...
10,693
Posted By ankush_mehra
Hi I have given absolute path for file... But...
Hi I have given absolute path for file... But when script is running as cronjob it is not going under while loop. when I try to run it manually i is executing mentioned number of times while loop
...
10,693
Posted By ankush_mehra
Hi , Yes var is changing in script if executed...
Hi ,
Yes var is changing in script if executed manually. But if I run this script aas cronjob it is not entering into while loop
10,693
Posted By ankush_mehra
while loop not working in cronjob
Hi ,
While loop is not working when running script as cronjob.
#!/usr/bin/bash

xyz
sleep 30
var=0
while [ $var -le 100 ]
do
xyz commands
done

This script is working if I run it...
2,437
Posted By ankush_mehra
Thanks for quick response. But I am woking on...
Thanks for quick response. But I am woking on Live server where files are created evry second . So I need to retreive files created/Modified in last 3-4 hours.
I am using below command
find . -name...
2,437
Posted By ankush_mehra
Usage of find command
I need to find a file that has been modified in last 3-4 hours. mtime tells us about file modified in n days. Is there any way I can check for hours or minutes file modified or created before.
2,517
Posted By ankush_mehra
thanks for your reply. Is there any work around...
thanks for your reply. Is there any work around for this?
I mean during ftp can i check for directory somehow?
2,517
Posted By ankush_mehra
usage of if command in ftp
Hi ,

I am writing script to copy some files and folders . I am trying to use if command to check if folder exists and then copy in that folder but if command is not working:

if [ -z sequences...
Showing results 1 to 13 of 13

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