Sponsored Content
Full Discussion: Learning UNIX
Top Forums UNIX for Dummies Questions & Answers Learning UNIX Post 91454 by blowtorch on Friday 2nd of December 2005 09:26:39 AM
Old 12-02-2005
Welcome to the unix forums! And the practical way is the best. Start off with some scripting. Get a few books and get coding.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Learning Unix

Hello one and all I am a Prof in a University in France and have been handed the "Unix" course and would like to know if anyone has a ready made course to propose to me for beginners, my students are in t heir first year and a few are ok with Unix, however i would like to find a detailed "lesson... (1 Reply)
Discussion started by: garydavies
1 Replies

2. UNIX Desktop Questions & Answers

Learning Unix , Advice?

I am a long-time Windows NT, 2000 user at home and work. I want to learn Unix to broaden myself. What flavor do you recommend and how do you recommend practicing with it at home? how to get a copy of it to practice with? (1 Reply)
Discussion started by: robmaxfli
1 Replies

3. UNIX for Dummies Questions & Answers

Is learning Unix worth it?

Hello. I am a comp sci major and am forced to take a intro to Unix class. So far i am loving it. I was wondering is it useful to learn more off on my own? Will it have any use to me when i get a job after school is done? Same applies to Perl Sed and Awk? (5 Replies)
Discussion started by: smiledk1
5 Replies

4. UNIX for Dummies Questions & Answers

where to obtain UNIX and learning on a UNIX variant?

Hi. I've just started to get into UNIX. Researched on the Net, found out that most of the UNIX variants are not offered online. 1. Any of you guys know where I could obtain them on the Net? or anywhere at all? 2. Does learning a UNIX variant enough to cover an understanding of other UNIX... (6 Replies)
Discussion started by: ninelives1980
6 Replies

5. What is on Your Mind?

Learning UNIX

Alright I am looking to further my knowledge and experiance with computers (Currently a PC technician but not much knowledge with other operating systems like unix/linux). What im trying to do now is get a basic understanding of unix and its commands, unix shells, the unix directory structure, and... (5 Replies)
Discussion started by: Rycon
5 Replies

6. UNIX for Dummies Questions & Answers

Learning Unix

Hi all, and thanks for viewing this thread. I have never used the terminal (UNIX) before, not until I read an introductory book about it: Unix for Mac OS X Tiger. Now I've become intrigued, and I want to uncover more of the mysteries of Unix. I've searched and searched, but there are many books... (5 Replies)
Discussion started by: Hin
5 Replies

7. UNIX for Advanced & Expert Users

I am learning UNIX and

I am wondering, is there a core book or instruction DVD that I can learn from and be functional in UNIX with. I know a lot of the basic commands and I just figured out how to create a file but, I want to be able to handle this with no problem. (3 Replies)
Discussion started by: MOSE
3 Replies

8. UNIX for Dummies Questions & Answers

learning unix

Hi, i have started to learn unix (on and off for the past few months) and am wishing to move into that area in the administration field of it. I have been working in the help desk area (desktop support - windows based) for about 2.5 years and moved into a team leading role for 1 year in which i... (1 Reply)
Discussion started by: donnieDarko
1 Replies

9. UNIX for Dummies Questions & Answers

Learning UNIX

Hi Everyone, I know nothing about Solaris / Linux / AIX but I know they are all part of Unix. I have been using Windows the last 15years and I have been a LAN admin, I am now working in IT Operations and we use some solaris commands but not much plus its from following a document so we can't... (1 Reply)
Discussion started by: maxie
1 Replies

10. What is on Your Mind?

Learning UNIX

Hi Guys , Hope everybody is fine . I am here to learn UNIX . Please provide any URLs/pdfs for learning . Thanks in advance. -Radha ---------- Post updated at 07:59 PM ---------- Previous update was at 07:48 PM ---------- Just to add , I am good at basics but unable to write scripts... (4 Replies)
Discussion started by: radha254
4 Replies
GETPEEREID(3)						   BSD Library Functions Manual 					     GETPEEREID(3)

NAME
getpeereid -- get the effective credentials of a UNIX-domain peer LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <unistd.h> int getpeereid(int s, uid_t *euid, gid_t *egid); DESCRIPTION
The getpeereid() function returns the effective user and group IDs of the peer connected to a UNIX-domain socket. The argument s must be a UNIX-domain socket (unix(4)) of type SOCK_STREAM on which either connect(2) or listen(2) have been called. The effective used ID is placed in euid, and the effective group ID in egid. The credentials returned to the listen(2) caller are those of its peer at the time it called connect(2); the credentials returned to the connect(2) caller are those of its peer at the time it called listen(2). This mechanism is reliable; there is no way for either side to influence the credentials returned to its peer except by calling the appropriate system call (i.e., either connect(2) or listen(2)) under different effective credentials. One common use of this routine is for a UNIX-domain server to verify the credentials of its client. Likewise, the client can verify the cre- dentials of the server. IMPLEMENTATION NOTES
On FreeBSD, getpeereid() is implemented in terms of the LOCAL_PEERCRED unix(4) socket option. RETURN VALUES
The getpeereid() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi- cate the error. ERRORS
The getpeereid() function fails if: [EBADF] The argument s is not a valid descriptor. [ENOTSOCK] The argument s is a file, not a socket. [ENOTCONN] The argument s does not refer to a socket on which connect(2) or listen(2) have been called. [EINVAL] The argument s does not refer to a socket of type SOCK_STREAM, or the kernel returned invalid data. SEE ALSO
connect(2), getpeername(2), getsockname(2), getsockopt(2), listen(2), unix(4) HISTORY
The getpeereid() function appeared in FreeBSD 4.6. BSD
July 15, 2001 BSD
All times are GMT -4. The time now is 07:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy