Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Just trying to find out a few things .... Post 302211473 by jim mcnamara on Thursday 3rd of July 2008 12:08:38 PM
Old 07-03-2008
The original UNIX from Bell Labs was provided free on a tape. Later on the OS diverged into different directions, like BSD or System V. During the late 80's and early 90's the OS releases became very proprietary - Sun had one, Hewlett Packard another, and so on. This proliferation of UNIX systems also is known as flavors.

Things are opening up in part because of the open source movement. So, everyone realized that having different commands (or C functions) for the same thing or commands with the same name with different behaviors was a bad thing. So we have an alphabet soup of proposed standards.

Currently, POSIX standards are the one most OS developers try to follow. This means that development is easier when you have to write the same code for Solaris, HPUX, and Linux.

The reason we have to know what OS we are talking about is that some have "bizarre"
features. If we give an answer without knowing which flavor, we may give a bad answer. The Solaris version of awk is an example of a kind of bizarre version of a UNIX tool, for example.


Maybe try downloading knoppix, it is smaller than some others. Damn Small Linux is smallest UNIX meant for desktops ~50MB.
DSL information

The download time is a function of your connection speed. If you are at dialup speeds something like knoppix will take overnight. 1.5Mb DSL connection maybe several hours.
 

5 More Discussions You Might Find Interesting

1. Programming

Complicating things?

So basically what im trying to do is ... Open file, read that file, than try to find .. We or we and replace them with I, but not replace the cases where words contain We or we, such as Went, went, etc a and replace them with the, but not replace the cases where words contain a, such as... (1 Reply)
Discussion started by: bconnor
1 Replies

2. Programming

Question about several things in C

Hey guys, first of all I'd like to say Hi to everyone. I am new here and this is my first post. I have a question about some C stuff. I am in Computer Science and I have an assignment for a UNIX Applications course. It is really complicated, however. We're using the C language for this and... (1 Reply)
Discussion started by: V4D3R
1 Replies

3. Shell Programming and Scripting

moving cursor up and other things

Hi guys, this is how my script looks like so far: height=$(($(tput lines) -2)) echo 'Owner Group Other Filename' echo '----- ----- ----- --------' echo cd $directory path=$(pwd) levels=0 level=$(($(echo $path | tr '/' ' ' | wc -w) +1)) for dir in / $(echo $path |... (2 Replies)
Discussion started by: darkhider
2 Replies

4. UNIX for Dummies Questions & Answers

things root can't do

Hey all my co-workers and I are trying to put together a list of things root "Can't" do on any *NIX OS, so I wanted to come here and see what all we could come up with. Here are two to start this off: write to a read only mount FS kill a tape rewind Please add what you know. Thanks,... (5 Replies)
Discussion started by: sunadmn
5 Replies

5. UNIX for Advanced & Expert Users

Redirection? (I do find some of the strangest things.)

(Apologies for any typos.) Can someone help me with this one please. I am writing a snippet that will come on here soon to work on OSX, Linux and CygWin but I hit this! I hope this is lucid enough because I really do not understand what is going on. Take these few lines:- #!/bin/sh # OR... (6 Replies)
Discussion started by: wisecracker
6 Replies
getgid(2)							System Calls Manual							 getgid(2)

NAME
getgid, getegid - Gets the process group ID SYNOPSIS
#include <unistd.h> gid_t getgid (void); gid_t getegid (void); Application developers may want to specify an #include statement for <sys/types.h> before the one for <unistd.h> if programs are being developed for multiple platforms. The additional #include statement is not required on Tru64 UNIX systems or by ISO or X/Open standards, but may be required on other vendors' systems that conform to these standards. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: getgid(), getegid(): POSIX.1, XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags. DESCRIPTION
The getgid() function returns the real group ID of the calling process. The getegid() function returns the effective group ID of the calling process. The real group ID is specified at login time. The effective group ID is more transient, and determines additional access permission during execution of a ``set-group-ID'' process. It is for such processes that the getgid() function is most useful. RETURN VALUES
The getgid() and getegid() functions return the requested group ID. They are always successful. RELATED INFORMATION
Commands: groups(1) Functions: getgroups(2), initgroups(3), setgroups(2), setregid(2) Standards: standards(5) delim off getgid(2)
All times are GMT -4. The time now is 10:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy