Solved

Looking for a find command

Posted on 2002-03-21
2
191 Views
Last Modified: 2010-04-21
Hi, i'm trying to come up with a find command that will find all executables on the system and sort them by group and then by user

Here is what I have come up with:

find / -perm -0111  ! -type d -ls ! -print

Any help would be greatly appreciated.

0
Comment
Question by:thewing
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
Comment Utility
Use:

find / -perm -0111  ! -type d -ls | sort -k 5,6
0
 
LVL 38

Expert Comment

by:yuzh
Comment Utility
Hi thewing,

   Try the following command:

    find . -perm a=rwx,g-w,o-w -type f -ls | sort -k 6

    This will sort it by group, and you can change whatever the permission you want.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now