04-07-2007
Quote:
Originally Posted by bobby36
hi friends,
How to obtain list of groups we r a member of and redirect it to a file.
how to append the details of current OS to a file.
how to append the estimated file space to a file.
how to append the details of users loged on along wth their current activity into a file.
Thank you...I'm alien to UNIX OS.
uname - a > OS.txt
df -t > space.txt
ps -lf > users.txt
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I like to know the bare minimum development/ testing tools which can be used with Unix environment wherein the applications are written in different combination - C++ COBOL..
I like to know list of development, performance, testing tools that can be used in Unix .
Thanks in advance
ls1429 (1 Reply)
Discussion started by: ls1429
1 Replies
2. UNIX for Dummies Questions & Answers
is there any reason why a user would want to create an empty file in Unix? (5 Replies)
Discussion started by: wmosley2
5 Replies
3. UNIX for Dummies Questions & Answers
okay, im having some trouble. Go ahead, call me a retard, but i keep getting stuck. Suppose i want to open a Picture of Jesus(for the sake of simplicity) using unix. I type:
open Desktop/Pictures/Jesus.jpg
It opens, and its all well and good. But, suppose i want to open a picture called Joe... (4 Replies)
Discussion started by: HipCracka
4 Replies
4. UNIX for Dummies Questions & Answers
What command would I use to list the first lines of all
text files within my Unix directory or within any directory
inside there? I was using "find" , "head" and "-exec" commands like this:
find ~/Unix -name "*.txt" -exec head {} \;
But its not perfectly working, please help me.... (2 Replies)
Discussion started by: carrera911
2 Replies
5. UNIX for Dummies Questions & Answers
What I am supposed to do is creat a menu with the following
Find a song
Find a album
Sort by artist
Delete a song
Add a new song
Quit
Now the file with the song information is database
Here is what I have so far
#!/bin/bash
#=================================================
#Script Name:... (1 Reply)
Discussion started by: stp0052
1 Replies
6. Shell Programming and Scripting
Hey all I'm working on a script that will scour a directory of 6000+ files for a line that at the end has a number.
Something like 'The number of outputs is: 39200'
I'm trying to devise a script to add all of these numbers up, so far I have the grep statement that pulls out each individual... (7 Replies)
Discussion started by: TiznaraN
7 Replies
7. Shell Programming and Scripting
hi,
im trying to find the longest word in /usr/share/dict/words that does not contain the letter i.
i've tried using the wc -L command like so: $ wc -L /usr/share/dict/words
which basically tells me the longest word which is good but how do i get the longest word which Does not contain the... (7 Replies)
Discussion started by: tryintolearn
7 Replies
8. Solaris
can any body tell me this followings in details
when do we use this & in which senario we most use this
1.GSD raising
2.MOSFET checks
3.Audit remedation
4.KBS fixes
thanks in advance (0 Replies)
Discussion started by: wkbn86
0 Replies
9. Homework & Coursework Questions
I am a newbie to UNIX. I'm learning UNIX on my own, just trying to get the jerk of how things work in UNIX environment. I am familiar with Windows environment.
Can anyone pls write simple 'envprint' programs to :
1) List all the environment Information (using the -l or --l options)
2) ... (1 Reply)
Discussion started by: agup17
1 Replies
10. 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
LEARN ABOUT CENTOS
sss_groupmod
SSS_GROUPMOD(8) SSSD Manual pages SSS_GROUPMOD(8)
NAME
sss_groupmod - modify a group
SYNOPSIS
sss_groupmod [options] GROUP
DESCRIPTION
sss_groupmod modifies the group to reflect the changes that are specified on the command line.
OPTIONS
-a,--append-group GROUPS
Append this group to groups specified by the GROUPS parameter. The GROUPS parameter is a comma separated list of group names.
-r,--remove-group GROUPS
Remove this group from groups specified by the GROUPS parameter.
-?,--help
Display help message and exit.
THE LOCAL DOMAIN
In order to function correctly, a domain with "id_provider=local" must be created and the SSSD must be running.
The administrator might want to use the SSSD local users instead of traditional UNIX users in cases where the group nesting (see
sss_groupadd(8)) is needed. The local users are also useful for testing and development of the SSSD without having to deploy a full remote
server. The sss_user* and sss_group* tools use a local LDB storage to store users and groups.
SEE ALSO
sssd(8), sssd.conf(5), sssd-ldap(5), sssd-krb5(5), sssd-simple(5), sssd-ipa(5), sssd-ad(5), sssd-sudo(5),sss_cache(8), sss_debuglevel(8),
sss_groupadd(8), sss_groupdel(8), sss_groupshow(8), sss_groupmod(8), sss_useradd(8), sss_userdel(8), sss_usermod(8), sss_obfuscate(8),
sss_seed(8), sssd_krb5_locator_plugin(8), sss_ssh_authorizedkeys(8), sss_ssh_knownhostsproxy(8),pam_sss(8).
AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD
06/17/2014 SSS_GROUPMOD(8)