Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Seraching for a specific program Post 303038322 by Circuits on Friday 30th of August 2019 10:51:23 AM
Old 08-30-2019
Seraching for a specific program

I know that Qt exists on this IMX6+ the device has Linux 4.9.184 embedded. I need to figure out which version of Qt it has. What is the best way to find a program given only a text based terminal? Is there a way I can grep for it?
 

10 More Discussions You Might Find Interesting

1. AIX

HELP PLEASE ! Seraching Update CD AIX4.3.3

Hello, :( Iīm in trouble - im searching for the AIX-Update-CD LCD4-0995-14. My System is out of order and I have to reinstall it. But this CD of my AIX-Set is defective - So I canīt reinstall the Filesets for my 6203-SCSI-Controller... Has someone of you this CD and can send me an Image... (1 Reply)
Discussion started by: yanham
1 Replies

2. UNIX for Advanced & Expert Users

Which Base Level Filesets needed by a specific program?

hello... thats a great forum btw :) my problem is that I need a list of the Base Level Filesets (BLF) which are needed by a specific program. Is there any command/tool which shows me that? during the installation I can choose "Preview only" so that I can see what BLFīs are missing etc but... (4 Replies)
Discussion started by: cypher82
4 Replies

3. UNIX for Dummies Questions & Answers

Script to open program and send/execute command in program

Hi, i want to write a script that executes a program (exec?) . this program then requires a filename as input. how do i give it this input in the script so the program will be complete run and close by the script. e.g. exec prog.exe program then asks for filename "enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies

4. UNIX for Advanced & Expert Users

Checking mem usage at specific times in a program

Hi all, I'm running a simulator and I'm noticing an slow increase in memory for long simulations such that the simulation has to end because of a lack of memory. A colleague of mine ran Valgrind memcheck and reported that nothing of interest was reported other than known mem leaks. My advisor... (2 Replies)
Discussion started by: pl4u
2 Replies

5. Shell Programming and Scripting

Help make a program in cshell that searches and prints in a specific format

say I have a file named phones in that file every line is like that lastname^firstname^phone how can I make a program in cshell that searches for a specific string in phones and echos the result (if found) like that: lastname1 firstname1 phone1 ------------------ lastname2 firstname2... (8 Replies)
Discussion started by: h4wk
8 Replies

6. Homework & Coursework Questions

Calling compiled C program with Perl program

Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies

7. AIX

how to find which program that update a specific file

Hello Would you tell me how to find which program that update a specific file? I am implementing migration project. My machines OS are AIX. It is because lack of documentation, some program cannot working properly on new machine. We found the root cause of this problem is that some data... (4 Replies)
Discussion started by: cstsang
4 Replies

8. UNIX for Advanced & Expert Users

Last touched file by a specific program ?

i have a directory where all .csv files are available. i have 3 perl programs(ex: a.pl,b.pl,c.pl) which continuously runs every 1 minute to scan all files in that directory. now i have 2 questions 1) how can i write an app lock on that particular folder to make sure only one program will scan... (4 Replies)
Discussion started by: sbjv
4 Replies

9. Shell Programming and Scripting

Program to search for the files with specific format

Hi All, Your help on the below requirement is highly appreciated. I am building a program which should pick the file from a source directory and place them into target directory. While selecting the file in source it should look for some pattern in the file name. Ex: File Name 1:... (10 Replies)
Discussion started by: bharath561989
10 Replies

10. Shell Programming and Scripting

Running program and output files in specific directories

I have been running a program mseed2sac using the following command cd IV find . -type f -exec /swadmin/mseed2sac '{}' \; The problem is that I end up with a lot of files in directory IV. Instead I would like to select the designator HHZ, create a directory IV.SAC and all the files output... (11 Replies)
Discussion started by: kristinu
11 Replies
HAL-LOCK(1)						      General Commands Manual						       HAL-LOCK(1)

NAME
hal-lock - lock an interface SYNOPSIS
hal-lock [options] DESCRIPTION
hal-lock can be used to acquire a lock on a given interface either on a given device or globally. For more information about both the big picture and the semantics of HAL locks, 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: --interface The name of the interface to lock. --run Program to run if the lock was acquired. --udi The UDI (Unique Device Identifier) of the device object. If this is ommitted, the global lock will be tried. --exclusive Whether the lock can be held by others. --exit-with-lock Kill the program if the acquired lock is lost. This only makes sense if you pass a specific UDI due to the semantics of HAL locks. --exit-with-dev Kill the program if the device is removed. This only makes sense if you pass a specific UDI due to the semantics of HAL locks. --help Print out usage. --version Print the version. RETURN VALUE
This program will attempt to grab a lock on a given interface. Unless, a specific UDI is given, the global lock will be tried. If the lock was succesfully acquired the program specified by the option --run will be run and upon termination this program will exit with exit code 0. If the lock wasn't acquired or an error occured while taking the lock, this program will exit with a non-zero exit code and the given program will not be run. NOTES
This program is only useful for launching software that doesn't use HAL at all (since such software launched using hal-lock would be locked out itself); for example a partition table editor part-foo may use wrapper script like this hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /path/to/part-foo-program 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-get-property(1), hal-set-property(1), hal-find-by-property(1), hal-find-by-capability(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HAL-LOCK(1)
All times are GMT -4. The time now is 05:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy