Search Results

Search: Posts Made By: borncrazy
4,011
Posted By borncrazy
replace > with new line character
<reward_data><date><datetime>071308000804</datetime></date>

I want the above data to be displayed as

<reward_data>
<date>
<datetime>071308000804</datetime>
</date>

How can i accomplish...
1,368
Posted By borncrazy
sed help
I need to replace a particular char(@) with a string on the 106th line of my file.

I am using the below command
sed "106s/@/@ < ${INSTANCE_ROOT}/${INSTANCE_NAME}/wd.conf/" start_new

Its giving...
12,249
Posted By borncrazy
Hi, I got ssh working through password. Now,...
Hi,

I got ssh working through password. Now, started trying for passwordless connection using key authentication. But still get the below error:

debug: SshAppCommon/sshappcommon.c:133:...
12,249
Posted By borncrazy
ssh between two differnt versions
Hi,

I am trying to ssh between two differnt versions on solaris boxes.
The src box has the SSH Secure Shell 3.1.0 on sparc-sun-solaris2.6 and destination has SSH Version Sun_SSH_1.0, protocol...
17,385
Posted By borncrazy
Thanks...That works
Thanks...That works
17,385
Posted By borncrazy
delete a line based on first character of the line
Hi,

I need to delete all lines in a file which starts with "|" character. Can some one assist me?

Thanks
21,235
Posted By borncrazy
Floating point numeric comparisions in bash
Hi,

I am trying to compare 2 floating point numbers 0.8 and 0.15 using bash and get the largest of the two. Can anyone advise.
24,402
Posted By borncrazy
Thanks RTM for the response. I already...
Thanks RTM for the response.

I already implemented the approach you mentioned.

Thought there would be other alternatives for doing that.
3,049
Posted By borncrazy
sftp problem
Hi,

I have a folder ABC.
I have sftp executing from this folder successfully to other servers using keys which avoids passowrd prompt.

The permissions for the folder are only for user.ie...
24,402
Posted By borncrazy
appending to a file in sftp
Hi,

Is there a way to append to already existing file using sftp.

Thanks in adv.
7,748
Posted By borncrazy
return valuse from child script to parent script
Hi,


I am trying to return a value from child script to a parent script just as a function does.

The child script will look for a file and if exists will return 1 else 0.

I need to capture...
9,158
Posted By borncrazy
Track Sftp process
Hi,

I am using sftp in my bash script.
I wanted to know whether if there is any way that we can track whether sftp has been successful or not..

Does sftp return any codes?

Thanks in adv
1,727
Posted By borncrazy
help in handling loops
Hi,

I am using bash script

I want some help in handling loops in my script...

I need to check for a specific interval of time whether a file in a paritcular directory exists. If exists, i...
17,333
Posted By borncrazy
Hi, Can i send an attachement through mail...
Hi,

Can i send an attachement through mail synatx... I tried to search the man pages but could not find any option...

Is there any alternative to fro sending an email with a text attachment or...
2,312
Posted By borncrazy
Hey, Got my script working....Was something...
Hey,

Got my script working....Was something to do with loops...

Created a fresh script and it worked fine...

Thanks for the help
2,312
Posted By borncrazy
Hey, I am sorry. // code is something i...
Hey,

I am sorry.
// code is something i wanted to know that i have some code here... i did not want to dump the entire thing...

To be frank, i am new to scripting....

As , i told u...if i...
2,312
Posted By borncrazy
hi, i am doing this using bash script.. ...
hi,

i am doing this using bash script..

yes the sftp code works if run independently....

the problem is whenever it is included in the loop it gives me that error.
2,312
Posted By borncrazy
What is wrong with this script?
Hi,

Basically, i am reading a file and transferring files between two servers using sftp. I am checking the last character of the file which gives me the server number to transfer the file...
17,333
Posted By borncrazy
Hi, I got this working..... There was a...
Hi,

I got this working.....

There was a problem at the server end and the mails were not getting delivered..I thought i was doing a mistake.Checked with the admin team and got it resolved.
...
17,333
Posted By borncrazy
Hi, I am using Linux. I just need to...
Hi,

I am using Linux.

I just need to send a text message...Nothing else...
Forum: Red Hat 07-19-2004
40,778
Posted By borncrazy
Hi, I got this working, but not sure how...
Hi,

I got this working, but not sure how this worked. I deleted all the old keys and created new keys . Also checked the folder permission as Perderabo suggested. It works fine now without any...
17,333
Posted By borncrazy
Mail using bash script
Hi,

I am trying to write a script which emails the status of the job to the client. I am using bash script. I tried using mailx and the shell throws an error that 'command not found'. is mailx not...
Forum: Red Hat 07-18-2004
40,778
Posted By borncrazy
Perderabo This is my folder structure.. ...
Perderabo

This is my folder structure..

/home/ravala/.ssh

ravala and ssh are writable only by me. I dont have permissions to change the properties of home.

But still it prompts for...
Forum: Red Hat 07-17-2004
40,778
Posted By borncrazy
Passwordless login
Hey,

I am facing the same problem as you did. But using the -o option manully and trying also is not resolving the problem...

Any suggestions.....Basically, i got it working from machine A to...
20,795
Posted By borncrazy
Passwordless sftp
Hi,

I am trying to avoid the passowrd prompt while sftp between two servers. I am trying to sftp from A to B and also from B to A.

I was successful in generating the keys and uploading the...
Showing results 1 to 25 of 35

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