Search Results

Search: Posts Made By: sam_roy
1,491
Posted By sam_roy
Thanks. This does the trick!! ----------...
Thanks. This does the trick!!

---------- Post updated at 07:09 AM ---------- Previous update was at 01:32 AM ----------



I had to make a small change - terminate the \Q with a \E before the...
1,491
Posted By sam_roy
Thanks for the response. it surely does do the...
Thanks for the response. it surely does do the job at hand. however this is a simplified scenario. Actually i need to replace positions 255 and above, which is not identified using sed. and this...
1,491
Posted By sam_roy
Need help with regex groups
I have a requirement - replace specified positions in a string with a character. I found perl regex useful for this approach. however, I am facing the following issue.

The target file 'temp'...
9,134
Posted By sam_roy
Thanks a ton guys.. I used the $$... It works...
Thanks a ton guys.. I used the $$... It works wonders!
9,134
Posted By sam_roy
pidof is not found... I am trying this on HP-UX...
pidof is not found... I am trying this on HP-UX Version 11/16/88

Please provide some info.
9,134
Posted By sam_roy
Error while using getpid() is shell script
Hi,

I am trying to use getpid() in a k-shell script. However, the script is crashing as it is unable to recognise it as a function.

Please guide me on how to use it inside a shell script.
Forum: Solaris 10-08-2008
3,753
Posted By sam_roy
The machine1 is a windows machine. I am unable to...
The machine1 is a windows machine. I am unable to use ssh from widows
Forum: Solaris 10-08-2008
3,753
Posted By sam_roy
To invoke a script on a remote machine
Hi,

I am trying the following-

1. ftp a file from machine1 to machine2.
2. Once the ftp is done, from machine1 invoke a shell script on machine2.

Could anyone please help me on this?
2,498
Posted By sam_roy
#!/bin/sh HOST='directoryofserver2' ...
#!/bin/sh
HOST='directoryofserver2'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'

ftp -m $HOST >> END_SCRIPT
quote user $user
quote pass $passwd
put $file
END_SCRIPT
EXIT 0

I think you...
4,458
Posted By sam_roy
Thanks, I'll try the same... :)
Thanks,

I'll try the same... :)
4,458
Posted By sam_roy
To Change the user during runtime
Hi,

I have a requirement to change the user during runtime within a shell script. Is their any way via which I can change the user by prefeeding the password?

Please reply.

Thanks.
33,225
Posted By sam_roy
Hi, If your search criteria exists as the...
Hi,

If your search criteria exists as the first field, like as in the example you stated the lin to be searched for is of the form

@@@@ 10 jghdjksghrs

then you may use the following

for...
Showing results 1 to 12 of 12

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