08-10-2007
Unix Doubt
What is Primary Group & Secondary group and what is the difference between them.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
....does the dbms_output.put_line work inside unix shell script?
i mean this is to be inside the sqlplus connection as follows!!
sqlplus -s $UP <<EOJ
..
..
..
dbms_output.put_line ('Insertion procedure failed for UPC BC : ' || wk_key_value || ' Sqlcode: ' || SQLCODE || ' Error... (2 Replies)
Discussion started by: mexx_freedom
2 Replies
2. UNIX for Advanced & Expert Users
I want to know the command through which we can know the expiry date
of the password.
I tried chage but it is not working on my system please provide
necessary information
I am not using root
I need info on user level (2 Replies)
Discussion started by: irshad
2 Replies
3. Shell Programming and Scripting
How can I execute the unix command "cd - Change directory" command, so that my command prompt should be reflected for that change.
Example : Now you are in your home directory i.e /home/naresh and you have some sub directory called unixinfo in your home directory. i want to write a script,so... (2 Replies)
Discussion started by: Naresh Kumar
2 Replies
4. UNIX for Dummies Questions & Answers
HI
i usually send an a file attachment in a mail from unix like following.
mailx -s 'Job Success' someoner@gmail.com < attachment.log
But I have observed in several threads that we can also use uuencode and uudecode.
What are they? when should we use uudecode and uuencode
... (1 Reply)
Discussion started by: rajesh_tns
1 Replies
5. UNIX for Dummies Questions & Answers
I am using a oracle query from unix..
flag=`sqlplus -s <<EOF
SELECT 'Y' FROM table_name
WHERE cond1 = '${table_name}'
AND DECODE('${var_a}','''NA''',own,'${var_b0}')= own
exception
when no_data_found then
dbms_output.put_line(NVL(l_owner_flag,'X'));
end;
EOF`
Its not validating the... (7 Replies)
Discussion started by: sivakumar.rj
7 Replies
6. UNIX for Dummies Questions & Answers
Hi all!
I have a folder with permissions 2770 (SETGID)
drwxrws--- 2 loguser admins 5 Mar 17 11:11 mydir
Inside that folder there are some files with permissions 0640:
-rw-r----- 1 loguser admins 0 Mar 17 11:11 monday.log
-rw-r----- 1 loguser admins ... (2 Replies)
Discussion started by: verdepollo
2 Replies
7. Shell Programming and Scripting
Hi,
I have a file with multiple entries and I have calculated the percentages. Now I want to know how many of my entries are there between 1-10% 11-20% and so on..
chr1_14401_14450 0.211954217888936
chr1_14451_14500 1.90758796100042
chr1_14501_14550 4.02713013988978... (1 Reply)
Discussion started by: Diya123
1 Replies
8. UNIX for Dummies Questions & Answers
Is it possible to create unix or linux commands ? if it is then how to create ?:) (1 Reply)
Discussion started by: Santhosh Raju
1 Replies
9. Shell Programming and Scripting
Hi,
I'm new to this and very much interested to learn unix.
Can any one explain me the symbols y we use this is scripting(~ and $).
It would be great if some one explain with the eg.
Thanks
Naveen A (2 Replies)
Discussion started by: Pranaveen
2 Replies
10. UNIX for Beginners Questions & Answers
in my shell script requirement is to search and replace the file with variable so i use the following command sed -i "s/abc/$SCHEMA/g" table.sql
later when the script runs sqlplus username/pwd@Table& this & is not letting the variable to replace the value inside the file .please let me know... (1 Reply)
Discussion started by: bhuvan1
1 Replies
LEARN ABOUT OSX
mpi_group_union
MPI_Group_union(3OpenMPI) MPI_Group_union(3OpenMPI)
NAME
MPI_Group_union - Produces a group by combining two groups.
SYNTAX
C Syntax
#include <mpi.h>
int MPI_Group_union(MPI_Group group1, MPI_Group group2,
MPI_Group *newgroup)
Fortran Syntax
INCLUDE 'mpif.h'
MPI_GROUP_UNION(GROUP1, GROUP2, NEWGROUP, IERROR)
INTEGER GROUP1, GROUP2, NEWGROUP, IERROR
C++ Syntax
#include <mpi.h>
static Group Group::Union(const Group& group1, const Group& group2)
INPUT PARAMETERS
group1 First group (handle).
group2 Second group (handle).
OUTPUT PARAMETERS
newgroup Union group (handle).
IERROR Fortran only: Error status (integer).
DESCRIPTION
The set-like operations are defined as follows:
o union -- All elements of the first group (group1), followed by all elements of second group (group2) not in first.
o intersect -- all elements of the first group that are also in the second group, ordered as in first group.
o difference -- all elements of the first group that are not in the second group, ordered as in the first group.
Note that for these operations the order of processes in the output group is determined primarily by order in the first group (if possible)
and then, if necessary, by order in the second group. Neither union nor intersection are commutative, but both are associative.
The new group can be empty, that is, equal to MPI_GROUP_EMPTY.
ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func-
tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
will be used to throw an MPI:Exception object.
Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for
I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be
used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.
SEE ALSO
MPI_Group_free
Open MPI 1.2 September 2006 MPI_Group_union(3OpenMPI)