10-14-2007
dang,
i should have lied about my intentions like the other posts i saw on the internet....
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good morning.
I am using RedHat shell. when running the .out file of a program I wrote, I cannot see a terminal with the outputs. I know that the program runs, because the files to be changed are changed.
how can I see the terminal (As I see it in windows)?
Thanks,
Ido. (2 Replies)
Discussion started by: ginodii
2 Replies
2. Linux
hi
i need to put the full path of every executable i need to put on my script. on the testing you don't need it but if it's running from cron you need to put the full path of the executable or another script.
what's the work around for this?
Thanks. (1 Reply)
Discussion started by: itik
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have this script
#!/bin/bash
cat status.txt | while read LINE
do
linija="$LINE"
echo $linija
echo $linija | awk '{print $1}' > temp.txt
koj=`tail -1 temp.txt`
echo $koj
echo $linija | awk '{print $2}' > temp1.txt
kolku=`tail... (7 Replies)
Discussion started by: Ruzeil
7 Replies
4. Red Hat
Hi all,
-------------------------
Linux OS Version/Release:
-------------------------
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I have a server that hosts 30+ Oracle... (1 Reply)
Discussion started by: newbie_01
1 Replies
5. Red Hat
Hello,
I'm a Solaris Admin by trade and we are getting more Linux server in. I was wondering what command Red Hat uses for hardware faults?
lets say you see the fault light on the server what command do you use to see what the fault is?
for example the Solaris command is fmadm faulty. this... (11 Replies)
Discussion started by: bitlord
11 Replies
6. Shell Programming and Scripting
We are changing our OS from HP-Unix 11 to Linux Red Hat. We have few k- shell, c - shell and sql scripts which are currently running under HP-Unix 11. Will these scripts work on LINUX as it is? or we need to do any code changes?IS there anyone who have done this kind of migration before?Thanks for... (2 Replies)
Discussion started by: Phoenix2
2 Replies
7. Shell Programming and Scripting
Are basic scripts in awk or bash or perl or other shell scripting languages the same in RHEL red hat as ubuntu? (1 Reply)
Discussion started by: cmccabe
1 Replies
8. UNIX for Beginners Questions & Answers
Hi All,
I am getting below error when I try to connect with ssh. Not sure why the error is on.I am able to connect from a different login from the same server
(local: rhe/home/s3>) ssh acces1@91.1.12.102
Connection closed by 91.1.12.102
(local: rhe/home/s3>) ssh redhlinx102
Connection... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
9. UNIX for Beginners Questions & Answers
Hello Forum,
I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
inet(7F) inet(7F)
NAME
inet - Internet protocol family
SYNOPSIS
DESCRIPTION
The internet protocol family is a collection of protocols layered on top of the (IP) network layer, which utilizes the internet address
format. The internet family supports the SOCK_STREAM and SOCK_DGRAM socket types.
Addressing
Internet addresses are four byte entities. The include file defines this address as the structure
Sockets bound to the internet protocol family utilize an addressing structure called Pointers to this structure can be used in system calls
wherever they ask for a pointer to a
There are three fields of interest within this structure. The first is which must be set to AF_INET. The next is which specifies the port
number to be used on the desired host. The third is which is of type and specifies the address of the desired host.
Protocols
The internet protocol family is comprised of the IP network protocol, Internet Control Message Protocol (ICMP), Transmission Control Proto-
col (TCP), and User Datagram Protocol (UDP). TCP is used to support the socket type while UDP is used to support the socket type. The
ICMP message protocol and IP network protocol are not directly accessible.
The local port address is selected from independent domains for TCP and UDP sockets. This means that creating a TCP socket and binding it
to local port number 10000, for example, does not interfere with creating a UDP socket and also binding it to local port number 10000 at
the same time.
Port numbers in the range 1-1023 inclusive are reserved for use by the super-user only. Attempts to bind to port numbers in this range by
non-super-users fail and result in an error returned.
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
tcp(7P), udp(7P).
inet(7F)