9 More Discussions You Might Find Interesting
1. AIX
Hi Guys, I am new in this forum and new with AIX however not new with Power System. I have worked with iSeries for many years. Now supporting AIX on Power.
Here are some basic questions I have.
1. I am using Putty to connect from my PC to the AIX boxes. Is there any other (better) program to... (6 Replies)
Discussion started by: 300zxmuro
6 Replies
2. UNIX for Dummies Questions & Answers
I entered a command at the prompt and it's interactive (not background). It gathers some stats and writes them to a file. I want to see this job running and what it's doing - I/O especially and maybe CPU and stuff. What can do to see this (say using a second session?)
I know it's a long job but... (3 Replies)
Discussion started by: ido1957
3 Replies
3. Shell Programming and Scripting
Hi,
So I started to learn perl a few days ago, and I have some problems...
One of my problems...
#!C:\Perl64\bin\perl.exe -w
use LWP::Simple;
print "Content-Type: Text/Plain\n\n";
sub pagelinks {
return @all = get($_) =~ /href\s*=\s*"?(+)/gis;
}
@a =... (5 Replies)
Discussion started by: byte1918
5 Replies
4. Solaris
Hello everyone, I am brand spanking new to both Solaris and Unix. I thought I would give it a go after buying a SB2500 off ebay for a few hundred dollars.
I am having some issues that I am not sure how to correct, and I am wondering if I can get a few pointers?
The first one is that my system... (2 Replies)
Discussion started by: GeekMasterFlash
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I want to learn LISP, and I have a GNU/Linux OS. I first sought a LISP compiler/interpreter and was told that GNU Emacs has a LISP mode. But I couldn't get into LISP mode, nor I don't know how to use it when I get into LISP mode.
How can I run LISP code under GNU Emacs?
And if... (1 Reply)
Discussion started by: rayne
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Unix gurus,
I know these are some easy questions.
But i just want to be sure about them.
Hope someone can help explain the following please?
1) if ]
- What does the "-r" means?
2) isql -U $DBUSER -D $DBNAME -S $DSQUERY -w 1000 -s";" << testfile > $FILE
- What does the -s";" mean and... (1 Reply)
Discussion started by: gholdbhurg
1 Replies
7. Linux
I have been an apple customer for years now, and am not satisfied with the direction that they are going. So I just ordered my first PC notebook the other day. I have no desire to use windows, however with microsoft's hold on the market, I feel that I may have a hard time doing this. I want to... (2 Replies)
Discussion started by: Brycemb16
2 Replies
8. Shell Programming and Scripting
I am relatively new to both KSH and Unix scripting, and I would like some help getting my script up and running. I would like to have the script attempt various commands (tar, copy, gzip etc) and then write the results (error msg or success msg) to a temp file. I would then like an email sent to... (2 Replies)
Discussion started by: mharley
2 Replies
9. UNIX for Dummies Questions & Answers
Even though I have been logging in to a UNIX shell at school to complete school projects and write programs, but I had never really worked in UNIX environment. But a couple of weeks back I got hooked on to Solaris 9OE, read a book, a tutorial, a document provided on the Sun Microsystems website,... (1 Reply)
Discussion started by: init-5
1 Replies
NEWGRP(1) BSD General Commands Manual NEWGRP(1)
NAME
newgrp -- change to a new primary group
SYNOPSIS
newgrp [-l] [group]
DESCRIPTION
The newgrp command changes a user to a new primary group (real and effective group ID) by starting a new shell. The user remains logged in
and the current directory and file creation mask remain unchanged. The user is always given a new shell even if the primary group change
fails.
The newgrp command accepts the following options:
-l The environment is changed to what would be expected if the user actually logged in again. This simulates a full login.
The group is a group name or non-negative numeric group ID from the group database. The real and effective group IDs are set to group or the
group ID associated with the group name.
If group is not specified, newgrp restores the user's real and effective group IDs to the user's primary group specified in the password
database. The user's supplementary group IDs are restored to the set specified for the user in the group database.
If the user is not a member of the specified group, and the group requires a password, the user will be prompted for the group password.
FILES
/etc/group The group database
/etc/master.passwd The user database
/etc/passwd A Version 7 format password file
EXIT STATUS
If a new shell is started the exit status is the exit status of the shell. Otherwise the exit status will be >0.
SEE ALSO
csh(1), groups(1), login(1), sh(1), su(1), umask(2), group(5), passwd(5), environ(7)
STANDARDS
The newgrp command conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
A newgrp command appeared in Version 6 AT&T UNIX. A newgrp command appeared in NetBSD 5.0.
BUGS
There is no convenient way to enter a password into /etc/group. The use of group passwords is strongly discouraged since they are inherently
insecure. It is not possible to stop users from obtaining the encrypted password from the group database.
BSD
June 6, 2007 BSD