Search Results

Search: Posts Made By: sankar reddy
168,945
Posted By sankar reddy
How to restart the tomcat server
hi,
I need a command that restart the tomcat server.

for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i...
5,455
Posted By sankar reddy
How to split the String based on condition?
hi ,
I have a String str="/opt/ibm/lotus/ibw/latest" or ="/opt/lotus/ibw/latest" this value is dynamic..I want to split this string into 2 strings

1. /opt/ibm/lotus(/opt/lotus) ...
12,039
Posted By sankar reddy
set -x jarFile=Notes.jar if [...
set -x


jarFile=Notes.jar



if [ -f "$jarFile" ]; then
jarPath=`pwd`
fi


if [ $jarPath="" ]; then
jarPath= `find /opt/lotus/notes/ -name $jarFile`
echo "the jar path $jarPath"
fi
12,039
Posted By sankar reddy
file Name :::Notes_debug.start set -x ...
file Name :::Notes_debug.start

set -x
jarFile=Notes.jar
if [ -f "$jarFile" ]; then
jarPath=`pwd`
fi
if [ $jarPath="" ]; then
jarPath= find /opt/lotus/notes/ -name $jarFile
echo "the jar...
12,039
Posted By sankar reddy
Hi, Its not working...See i have written...
Hi,
Its not working...See i have written this code in some file called Notes.start

from bash i run like that ./Notes.start

its not giving any output....


Is there any constraints on...
12,039
Posted By sankar reddy
Assigning output of command to a variable in shell
hi,
I want to assign find command result into some temporary variable:

jarPath= find /opt/lotus/notes/ -name $jarFile
cho "the jar path $jarPath"

where jarPath is temporary...
Showing results 1 to 6 of 6

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