07-25-2008
To determine which ports are open on your machine, take a look at nmap which will probe all the open ports on your machine. Good luck.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This is my first post here, so I thought Id make it good. I am building a webserver that will be up in a month or so, so I am starting now. I was wondering, since I am on the fence here, should I go with Red hat or BSD? I am comfortable with both, I can run apache on either one, but I am wondering... (4 Replies)
Discussion started by: advok8
4 Replies
2. UNIX for Dummies Questions & Answers
i am installing FREEBSD and I would like to know which hardware specific network card that works and help with this would be great I am very new to this (UNIX) (1 Reply)
Discussion started by: BSD_NEWUSER
1 Replies
3. UNIX for Dummies Questions & Answers
I'm very new to UNIX and just istalled FreeBSD on my computer. I using the KDE desktop and the resolution is horrible. How do I adjust this. (3 Replies)
Discussion started by: mbrouder
3 Replies
4. UNIX for Dummies Questions & Answers
Hello folks, I'm very new to Unix so please bear with me.
I have a FreeBSD 5.1 box on IP address 192.168.1.4 and I want to tell it to use my broadband router (192.168.1.1) as it's default gateway. Could someone tell me how to do this?
I did search these forums first but could not find... (1 Reply)
Discussion started by: SRP
1 Replies
5. BSD
so, i have a video card SIS s315 AGP and i can't cofigure X Free on free BSD to run X window.
Anybody can help me solve this problem?? (2 Replies)
Discussion started by: Dmitri-br
2 Replies
6. BSD
Can anyone help me ?
I have installed Free BSD several times and I can't get the X window to work . I have installed the ports Gnome and others but for some reason when I type start x doesn't work.
I downloaded the 3 i386 disks but I get to install the first one wich complete the setup and... (3 Replies)
Discussion started by: skyhawkfly
3 Replies
7. UNIX for Dummies Questions & Answers
Hi!
I'm planning to start to set up a Webserver. All software has to be freeware.
I'm also planning to use Free BSD/UNIX for this project.
Apache as Webserversystem and so on...
Therefor I would like to have some info about what kind of hardware I need.
I'm planning to buy a computer... (9 Replies)
Discussion started by: kargooliw
9 Replies
8. BSD
Hello friends. I am new to Unix although i am very flexible to any programming language. i was a window user. Now, no more. I have decided myself to switch to unix.
Here is my problem:
I burned the free BSD into my new RW CD's. I inserted the bootable manager first then, it was scanning and... (5 Replies)
Discussion started by: bonjour2006
5 Replies
9. UNIX and Linux Applications
hi there, I am trying to create a stored procedure that i can pass the table name to and it will create a table with that name. but for some reason it creates with what i have defined as the variable name . In the case of the example below it creates a table called 'tname'
for example
... (6 Replies)
Discussion started by: rethink
6 Replies
10. BSD
Hello all
When I insert my USB , its says : umass0 detected . I want to ls files present in the USB.
I tried
mount -t msdosfs /dev/da0s1 /mnt
Whats is dev/da0s1 ?????
How can I mount it to use it ?
Regards (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
dup(2) System Calls dup(2)
NAME
dup - duplicate an open file descriptor
SYNOPSIS
#include <unistd.h>
int dup(int fildes);
DESCRIPTION
The dup() function returns a new file descriptor having the following in common with the original open file descriptor fildes:
o same open file (or pipe)
o same file pointer (that is, both file descriptors share one file pointer)
o same access mode (read, write or read/write).
The new file descriptor is set to remain open across exec functions (see fcntl(2)).
The file descriptor returned is the lowest one available.
The dup(fildes) function call is equivalent to:
fcntl(fildes, F_DUPFD, 0)
RETURN VALUES
Upon successful completion, a non-negative integer representing the file descriptor is returned. Otherwise, -1 is returned and errno is set
to indicate the error.
ERRORS
The dup() function will fail if:
EBADF The fildes argument is not a valid open file descriptor.
EINTR A signal was caught during the execution of the dup() function.
EMFILE The process has too many open files (see getrlimit(2)).
ENOLINK The fildes argument is on a remote machine and the link to that machine is no longer active.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
close(2), creat(2), exec(2), fcntl(2), getrlimit(2), open(2), pipe(2), dup2(3C), lockf(3C), attributes(5), standards(5)
SunOS 5.10 28 Dec 1996 dup(2)