Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Linux shortcutkey to search specific file from a list of directory?! Post 302351050 by pludi on Monday 7th of September 2009 02:44:45 AM
Old 09-07-2009
Depending on your Linux distribution, the 'locate' program might already be installed. Otherwise you can install it by installing either the 'locate' or 'slocate' package (name depends on distribution)

What this does is scan the directory tree (usually once per day) and build a database of files found, which you can query with the locate command.
 

8 More Discussions You Might Find Interesting

1. AIX

find for specific content in file in the directory and list only file names

Hi, I am trying to find the content of file using grep and find command and list only the file names but i am getting entire file list of files in the directory find . -exec grep "test" {} \; -ls Can anyone of you correct this (2 Replies)
Discussion started by: madhu_Jagarapu
2 Replies

2. Shell Programming and Scripting

Search for a file in specific directory

I have to search a file in a prticular directory. filename will be passed through command line. The directory may contain subdirectory. i.e. suppose directory in /u03/appl (it can hard coded in script). This directory may contain subdirectory. $ scriptname.sh filename output should be... (2 Replies)
Discussion started by: jadoo_c2
2 Replies

3. UNIX for Dummies Questions & Answers

How to search all the files in a directory for a specific string

Hi Guys, I want to search the content of all the files (of a particular type like .txt) in a directory for a specific string pattern. Can anyone help me? Thanks (7 Replies)
Discussion started by: mwrg
7 Replies

4. UNIX for Dummies Questions & Answers

How to search directory for specific file?

I am new to Unix scripting and would like some help. Here is my scenario: 1) I have a text files that contains two fields: file name and retention period in months: File1 36 file2 24 File3 12 2) The directory I am searching contains sequential files. 3) I need to be able to take the file name... (10 Replies)
Discussion started by: Mustafa19804
10 Replies

5. Shell Programming and Scripting

Urgent request to consider:Search specific name in a file and fetch specific entries

Hi all, I have 2 files, One file contain data like this FHIT CS CHRM1 PDE3A PDE3B HSP90AA1 PTK2 HTR1A ESR1 PARP1 PLA2G1B These names are mentioned in the second file(Please see attached second file) as # Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies

6. UNIX for Dummies Questions & Answers

Search for a specific String in a log file for a specific date range

Hi, I have log file which rolls out every second which is as this. HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies

7. UNIX for Dummies Questions & Answers

How to search in specific directory using find?

Hi, Is there any way to use find command and search only specific subdirectories in a directory. for example /home/d1 /home/d2 /home/d3 i want to search in the following directories /home /home/d1 /home/d2 i do not want the find command to search the /home/d3 directory. (6 Replies)
Discussion started by: Little
6 Replies

8. Shell Programming and Scripting

List 2 weeks older file on specific directory

Ive been a vocal of FIND command even before. Command below doesnt really give me the file that is older than two weeks.. Is there a script that will list me the log files that i want like for this date December 10, 2014, it shud list me the date between November 26, 2014 and below. When i run... (6 Replies)
Discussion started by: kenshinhimura
6 Replies
MANPAGE(1)																MANPAGE(1)

NAME
Launchy - smart search launcher utility SYNOPSIS
launchy [options] DESCRIPTION
Launchy is a cross-platform utility designed to help you forget about your start menu, the icons on your desktop, and even your file manager. Launchy indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes. Once Launchy has been started, it hides in the background. You bring it forward by holding the Ctrl and the Space keys. You can then type in a few keys of the program you are searching for and hit enter once it has been found. You can also make Launchy dissappear again by hitting the Escape key or Ctrl+Space. Launchy allows you to add additional command line parameters to the selected launch. Simply hit Tab key once you have found the application you are interested in and then enter the parameters. When the input text area is empty, press the down arrow key and Launchy will display a history of the commands entered previously. You can scroll up and down the list and press Enter key to repeat the command. Pressing Shift+Delete instead will remove the item from the history. OPTIONS
-exit Attempt to close any running instances of Launchy. -multiple Allows more than one instance of Launchy to be run. -options Shows the options dialog. -rescan Rescan the catalog. -rescue Resets LaunchyaXXs position to the center of the screen and selects the default skin. -show Shows Launchy's window (default is to launch hidden in most cases). Can be used as a way to active Launchy from a shortcut. If -multiple is not used and Launchy is already running, then the command will be sent to the running instance of Launchy. KNOWN ISSUES
Not all skins will work with Linux builds of Launchy. If you're running a compositing manager (compiz or beryl) then the skins should look the same as in Windows. Otherwise, you will have to settle for the skins that look good without alpha transparency (like Default and Black Glass). If the black area of mask.png is perfectly rectangular then, for some reason, compiz won't mask it correctly and you will have a strange black section around the skin. SEE ALSO
Launchy homepage "<http://www.launchy.net>" AUTHOR
Launchy authors are Josh Karlin, Simon Capewell and others. This manual page was written by Ricardo Mones for the Debian project (and may be used by others). 2012-05-22 MANPAGE(1)
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy