08-20-2013
BUMP - Interested in knowing the answer to this
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
i have two files
cat input.txt
123456| 43256
456482|5893242
cat data.txt
xv 123456 abcd dsk
sd 123456 afsfn dd
df 43256 asdf ff
ss 456482 aa
sf 5893242 ff ff
aa 5893242 aa aa
i need to read inputs from input.txt and find data for data.txt.
then i need to print them as a... (2 Replies)
Discussion started by: windows
2 Replies
2. Shell Programming and Scripting
hi all,
i have a while loop which i am using to read lines into an array:
k=0
exec 10<file
while read LINE <&10; do
ARRAY=$LINE
((k++))
done
exec 10>&-
echo ${ARRAY}
for some reason when i display the array it is not showing the last row in the file.
any help appreciated. (1 Reply)
Discussion started by: npatwardhan
1 Replies
3. Shell Programming and Scripting
I'm trying to run a set of commands on a remote machine using ssh in a shell script. One of the commands is unzip. But when the execution reaches this command, the script fails with an error that unzip is not found. Below is the code and the error snippet.
sourceDir=$1 ; filename=$3 ; destDir=$2... (4 Replies)
Discussion started by: farahzaiba
4 Replies
4. Shell Programming and Scripting
i have a script like below, i am trying to print "...." until a background process that was executed before is running,, the below does work and teh loop keeps on printing "..", can someone help where i am wrong.
/tmp/test/abc.sh &
until
do
echo "..\c"
done
abc.sh is the scipt... (8 Replies)
Discussion started by: yesmani
8 Replies
5. Shell Programming and Scripting
I'm trying to write a script using expect. I'd like the script to execute several commands when the ssh succeeds and i want it to exit if the ssh fails. Does this require to define a time out for the ssh command so that if the prompt is back before this defined time the next commands are executed??... (2 Replies)
Discussion started by: Hossam_Nox
2 Replies
6. Ubuntu
Unable to set ssh passwordless authentication
I am unable to ssh with passwordless authentication from Windows client onto UBuntu server. The ssh version on UBuntu is OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e , while SSH on Windows Client is OpenSSH_5.1p1, OpenSSL 0.9.8k. I turned on ssh... (5 Replies)
Discussion started by: tkota
5 Replies
7. Shell Programming and Scripting
Hi,
I am triggering a windows exe file using the below command.
ssh user@remoteserver command.exe -option1:xx /option2:yy
This command is working fine from windows command prompt. When I am triggering the same command from ssh I get the error message cant load
Any ideas to deal with... (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies
8. Shell Programming and Scripting
I have a constraint to follow organization policy. So i do not have much liberty.
ssh -i /opt/nonprod user1@hostone -t bash works while ssh -i /opt/nonprod -t bash user1@hostone fails
How can I get this to work when I am enforced to put -t bash before the user@hostname ?
Will share debug... (3 Replies)
Discussion started by: mohtashims
3 Replies
9. Shell Programming and Scripting
I have two users on dest_host server viz wlsadm & wasadm.
From src_host server with root user I m able to passwordless login to wlsadm@dest_host however, the same fails for wasadm@dest_host
Below is the debug for both first the working ssh and then the non-working ssh.
Works:
... (6 Replies)
Discussion started by: mohtashims
6 Replies
10. Shell Programming and Scripting
I have two linux servers viz 12.7.44.18 and 12.7.45.18
I wish to ssh from both these server to a destination AiX server 12.7.33.18
The ssh works from 12.7.44.18 -> 12.7.33.18 but fails from 12.7.45.18 -> 12.7.33.18
The openssl version on both linux source 12.7.44.18 and 12.7.45.18 is the... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT DEBIAN
exosip2_options
eXosip2 OPTIONS and UA capabilities Management(3) libeXosip2 eXosip2 OPTIONS and UA capabilities Management(3)
NAME
eXosip2 OPTIONS and UA capabilities Management -
Functions
int eXosip_options_build_request (osip_message_t **options, const char *to, const char *from, const char *route)
int eXosip_options_send_request (osip_message_t *options)
int eXosip_options_build_answer (int tid, int status, osip_message_t **answer)
int eXosip_options_send_answer (int tid, int status, osip_message_t *answer)
Detailed Description
Function Documentation
int eXosip_options_build_request (osip_message_t **options, const char *to, const char *from, const char *route)
Build a default OPTIONS message.
Parameters:
options Pointer for the SIP request to build.
to SIP url for callee.
from SIP url for caller.
route Route header for INVITE. (optional)
int eXosip_options_send_request (osip_message_t *options)
Send an OPTIONS request.
Parameters:
options SIP OPTIONS message to send.
int eXosip_options_build_answer (inttid, intstatus, osip_message_t **answer)
Build answer for an OPTIONS request.
Parameters:
tid id of OPTIONS transaction.
status status for SIP answer to build.
answer The SIP answer to build.
int eXosip_options_send_answer (inttid, intstatus, osip_message_t *answer)
Send answer for an OPTIONS request.
Parameters:
tid id of OPTIONS transaction.
status status for SIP answer to send.
answer The SIP answer to send. (default will be sent if NULL)
Author
Generated automatically by Doxygen for libeXosip2 from the source code.
Version 3.1.0 Sun Jun 24 2012 eXosip2 OPTIONS and UA capabilities Management(3)