10-27-2011
Linux will run on almost anything, HPUX is much more picky. It's also expensive and not easy to get. This may be more useful as an HPUX educational machine, while it lasts.
If you're interested in UNIX administration, learning to deal with it without the GUI is a good idea. Sadly I don't know where to begin with HPUX, never having touched one myself.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello i am new to this forum. I signed up here really to ask one question. I recentaly got a old unix server from my work and i never really understood what unix is or what is does. Dont get me wrong i and very smart with computers as long as its windows, mac, or linux i can use them all but i... (4 Replies)
Discussion started by: alt+f4
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all, This is my first post.
I am a complete noobie to the UNIX OS, I have an iMac G5 with the unix shell built in and am interested in learning how to use it to do things useful with it, but have no idea where to start. I have read over the basic commands but they haven't helped me much yet.... (3 Replies)
Discussion started by: avdrummerboy
3 Replies
3. Shell Programming and Scripting
Hi all,
I am trying to write a shell script that will move files from one directory to another, the only thing is I want to to check loads of different source directory and move the files to loads of different directories.
I am totally new to shell scripts but not to UNIX (although I would... (16 Replies)
Discussion started by: Sax
16 Replies
4. UNIX for Dummies Questions & Answers
This is my first time in this forum so, Hello to all!!!
I have been supporting windows based machines for a few years now and I have been writing batch files to do certain tasks for what seems like an age.
I've recently started a new job (as it support) and my new colleagues have said,... (2 Replies)
Discussion started by: Blastman
2 Replies
5. Linux
i'm having trouble putting together a program :( any help would be much appreciated!
Write a Shell Program to automate the process of collecting assignments from the directories of students of any specified class.
The person running the program should be able to pass a parameter to the... (1 Reply)
Discussion started by: ace_face
1 Replies
6. UNIX for Dummies Questions & Answers
This may seem really easy to alot of you but i am a real noob on unix.
I have been set the task to make a script which will answer a query.
Basically I will have made files for people and i want to be able to search for a persons file and then select certain variables from the files. e.g... (7 Replies)
Discussion started by: bobtheb
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
8. BSD
I'm a Linux guy who is tring out BSD for the first time...
What is the BSD program to automatically fetch and and install software?
Is it pkg_add? Will pkg_add automatically fetch and and install software? Does it work on all BSD variants?
This is all I could find, but I wanted to make... (5 Replies)
Discussion started by: biznatch
5 Replies
9. UNIX for Dummies Questions & Answers
So... I'm using lynx on a Mac... I didn't know that the whole dang thing is in Terminal? I rarely use terminal. I can't even figure out how to start the thing up. I type in lynx into it and press enter... And the cursor just goes down. Nothing happens like the FAQ websites describe. I feel so... (6 Replies)
Discussion started by: yennster
6 Replies
10. What is on Your Mind?
A long time ago, my computer crashed, at that time, I was using Windows98, but
because I was a noob at computers, my friend recommended me apro to fix it for me.
He came, saw the computer, and asked if I had a backup/installation disk
for Windows 98. I said no.
He thought about it for a... (1 Reply)
Discussion started by: vistastar
1 Replies
LEARN ABOUT REDHAT
clearenv
CLEARENV(3) Library Functions Manual CLEARENV(3)
NAME
clearenv - clear the environment
SYNOPSIS
#include <stdlib.h>
int clearenv(void);
DESCRIPTION
The clearenv() function clears the environment of all name-value pairs and sets the value of the external variable environ to NULL.
RETURN VALUE
The clearenv() function returns zero on success, and a non-zero value on failure.
AVAILABILITY
Not in libc4, libc5. In glibc since glibc 2.0.
CONFORMING TO
Various Unix variants (DGUX, HPUX, QNX, ...). POSIX.9 (bindings for FORTRAN77). POSIX.1-1996 did not accept clearenv() and putenv(), but
changed its mind and scheduled these functions for some later issue of this standard (cf. B.4.6.1). However, SUSv3 only adds putenv(), and
rejected clearenv().
NOTES
Used in security-conscious applications. If it is unavailable the assignment
environ = NULL;
will probably do.
The DGUX and Tru64 manpages write: If environ has been modified by anything other than the putenv(), getenv(), or clearenv() functions,
then clearenv() will return an error and the process environment will remain unchanged.
SEE ALSO
getenv(3), putenv(3), setenv(3), unsetenv(3), environ(5)
Linux Programmer's Manual 2001-10-17 CLEARENV(3)