HAL-FIND-BY-CAPABILITY(1) General Commands Manual HAL-FIND-BY-CAPABILITY(1)NAME
hal-find-by-capability - find device objects by capability matching
SYNOPSIS
hal-find-by-capability [options]
DESCRIPTION
hal-get-capability finds device object in the HAL device database by looking at device capabilities. For more information about both the
big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/share/doc/hal-doc/spec/hal-spec.html depending on
the distribution.
OPTIONS
The following options are supported:
--capability
The name of the capability.
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If devices matching the given capability are found each UDI (Unique Device Identifier) is printed on stdout and the program exits with exit
code 0. If no devices are found or an error occured, the program exits with a non-zero exit code.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), lshal(1), hal-set-property(1), hal-get-property(1), hal-find-by-property(1), dbus-send(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-FIND-BY-CAPABILITY(1)
Check Out this Related Man Page
HAL-FIND-BY-CAPABILITY(1) General Commands Manual HAL-FIND-BY-CAPABILITY(1)NAME
hal-find-by-capability - find device objects by capability matching
SYNOPSIS
hal-find-by-capability [options]
DESCRIPTION
hal-get-capability finds device object in the HAL device database by looking at device capabilities. For more information about both the
big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/share/doc/hal-doc/spec/hal-spec.html depending on
the distribution.
OPTIONS
The following options are supported:
--capability
The name of the capability.
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If devices matching the given capability are found each UDI (Unique Device Identifier) is printed on stdout and the program exits with exit
code 0. If no devices are found or an error occured, the program exits with a non-zero exit code.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), lshal(1), hal-set-property(1), hal-get-property(1), hal-find-by-property(1), dbus-send(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-FIND-BY-CAPABILITY(1)
Hello,
I have a directory that contains about 50,000 files. I need to look for 1500 product id numbers amongst all 50, 000.
So far, I have managed to be productive by doing a
"find . -exec grep 'my_sku_number' {} \;" but it is SLOWWWW.
1/ I have tried this:
"find . -exec grep... (3 Replies)
Hi,
By default FIND command searches for matching files in all the subdirectories within the specified path.
Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.
Any help would be more than appreciated.
Thanks and Regards (2 Replies)
Hello,
an easy question, I hope.
What would be the way to produce a result from the following find statement that would also include for each line in the output the details usually associated with the ls -ltr command?
Here is the find I am using:
find . -name "*.prg" -exec grep "test line" {}... (4 Replies)
I have a file, ENV.doc somewhere in my home directory. I want to know where the file is located in my sub directories using FIND. But, I want to display only the relative path along with the file name.
Thanks, (6 Replies)
Hi All,
I have a IF loop followed by THEN and a a closing FI.I am trying to find the matching 'FI' for 'IF'.I am wokring on modifying 2000 line code and its become extremely difficult to find the matching of 'IF' manually for on e of the block.
Can you guys throw some light please?
Thanks... (2 Replies)
Does know where I can find what ALL of the set options do in vi? I can't find it anywhere in vi's man pages or help files. I know about :set all but a lot of the options I have no clue what they do. (3 Replies)
Hi all,
is it possible using "FIND" command to find the age of the directories in a particular path, if more that 2 months of the folder age means its automatically triggered mail to ADMIN, like that.....
With Regards
Anish Kumar.V (5 Replies)
For reference i am still a newb at scripting, but i have what i think is a complex issue.
I need to run a FIND on / to identify all files and print them to >> $TEMPFILE
I need to avoid MVFS
I need to avoid /var/tmp/nastmp/
I was trying find / \( -type d -name nastmp -prune \) -a \( -fstype... (4 Replies)
I am having an issue adding the -size test to my find command.
I am trying to find all files smaller than 250mb, that are not in .snapsnot or man directories.
What i started with
find . -xdev -type d \( -name man -o -name .snapshot \) -prune -o -type f
What I have tried..unsuccessfully... (4 Replies)
I need to search for two patterns in a file and find number of matching lines.
find . -type f | xargs grep "DROP TABLE" | wc -l
find . -type f | xargs grep "DROP SYNONYM" | wc -l
The above code works. However I am looking at finding a commnd that will simplify as on a singe command... (2 Replies)
Hi all.
Long time!!
Hope you're doing well..
I've stumbled on a peculiar siutaion here, and would expect help from this forum on a clean resolution.
We are running an rm and find command simultaneously from two different Unix sessions of the same user(let's say USER01) and on the same... (3 Replies)