Search Results

Search: Posts Made By: VSom007
2,049
Posted By VSom007
Sequential Function Execution
I am having two different function in my script. When control is at first function I do not want to execute another function. How I can do that?
Help is highly appreiated as I am not sure How I can...
4,301
Posted By VSom007
Thanks Scott! :b:It works.. Cheers !!!
Thanks Scott! :b:It works..

Cheers !!!
4,301
Posted By VSom007
Thanks Scott! but exec or redirection is...
Thanks Scott!

but exec or redirection is not in stopservers program...
let me tell you..
I have one script say abc.ksh in which I am using exec to log the details...
in abc.ksh I am calling...
4,301
Posted By VSom007
Thanks For quick reply Scott :b: will it...
Thanks For quick reply Scott :b:

will it work if I am calling program as follows,

$service_script_Path/stopservers > /dev/tty

Thanks,
Vikram.
4,301
Posted By VSom007
How to print warning messages on console when we use exec command?
I am having script in which for logging I am using exec command. I am calling another script/program through this script which is designed for another user id.

So, After running script it is...
19,947
Posted By VSom007
How to check whether directory has files in it or not in shell script?
hi,

I am having script in which i want to check if directory has any file in it or not. If directory contains a single or more files then and only then it should proceed to further operations......
5,482
Posted By VSom007
Thank you all for your quick responses... ...
Thank you all for your quick responses...
alister is right.
"More importantly, the solution is incorrect. If ../<<Your Directory>> itself contains a directory named <<Your Directory>>, it will not...
5,482
Posted By VSom007
mv : Argument list too long
Hi I am using find command --

find "directory1" -type f | xargs -i mv {} "directory2"

to avoid above argument list too long problem.
But, issue i am facing is directory1 is having...
3,712
Posted By VSom007
Hi hanson44, Thanks for help. with --force...
Hi hanson44,
Thanks for help. with --force option it worked. :)Thanks for the help.
3,712
Posted By VSom007
Hi Hanson44 thanks for reply.. I am not getting...
Hi Hanson44 thanks for reply..
I am not getting any error message. I can see even status of handleld files. When I tried debugging mode It's displaying message that No need of log rotation.
3,712
Posted By VSom007
Logrotate - I am not able to rotate files using logrotate
I have written script which is working in Home directory perfectly and also compressing log files and rotating correctly. But, when i try to run script for /var/log/ i am able to get compressed log...
Showing results 1 to 11 of 11

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