Search Results

Search: Posts Made By: yoursdavinder
1,344
Posted By yoursdavinder
placing a string
Hi,

I have a small requriement to change a part of string in a sentence starting with "ho".

For E.g I am having the following statements:


I want to go to home,beach.
I will never go to...
1,888
Posted By yoursdavinder
Connecting to Database
Hi,

I want to write a shell script which connects to a Database, executes a set of SQLs and displays a message for every SQL that was run whether any records have been returned or not?

Can...
5,543
Posted By yoursdavinder
Thanks alot...It works....
Thanks alot...It works....
5,543
Posted By yoursdavinder
Thanks alot for your help but sorry I am still...
Thanks alot for your help but sorry I am still confused and not getting it :confused:
5,543
Posted By yoursdavinder
Got your point but I am not able to get where and...
Got your point but I am not able to get where and how to use it in my code... :confused:
5,543
Posted By yoursdavinder
I did not get you...CR's?? Sorry I am new to...
I did not get you...CR's?? Sorry I am new to Unix...
5,543
Posted By yoursdavinder
I am using a windows editor
I am using a windows editor
5,543
Posted By yoursdavinder
Yes I am sure that I am issuing the command in...
Yes I am sure that I am issuing the command in the same directory...
5,543
Posted By yoursdavinder
Thanks for your response....The directory does...
Thanks for your response....The directory does exist, its the correct path and also the file country.conf

Can u pls help??
5,543
Posted By yoursdavinder
Reading a value from the configuration file
Hi,
I have prepared a config file in which I am declaring the value for a country such as: COUNTRY=USA
Now I am trying to read the country from the config file and print a message based on the...
5,382
Posted By yoursdavinder
I am on Linux machine...I tried using gawk but I...
I am on Linux machine...I tried using gawk but I get the same error...

gawk: cmd. line:2: -
gawk: cmd. line:2: ^ unexpected newline or end of string

Please suggest....
5,382
Posted By yoursdavinder
I am trying to execute the set of code u have...
I am trying to execute the set of code u have provided by putting it in a script file for e.g. "Test.sh" and when I am executing the script I get a following error:

awk: cmd. line:2: -
awk: cmd....
5,382
Posted By yoursdavinder
Thanks for your reply.... I am actually new to...
Thanks for your reply....
I am actually new to working with Unix...Could you please explain in detail??
Following is how im getting the process details:

[root@SNRBBY34844 bin]# ./opmnctl...
5,382
Posted By yoursdavinder
Printing the Status of a Process in an Instance
Hi,

I am executing the command: "./opmnctl status" to get the status of the processes in the instance. There are totally 5 processes that are avaialble, out of which 3 are "Alive" and 2 are...
8,933
Posted By yoursdavinder
Thanks alot.....
Thanks alot.....
8,933
Posted By yoursdavinder
when im just trying to echo as mentioned by you: ...
when im just trying to echo as mentioned by you:
echo "Enter the Country for which you want the installation to be executed? (US/India) "
read COUNTRY_SPEC

I am getting:
line 1: ECHO:...
2,377
Posted By yoursdavinder
Storing Command Line Values
Hi,
I am trying to read the value passed by the user and store it in a variable so that later I can read it from the variable. But I am getting errors. Can you please help? Thanks.

Code:
$ECHO...
8,933
Posted By yoursdavinder
I have written the following code and the result...
I have written the following code and the result as follows. Can you help? Thanks.

Code:
$ECHO $COUNTRY_SPEC "Enter the Country for which you want the installation to be executed? (US/India)...
8,933
Posted By yoursdavinder
User input for execution of script
Hi,

I need to get the user input and execute a particular script based on the input provided.

For E.g. When I execute the script say Test.sh it should prompt "For which country I need to...
3,227
Posted By yoursdavinder
Viewing the commands executed
Hi,

I have executed a set of commands on the linux server and later rebooted the server. Is it possible to get the details of the commands I executed prior to the reboot? If yes please let me...
Forum: UNIX and Linux Applications 01-09-2009
3,739
Posted By yoursdavinder
Force Deleting the MQM
Hi,

I have MQM installed and now need to force delete it because when I am using the command endmqm I am getting an error that says "Segemntation Fault". Can anyone please tell me how can I force...
1,859
Posted By yoursdavinder
Dynamically locating a file
Hi,
I have a requriement where in I need to install a s/w by executing the installable file through a script. The script currently contains the path of the installable file. I need to now update the...
Showing results 1 to 22 of 22

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