Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-30-2008, 01:32 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Question Need help with grouping script

Hey i was just learnin some scriptin with Red Hat 4. I was really curious to know if any one knew a script. That when i run it i type a groups name and all of the groups files are shown.

Any help with this would be much appreciated thanks.
Old 04-30-2008, 02:16 AM   #2
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
You could use the -group option in find.

echo "Please enter a group name: "
read group_name
find / -group $group_name
But, you would need to have permissions to see all files to ensure that it is giving a complete picture.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What software for sorting/grouping data from Excel SML Linux - Software 3 05-21-2007 07:43 AM
grouping variable locations taras masnyj Programming 2 10-02-2006 08:11 PM
Squid User Grouping dan0r Linux - Software 1 03-06-2006 11:14 AM
Gnome Grouping Windows maelstrom209 Linux - Software 1 12-25-2004 06:58 PM
bash - while + until loops grouping? trees Linux - General 2 02-19-2004 02:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration