Unix/Linux Go Back    

Showing results 1 to 23 of 23
Search took 0.01 seconds.
Search: Posts Made By: Anji
Forum: Shell Programming and Scripting Linux 12-06-2010
Replies: 6
Views: 6,792
Posted By Anji
Thanks Rohon... I tried as you suggested for...

Thanks Rohon...
I tried as you suggested for one of my script for testing, but i dont see any changes in script? Where will be this Version information can see in?
Is there any other file will...
Forum: Shell Programming and Scripting Linux 12-03-2010
Replies: 6
Views: 6,792
Posted By Anji
Thanks ROHON for the reply.. I found the usage...

Thanks ROHON for the reply..
I found the usage and the use of this SCCS facility, But dint find more about how Can I use this in my scenario..
Can you please let me know How can I use it?
Forum: Shell Programming and Scripting Linux 12-02-2010
Replies: 6
Views: 6,792
Posted By Anji
Version Control Through the Shell Script

Version Control Through the Shell Script

Hi Guys,
Apologize for the big request, please take some time and read it completely... This is Very important for me, and ur help is Very much...
Forum: Shell Programming and Scripting Linux 08-14-2010
Replies: 1
Views: 1,631
Posted By Anji
Bug Calling Config file in the Script.. Please help

Hi Guys,
I need some help related to my script... I will explain you briefly about my script and requirement

I written one script which will monitor all my services in the server and send a mail...
Forum: Shell Programming and Scripting Linux 08-08-2008
Replies: 4
Views: 1,811
Posted By Anji
MySQL How to get next 4 lines

Hi Frds,
I am new to scripting.

My Doubt is how to get the next 4 lines If I already know the 1st line.
That means,
bash-2.03$ grep -i "abc" /tmp/us1.txt
abc : 904015467

I will get the...
Forum: Shell Programming and Scripting Linux 07-25-2008
Replies: 9
Views: 5,434
Posted By Anji
CPU & Memory how to get the data from line number 1 to line number 100 of a file

Hi Everybody,
I am trying to write a script that will get some perticuler data from a file and redirect to a file.

My Question is,
I have a Very huge file,In that file I have my required data is...
Forum: Shell Programming and Scripting Linux 03-05-2008
Replies: 2
Views: 59,451
Posted By Anji
Finding Heap size Command--Urgent

Hi Friends,
i need a unix command to check the heap space availability on unix system as I am getting following error:

Error occurred during initialization of VM
Could not reserve enough...
Forum: UNIX and Linux Applications Linux 02-21-2008
Replies: 5
Views: 3,409
Posted By Anji
I am completely new to shell scripting,, But...

I am completely new to shell scripting,,
But also with a searching I did some code which will grep the Exception from the log file,,,,but I want to get the whole exceptions from the log file

I...
Forum: UNIX and Linux Applications Linux 02-21-2008
Replies: 5
Views: 3,409
Posted By Anji
Actually The Logfile will contains Different type...

Actually The Logfile will contains Different type exceptions.
for example ,Java exceptions , database related exceptions,

sample exception snippet from the log file

2007-11-13 05:12:43,899 -...
Forum: UNIX and Linux Applications Linux 02-20-2008
Replies: 5
Views: 3,409
Posted By Anji
Hi Guys, Any help in the above request???????? ...

Hi Guys,
Any help in the above request????????

Thanks in advance
Forum: UNIX and Linux Applications Linux 02-20-2008
Replies: 5
Views: 3,409
Posted By Anji
MySQL Urgent---Program for getting Exception from a log

Hi Friends,

I am new to Unix,

Now I am Working with shell scripting in my company

Description:-By executing that script I need to get the exception from the log file
I need the program...
Forum: Shell Programming and Scripting Linux 01-22-2008
Replies: 5
Views: 6,813
Posted By Anji
if ( $a -ge $b) then echo $a endif

if ( $a -ge $b) then
echo $a
endif
Forum: Shell Programming and Scripting Linux 01-22-2008
Replies: 5
Views: 6,813
Posted By Anji
Your code have the syntactical errors if [...

Your code have the syntactical errors

if [ $a -ge $b ]
then
echo $a
fi


Enjoy....
Anji
Forum: Shell Programming and Scripting Linux 01-16-2008
Replies: 0
Views: 6,123
Posted By Anji
Failed to open output file Error

Hi guys,
I Have written a script,In that it will call another file which contains the sql quaries.

while wxecuting that I am getting the below exception
01/16|06:28:06:16800: Operating System...
Forum: Shell Programming and Scripting Linux 01-15-2008
Replies: 2
Views: 7,619
Posted By Anji
Thanks all of you guys, The Answer for above...

Thanks all of you guys,

The Answer for above is

if [ "$MODE" = "D" ]
then
. $file1
fi
Forum: Shell Programming and Scripting Linux 01-15-2008
Replies: 2
Views: 7,619
Posted By Anji
String comparision in shell scripting

Hi Guys,

I am new to scripting

I have written a code to compare strings,but I am getting some Exception

Code snippet:

MODE="D"
if [[ $MODE = "D" ]]; then
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 2
Views: 8,080
Posted By Anji
Thanks buddy I already solved that problem...

Thanks buddy

I already solved that problem by own

Anyway Thanks alot for ur reply
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 8
Views: 8,396
Posted By Anji
Thanks Alot to everybody,research by own Now I...

Thanks Alot to everybody,research by own
Now I got it

The Code snippet which I have used is

if [[ $file1 = "Sector.sql" || "$file1" = "Currency.sql" ]]; then

Thank Again
Anji
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 8
Views: 8,396
Posted By Anji
I have given the space too but I am getting...

I have given the space too

but I am getting the same error as above.....

This silly mistake making me lot of trouble

Can you plz help me out..........

thanks
anji
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 8
Views: 8,396
Posted By Anji
Hi, Thanks for your reply... Sorry to say...

Hi,
Thanks for your reply...
Sorry to say that
I have tried with the command which you have given.
but also I am getting the same error....

Code:
if[ "$file1" = "Sector.sql" -o "$file1" =...
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 8
Views: 8,396
Posted By Anji
Thank buddy, I have tried that logic too... ...

Thank buddy,
I have tried that logic too...

but still I am getting the following Exception

Code Snippet:
if["$file1" = "Sector.sql" || "$file1" = "Currency.sql"]; then
cat $file1 | sed -e...
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 8
Views: 8,396
Posted By Anji
Comparing Two Strings

Hi All,
While I am trying to run below code I Am getting the exception like

./abs.sh: line 102: syntax error near unexpected token `then'
./abs.sh: line 102: ` ...
Forum: Shell Programming and Scripting Linux 01-09-2008
Replies: 2
Views: 8,080
Posted By Anji
Urgent:Comparing two Strings using If Loop

Hi All,

Please help me out in this... I am new to scripting

How to compare two strings by using the same string in single loop,
I am using ksh

for ex:see the code snippet below
I am...
Showing results 1 to 23 of 23

 


All times are GMT -4. The time now is 01:05 AM.