01-23-2002
You can use the "-f" flag to rm to automatically override this message.
This User Gave Thanks to PxT For This Post:
10 More Discussions You Might Find Interesting
1. IP Networking
Hi
My computer of late started misbehaving. Whenever I switch it on
It say Override and then it takes long to boot. Surprising is that it opens excel automatic. What could be that? (1 Reply)
Discussion started by: Mulo
1 Replies
2. AIX
When the aix date function is called by a routine, is the date function 'aware' of the name of the routine that is calling it, such that if we had the source code of the date function, we could modify it so that it provides a date to the caller depending upon the identity of the calling routine.... (1 Reply)
Discussion started by: gerry shacter
1 Replies
3. Programming
hi ,
greetings ,
I have one doubt reg the C functions .
I have a program sample.c , in which i have function name scanf , which reads a a variable and prints the variable inside the function .
this scanf is nothing to do with C library function scanf , but i would like to use only user... (1 Reply)
Discussion started by: naren_chella
1 Replies
4. Programming
I would like to override the default profile which is loaded when the system starts or When I run a program so that profile should get loaded in the settings.
Is there any system call to do so.
. (0 Replies)
Discussion started by: mobile01
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm trying to figure out the logic of my user shell and root shell :confused:
This might be best illustrated with an example.
If I log into the linux host I'm using and run the following:
-bash-3.2$ which python
/usr/local/bin/python
I now run sudo bash to become root and run the... (2 Replies)
Discussion started by: cuchulainn
2 Replies
6. Shell Programming and Scripting
Hi pls help me out to short out this problem
rm PAB113_011.out
rm: PAB113_011.out: override protection 644 (yes/no)? n
If i give y it remove the file.
But i added the rm command as a part of ksh file and i tried to remove the file. Its not removing and the the file prompting as... (9 Replies)
Discussion started by: sri_aue
9 Replies
7. Shell Programming and Scripting
Hello All,
I am working on a project where the requirement is override mailx command in such way that, instead of sending mailing to email addresses coded in codes, it should send mails to one common email address at run time.
We do not intend to change the email addresses in codes.
This... (7 Replies)
Discussion started by: shubh05
7 Replies
8. Shell Programming and Scripting
Hi,
When I login to my HP-UX and fire the "set" command I see that the weblogic 9.2 classpath is already set.
However, I wish to override the classpath to weblogic version 10.3
I have a script call setWLSEnv.sh that has the desired classpath.
Thus, in my unix script i write
.... (6 Replies)
Discussion started by: mohtashims
6 Replies
9. Shell Programming and Scripting
Hi All,
I'm using Ksh 88 version.
I'm trying to remove the files using the below script .The code is working fine but i'm getting override protection 644 (yes/no)?
message for every file .. Pelase suggest
#!/usr/bin/ksh
set -x
File_Path="/etc/home/logs"
Dest_Path="/etc/home/temp"... (1 Reply)
Discussion started by: smile689
1 Replies
10. Shell Programming and Scripting
Hello ,
I have to override the last line of a text file in unix
I know one way is to delete and insert however I am looking for a one liner.
Could anyone help me to write it?
below is the code I have come up with
sed '$d' /ParmFiles/test2_parm.dat>/ParmFiles/temp_pra.dat;
cat... (1 Reply)
Discussion started by: Pratik4891
1 Replies
LEARN ABOUT CENTOS
sctp_sendmsg
SCTP_SENDMSG(3) Linux Programmer's Manual SCTP_SENDMSG(3)
NAME
sctp_sendmsg - Send a message from a SCTP socket.
SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
int sctp_sendmsg(int sd, const void * msg, size_t len,
struct sockaddr *to, socklen_t tolen,
uint32_t ppid, uint32_t flags,
uint16_t stream_no, uint32_t timetolive,
uint32_t context);
DESCRIPTION
sctp_sendmsg is a wrapper library function that can be used to send a message from a socket while using the advanced features of SCTP. sd
is the socket descriptor from which the message pointed to by msg of length len is sent. to is the destination address of the message and
tolen is the length of the destination address. stream_no identifies the stream number that the application wishes to send this message
to. flags parameter is composed of a bitwise OR of the following values.
SCTP_UNORDERED
This flags requests the un-ordered delivery of the message.
SCTP_ADDR_OVER
This flag, in the one-to-many style, requests the SCTP stack to override the primary destination address with address specified in
to.
SCTP_ABORT
Setting this flag causes the specified association to abort by sending an ABORT message to the peer(one-to-many style only). The
ABORT chunk will contain an error cause 'User Initiated Abort' with cause code 12. The cause specific information of this error
cause is provided in msg.
SCTP_EOF
Setting this flag invokes the SCTP graceful shutdown procedure on the specific association(one-to-many style only).
timetolive specifies the time duration in milliseconds. The sending side will expire the message if the message has not been sent to the
peer within this time period. A value of 0 indicates that no timeout should occur on this message. ppid is an opaque unsigned value that
is passed to the remote end along with the message. context is a 32 bit opaque value that is passed back to the upper layer along with the
undelivered message if an error occurs on the send of the message.
RETURN VALUE
On success, sctp_sendmsg returns the number of bytes sent or -1 if an error occurred.
SEE ALSO
sctp(7) sctp_bindx(3), sctp_connectx(3), sctp_send(3), sctp_recvmsg(3), sctp_peeloff(3), sctp_getpaddrs(3), sctp_getladdrs(3),
sctp_opt_info(3),
Linux 2.6 2004-10-25 SCTP_SENDMSG(3)