Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hal-find-by-property(1) [x11r4 man page]

HAL-FIND-BY-PROPERTY(1) 				      General Commands Manual					   HAL-FIND-BY-PROPERTY(1)

NAME
hal-find-by-property - find device objects by property matching SYNOPSIS
hal-find-by-property [options] DESCRIPTION
hal-get-property finds device object in the HAL device database by looking at device properties. For more information about both the big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal-spec.html depending on the distribution. OPTIONS
The following options are supported: --key The name of the property. --string String value of the property --verbose Verbose output. --help Print out usage. --version Print the version. RETURN VALUE
If devices matching the given property 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-capability(1), dbus-send(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HAL-FIND-BY-PROPERTY(1)

Check Out this Related Man Page

HAL-FIND-BY-PROPERTY(1) 				      General Commands Manual					   HAL-FIND-BY-PROPERTY(1)

NAME
hal-find-by-property - find device objects by property matching SYNOPSIS
hal-find-by-property [options] DESCRIPTION
hal-get-property finds device object in the HAL device database by looking at device properties. 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/packages/hal/spec/hal-spec.html depending on the distribution. OPTIONS
The following options are supported: --key The name of the property. --string String value of the property --verbose Verbose output. --help Print out usage. --version Print the version. RETURN VALUE
If devices matching the given property 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-capability(1), dbus-send(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HAL-FIND-BY-PROPERTY(1)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

The trouble with FIND .......

Afternoon, I have a problem with the FIND and GREP commands working together. The command that I am typing is this:- find . -name *.sql -print --- This finds all files with an SQL suffix I then want to examine all those files to check for the existence of a string in them. I am... (2 Replies)
Discussion started by: chorse
2 Replies

2. UNIX for Dummies Questions & Answers

How to find out the spec of my AIX?

Does anyone know if there are any commands that allow me to find out the spec of my AIX machine? It's RS6000. Thx (2 Replies)
Discussion started by: E-Quality
2 Replies

3. UNIX for Dummies Questions & Answers

FIND <keywordlist? GREP <keywordlist?...

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)
Discussion started by: alan
3 Replies

4. Shell Programming and Scripting

Setting a variable to result of FIND command

(1 Reply)
Discussion started by: JP Favara
1 Replies

5. UNIX for Dummies Questions & Answers

Question about Restricting Search path of FIND to current directory

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)
Discussion started by: super_duper_guy
2 Replies

6. Shell Programming and Scripting

matching first instance of FS

Hi All, I have a property in a file as: property=value=a If I use FS="=" then I want only first = to be considered as field separator and remaining as value echo -e "property=value=a" | awk -F= '{print $2}' ie my $2 should be value=a Can anyone please help me with this. I need it in... (3 Replies)
Discussion started by: gurukottur
3 Replies

7. Shell Programming and Scripting

To find String mismatch

Hi, I have a doubt when searching files for the existence of a particular key. I have a property file has data with key and value pair like below and i call it as property file.ini here are the contents in File: popertyfile.ini location.property=2 agent.method=begin newkey=23 ... (2 Replies)
Discussion started by: raghu.amilineni
2 Replies

8. Shell Programming and Scripting

Directory details with FIND

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)
Discussion started by: gio001
4 Replies

9. UNIX for Dummies Questions & Answers

Matching IF

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)
Discussion started by: vemana
2 Replies

10. Shell Programming and Scripting

Is it possible using "FIND" command

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)
Discussion started by: anishkumarv
5 Replies

11. Shell Programming and Scripting

FIND w/ multiple expressions

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)
Discussion started by: nitrobass24
4 Replies

12. SCO

Using FIND but ignoring selected folders

This may be ludicrously easy to most people, but I've been scratching my head today trying to do it. I'm archiving data on a OpenServer 5.0.6a box using a combination of FIND, CPIO and BZIP2. What I'd like to do is archive a range of folders, but ignore some. For instance, if I have 5... (1 Reply)
Discussion started by: mmcardle
1 Replies