06-27-2005
I agree with bakunin.
To quote the rules:
Quote:
(9) Edit your posts if you see spelling or grammar errors (don't write in cyberchat or cyberpunk style). English only.
3 More Discussions You Might Find Interesting
1. What is on Your Mind?
Simple rules...
1. Guess who it is, the first person to get it posts the next picture, post your guess as a reply to this thread.
2. Wait for the person who posted the picture to confirm that you are correct before posting a new picture.
3. If the person who posted the picture does not answer... (268 Replies)
Discussion started by: reborg
268 Replies
2. UNIX for Advanced & Expert Users
hi all,
i have the test data file which is . seperated as below and i need sort it
EX data:
5.4.11.3
5.4.2.2
after sort result should look like
5.4.2.2
5.4.11.3
thanks in advance. (2 Replies)
Discussion started by: sudheer157
2 Replies
3. UNIX for Advanced & Expert Users
hi
i am writing an expect script to automate su command, my script goes like this...
#!/usr/local/bin/expect --
set password
set env_var
spawn su UNAME
expect "password:"
send "$password\r"
expect "env"
send "setenv PATHVAR $env_ver\r"
expect "env"
send "echo \$PATHVAR"
expect eof ... (2 Replies)
Discussion started by: sudheer157
2 Replies
LEARN ABOUT SUSE
shutdown
SHUTDOWN(2) Linux Programmer's Manual SHUTDOWN(2)
NAME
shutdown - shut down part of a full-duplex connection
SYNOPSIS
#include <sys/socket.h>
int shutdown(int sockfd, int how);
DESCRIPTION
The shutdown() call causes all or part of a full-duplex connection on the socket associated with sockfd to be shut down. If how is
SHUT_RD, further receptions will be disallowed. If how is SHUT_WR, further transmissions will be disallowed. If how is SHUT_RDWR, further
receptions and transmissions will be disallowed.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EBADF sockfd is not a valid descriptor.
ENOTCONN
The specified socket is not connected.
ENOTSOCK
sockfd is a file, not a socket.
CONFORMING TO
POSIX.1-2001, 4.4BSD (the shutdown() function call first appeared in 4.2BSD).
NOTES
The constants SHUT_RD, SHUT_WR, SHUT_RDWR have the value 0, 1, 2, respectively, and are defined in <sys/socket.h> since glibc-2.1.91.
SEE ALSO
connect(2), socket(2), socket(7)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-12-03 SHUTDOWN(2)