02-21-2009
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to know if there is a way to send unix commands thru FTP from a mainframe to kick off Autosys Jobs. I just need to send a command from the mainframe to UNIX and have UNIX execute that command. (2 Replies)
Discussion started by: skammer
2 Replies
2. UNIX for Dummies Questions & Answers
hi, can i have a unix like environment where i can do things like chmod, shell scripts and etc.. in redhat instead of the GUI that redhat ofters? (4 Replies)
Discussion started by: yls177
4 Replies
3. News, Links, Events and Announcements
http://www.computerhope.com/unix.htm
http://www.linuxdevcenter.com/linux/cmd/ (0 Replies)
Discussion started by: devotedsinner
0 Replies
4. Shell Programming and Scripting
This is my first time using this forum. My question is simple. I need a book that has the commands code for Linux, if there is such a book, of course.
Thank you (1 Reply)
Discussion started by: ropapi
1 Replies
5. UNIX for Dummies Questions & Answers
I'm working on further developing my Unix skills and I'm just curious what some of the experienced admins out there would consider to be 10 essential commands every admin should know. (12 Replies)
Discussion started by: Arkitech
12 Replies
6. Shell Programming and Scripting
I have many files with info about soft, installed on remote machines.
I need to compare this file with template (soft than must be installed) and output file must content info about software that's not installed.
template.txt
software_name1
software_name2
software_name3.1
... (14 Replies)
Discussion started by: cintlt
14 Replies
7. UNIX for Dummies Questions & Answers
Hi All
I have found that few basic commands in unix have the same syntax in linux as well. I need those commands which differ on Linux platform, with some more advanced options..
For example... awk, sed, tr ... and some more commands with advanced options. I am trying to search on the linux... (1 Reply)
Discussion started by: vee_789
1 Replies
8. UNIX for Beginners Questions & Answers
Hi all,
I'm new to UNIX world and new to this forum. As I observed there are lot of commands that needs to be remembered in UNIX programming. I'm into DevOps and can anyone please tell me what are all the important commands that are useful for DevOps Engineer.
NOTE: Please correct me if my... (3 Replies)
Discussion started by: maxlink
3 Replies
LEARN ABOUT LINUX
geteuid32
GETUID(2) Linux Programmer's Manual GETUID(2)
NAME
getuid, geteuid - get user identity
SYNOPSIS
#include <unistd.h>
#include <sys/types.h>
uid_t getuid(void);
uid_t geteuid(void);
DESCRIPTION
getuid() returns the real user ID of the calling process.
geteuid() returns the effective user ID of the calling process.
When a normal program is executed, the effective and real user ID of the process are set to the ID of the user executing the file. When a
set ID program is executed the real user ID is set to the calling user and the effective user ID corresponds to the set ID bit on the file
being executed.
ERRORS
These functions are always successful.
CONFORMING TO
POSIX.1-2001, 4.3BSD.
NOTES
History
In Unix V6 the getuid() call returned (euid << 8) + uid. Unix V7 introduced separate calls getuid() and geteuid().
SEE ALSO
getresuid(2), setreuid(2), setuid(2), credentials(7)
COLOPHON
This page is part of release 3.27 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 1993-07-23 GETUID(2)