Search Results

Search: Posts Made By: basisvasis
Forum: SuSE 01-29-2011
4,197
Posted By basisvasis
CPU and RAM comparison on suse vs solaris
hi,

currently we have SAP application running on a solaris machine that has 8 dual core CPUs @ 2.4 GHZ and the performance of the system is perfectly normal. We plan to migrate the app to a suse...
21,238
Posted By basisvasis
Script to check if file exists
guys,

I am trying to write a script that does the following:

it looks for a file in a specific directory and if the file is not there (NOT), it emails me. I have tried the following but its...
3,003
Posted By basisvasis
sethcoop, your suggestion worked like a...
sethcoop,

your suggestion worked like a charm. I never knew that -v option of grep would remove the entire line.

Thanks a lot.
3,003
Posted By basisvasis
I only want to remove the tags from these files,...
I only want to remove the tags from these files, not the entire lines that contain these tags.
3,003
Posted By basisvasis
grep, remove and conconate -- xml files
suse linux 10 here.

I have two xml files here and both contain <sf> and </sf> tags in almost beginning and towards the end fo the files.
I need to remove the </sf> tag from the first file and...
16,797
Posted By basisvasis
thanks for the info. Can anybody show me how to...
thanks for the info. Can anybody show me how to write this for loop in my case ?

I tried the following but it didnt work:

for i [ -s /myfilelocation/bingofile*.DAT ] # is bingofile*.DAT > 0 ...
16,797
Posted By basisvasis
ahaa....thanks for the info, vidyadhar. ...
ahaa....thanks for the info, vidyadhar.

can you give me an example of how I would use the "for loop" with my requirements ?

thanks
16,797
Posted By basisvasis
Binary operator expected
Within my script, there is this following if, then statement. It basically looks for files in a directory that match a certain naming convention (bingofile*.DAT) and are non empty files and moves...
9,389
Posted By basisvasis
After playing for another week, I came up with...
After playing for another week, I came up with the following. This script works just fine for me except one small problem, i.e, even if there are no files that are less than 30 mins old, it still...
9,389
Posted By basisvasis
I have tried the following:But i get the error...
I have tried the following:But i get the error command LINE 7, PRINT: command not valid

#!/bin/bash
#set -x

if [[ $# = "0" ]]
then

print "USAGE: $0 [Search_Directory]"
exit 0
...
9,389
Posted By basisvasis
Script to find, grep and email
running a suse linux 10.

I'm trying to write a script that searches for a file with certain name and that has been modified less than 30 minutes ago, then search for a certain string in that file...
Showing results 1 to 11 of 11

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