The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help with basic unix script stp0052 UNIX for Dummies Questions & Answers 1 05-15-2007 06:36 PM
Some Basic terms in UNIX nervous UNIX for Dummies Questions & Answers 3 01-09-2007 03:21 AM
Unix basic help carrera911 UNIX for Dummies Questions & Answers 2 08-24-2006 11:28 PM
basic question about UNIX? RoliOCon IP Networking 1 09-09-2004 12:42 PM
Basic unix HipCracka UNIX for Dummies Questions & Answers 4 12-08-2003 05:00 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-06-2007
bobby36 bobby36 is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 10
Question Help needed in Basic UNIX

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.

Last edited by bobby36; 04-06-2007 at 07:34 PM.. Reason: Please help mates just basics I guess
  #2 (permalink)  
Old 04-07-2007
kumarsaravana_s kumarsaravana_s is offline
Registered User
  
 

Join Date: Feb 2007
Location: Bangalore
Posts: 105
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
  #3 (permalink)  
Old 04-07-2007
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 431
Quote:
Originally Posted by bobby36
How to obtain list of groups we r a member of and redirect it to a file.
# groups <username> > /tmp/groups.txt

# id -Gn <username> > /tmp/groups.txt

username stands for the user you want the groups for, without username you get the groups for the current user
  #4 (permalink)  
Old 04-09-2007
bobby36 bobby36 is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 10
Thumbs up

Quote:
Originally Posted by funksen
# groups <username> > /tmp/groups.txt

# id -Gn <username> > /tmp/groups.txt

username stands for the user you want the groups for, without username you get the groups for the current user

Thanks mate for your help.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0