Search Results

Search: Posts Made By: ckchelladurai
17,592
Posted By ckchelladurai
Hi Pamu, Thank you so much, it working...
Hi Pamu,
Thank you so much, it working perfectlry
17,592
Posted By ckchelladurai
[Solved] Convert string into date format
Hi,
I am getting the below string as a input for date.
12/03/2013 11:02 AM

I want to change this date as 03-DEC-2013 11:02 AM.

Could you please help on this.

Thanks
Chelladurai
13,997
Posted By ckchelladurai
Hi, Thanks for your reply. Both scripts are...
Hi,
Thanks for your reply.
Both scripts are independent...
I need to run the second script in nohup mode from first script. But when the above code execute, the main script(scrone.sh) is get...
13,997
Posted By ckchelladurai
Nohup inside shell script
Hi,
I want to run another script inside shelll script in nohup mode.
let explain.

under the same folder ,I have two scripts
scrone.sh
scrtwo.sh

In scrone.sh
if [ var -eq 1 ]
then...
2,024
Posted By ckchelladurai
awk -F"./hawk_" '{print $2}' filename The...
awk -F"./hawk_" '{print $2}' filename

The above command is working perfectly.

Thank you so much for all of you for your prompt replies.
2,024
Posted By ckchelladurai
Grep exact string from main string
Hi ,
am getting output file, it sontains the below values.
./hawk_DOM1_FIRST_ENV
./hawk_DOM2_SECOND_ENV
./hawk_DOM3_THIRD_ENV

Now I need to grep the word "DOM1_FIRST_ENV","DOM2_SECOND_ENV"
...
4,802
Posted By ckchelladurai
Hi, Please find the output usergroup...
Hi,
Please find the output

usergroup 30981 1 0 may09? 00:00:29 /opt/tibco/domain/TRN/3.2/tra/5.7/bin/bwengine --pid --run --propfile \
...
4,802
Posted By ckchelladurai
Grep the only instance name
Hi,
I want to get the only application name from the server.
Ex:
if i give $ ps -ef | grep bw.
It will show all BW process with entire path. It will little confuse to list out the process. Can...
2,159
Posted By ckchelladurai
Thanks for explaining Cero.
Thanks for explaining Cero.
2,159
Posted By ckchelladurai
Hi Corona, Could you please the usage of the...
Hi Corona,
Could you please the usage of the following varibale in the script.

1) PID=$!
2)[ -d "/proc/$PID" ] || break


How it works? .

Thanks in advance .
2,159
Posted By ckchelladurai
unix server is up or not using ssh
Hi,
I have three servers like S1,S2 and S3
I want to check the S2 and S3 server status from S1 using ssh method.

ssh user@S2 date >> test.txt
ssh user@S3 date >> test.txt

Am using the...
21,124
Posted By ckchelladurai
Hi, Thanks for you reply. Because, if user...
Hi,
Thanks for you reply.
Because, if user kickoff the script, and then they want to stop means, they have to user ctrl+c or ctrl+z, thats y I avoided that part.

For Ex:
I executed the...
21,124
Posted By ckchelladurai
How to handle CTRL+Z or CTRL+C in shells script?
Hi,
while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder....
1,627
Posted By ckchelladurai
Thanks for the reply. Its working fine.... :)
Thanks for the reply. Its working fine.... :)
1,627
Posted By ckchelladurai
Hi, Thanks for your reply. But i need to apply...
Hi,
Thanks for your reply. But i need to apply this in my shell scrpt.

Because, I want to validat the string in the file then replace it. Every loop contains different string values.

Like...
1,627
Posted By ckchelladurai
find and replace
Hi,
I have to grep value from one file, if that value is already present with "#" symbol. I have to remove that symbol in that file.

Ex:
file1.txt contains the following string

#value=15
...
1,963
Posted By ckchelladurai
clearcase,
Hi,
I have two unix server. In one server clearcase is installed. I want to take files from one server to clearcase server. Could anyone help to start up this, for how to connect clearcase server...
1,891
Posted By ckchelladurai
Hi , Thanks for the reply. Its working in...
Hi ,
Thanks for the reply.
Its working in some other server. (ie.). copying pub key to authorized key and fingerprint to known_host.
Got issues in one or two servers only. But all the servers...
1,891
Posted By ckchelladurai
ssh connectivity
Hi i have two servers name as ser1 ser2 with sudo user name "test"
I want to ssh to the ser2 without using apassword
am login with normal ssh method likes
ssh test@ser2

i got the id_rsa.pub...
1,089
Posted By ckchelladurai
ssh connectivity
Hi,
I have two unix servers named as

uni115.net
uni116.net

In both the boxes, I have sudo access to access some file.

From uni115.net , I need to login to uni116.net through script And...
1,373
Posted By ckchelladurai
Thank you so much!!!!!
Thank you so much!!!!!
1,373
Posted By ckchelladurai
string manipulation
Hi,
I have the followoing details in one file:

opt/tra/domain/test/new/filename1
training/ear/help



I need to manipulate the string in the following manner:

filename1=...
964
Posted By ckchelladurai
Hi, thanks for you reply.. This is my code:...
Hi, thanks for you reply..

This is my code:
rm newnames.txt
cd ear;
count=`ls *.ear |wc -l`
echo "Count is : $count"
ls *.ear |cut -d "." -f1>ear_names.txt
mv ear_names.txt ./../
cd .....
964
Posted By ckchelladurai
Can we do exact awk in shell script
Hi,
I have three strings:

BusinessService=one
BusinessService1=two
BusinessService_test=three

If I user awk command, the out put will be all these. Actually am searching for...
1,785
Posted By ckchelladurai
connect Clearcase from unix box
Hi am using unix box and am always download code from clearcase. I need to connect clearcase server from my unix box using shell script.I need to create view baseline everything using the sript. am...
Showing results 1 to 25 of 39

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