10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am looking for a global variable found_flag to be set a value that can be accessed outside the loop anywhere in the bash shell script.
more test.sh
found_flag=0
searchdir=/web/bea_apps/applications
find . -type f \! -name tasty.tar | $AWK -F/ '{print $NF}' | while IFS=... (5 Replies)
Discussion started by: mohtashims
5 Replies
2. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
i have learned today that when you ftp a file with full write permissions (777) to another destination it loses the w options. so a file that was once -rwxrwxrwx(before FTP) is now -rw-r--r-- (after FTP). why does this happen? and is it configurable?
Regards, (8 Replies)
Discussion started by: brian112
8 Replies
4. UNIX Desktop Questions & Answers
I am searching for a string in a file and then redirecting the contents in another file... however the formatting is not preserved.. Can you please help me on this ... (5 Replies)
Discussion started by: blackeyed
5 Replies
5. UNIX for Dummies Questions & Answers
Hi
I try to copy part of text from one file to another file. My problem is the text in the new file loses all the format.
My code is:
#!/bin/sh
while red line
do
if
then
echo "$line" >> ./new_file
else
break
fi
done < "./old_file"
Is there a way to modify... (3 Replies)
Discussion started by: tiger99
3 Replies
6. Programming
i want to write a C programm.i want to read a 2-dimension array from a file and using the library <curses.h> i want to delineate to the monitor the array.the monitor must every 40ms being refresing.i want to use the setitimer() function to achive this.the array will be similar like above (2 Replies)
Discussion started by: nektarios4u
2 Replies
7. UNIX for Dummies Questions & Answers
Hi guys ...
I'm a noob to UNIX & Im stuck with this error "TCP/IP startup was not entirely successful" during startup of the box after "initialize -U " is run by the system. If i open netcfg, i cant see TCP/IP protocol anywhere only IPSX is visible.
This machine was running on another network... (0 Replies)
Discussion started by: renjithcb
0 Replies
8. Programming
hi all
i get a segmentation fault error in the following program. couldn't understand why it happens. can anyone explain what is really happening.
s1.c
#include<curses.h>
main(){
int c;
noecho();
cbreak();
c=getch();
printf("%c",(char)c);
}
I compiled this program as
cc s1.c... (2 Replies)
Discussion started by: bankpro
2 Replies
9. SCO
Hello,
I am having performance problem when , i ported a c code from Unixware 2.1 to Unixware 7.0.0.
My program establishes a synchornous connection with the client in a windows OS and then sends and receives messsages using the recv and send calls.
What i hyave noticed is that after a... (0 Replies)
Discussion started by: Amith
0 Replies
10. UNIX for Dummies Questions & Answers
hi i'd like to know how to draw a rectangle using the curses.h library, you know with all the WINDOW *newwin stuff and all
thanx!:) (1 Reply)
Discussion started by: chomano
1 Replies
tcp.h(3HEAD) Headers tcp.h(3HEAD)
NAME
tcp.h, tcp - definitions for the Internet Transmission Control Protocol (TCP)
SYNOPSIS
#include <netinet/tcp.h>
DESCRIPTION
The <netinet/tcp.h> header defines the following macro for use as a socket option at the IPPROTO_TCP level:
TCP_NODELAY Avoid coalescing of small segments.
The macro is defined in the header. The implementation need not allow the value of the option to be set with setsockopt() or retrieved with
getsockopt().
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
getsockopt(3XNET), socket.h(3HEAD), attributes(5), standards(5)
SunOS 5.10 10 Sep 2004 tcp.h(3HEAD)