How to search & list subdirectories with the given file name


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to search & list subdirectories with the given file name
# 1  
Old 10-28-2011
How to search & list subdirectories with the given file name

Question:
How to search & list subdirectories with the given file name?

For example:
The directory structure looks like;

/Builds/DEV/Build_RL01/DDL/
a_tbl_cre.sql
......
/Builds/DEV/Build_RL01/DML/
a_upd.sql
....
....

Requirements:
1. I need to find subdirectory DML which is not empty and have file name *.sql only under root folder RL02
Environment : HP - Unix
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Use ls or find for search of subdirectories?

(5 Replies)
Discussion started by: jhsinger
5 Replies

2. Shell Programming and Scripting

Take a list if strings from a file and search them in a list of files and report them

I have a file 1.txt with the below contents. -----cat 1.txt----- 1234 5678 1256 1234 1247 ------------------- I have 3 more files in a folder -----ls -lrt------- A1.txt A2.txt A3.txt ------------------- The contents of those three files are similar format with different data values... (8 Replies)
Discussion started by: realspirituals
8 Replies

3. Shell Programming and Scripting

search in all subdirectories for a file containing a certain string

Hello, how can I search a directory AND all its subdirectories for a file containing a certain string? My directories contain too many sql-files and I want to know whcih one of them write into the table "customer"? Can anyone help me? Thanks in advance (1 Reply)
Discussion started by: ABE2202
1 Replies

4. UNIX for Dummies Questions & Answers

search for files in subdirectories

Hi! I want to find files located in subdirectories. I have tried ls -R | grep myfile but this won't tell me where the file is, only that it is there. Any one have a better idea? Thanks, --Euclid (3 Replies)
Discussion started by: euclid3628800
3 Replies

5. UNIX for Dummies Questions & Answers

Search for & edit rows & columns in data file and pipe

Dear unix gurus, I have a data file with header information about a subject and also 3 columns of n rows of data on various items he owns. The data file looks something like this: adam peter blah blah blah blah blah blah car 01 30 200 02 31 400 03 57 121 .. .. .. .. .. .. n y... (8 Replies)
Discussion started by: tintin72
8 Replies

6. Shell Programming and Scripting

How do I search first&second string & copy all content between them to other file?

Hi All, How do I search first string & second string and copy all content between them from one file to another file? Please help me.. Thanks In Advance. Regards, Pankaj (12 Replies)
Discussion started by: pankajp
12 Replies

7. Shell Programming and Scripting

search files in a directory and its subdirectories

Hello my friends, I need to write a simple shell bad file :D that search and delete a file it's name 'Microsoft.txt' in the current directory and its subdirectories? So can you help to guide me how i can write this shell, Just give me the beginning :o thank you. (1 Reply)
Discussion started by: Net-Man
1 Replies

8. UNIX for Dummies Questions & Answers

list largest files in a directory & its subdirectories

I need to find the largest files in a directory & it's subdirectories. I'm not sure what options on ls -l will work to give me this. or is there another way to do this? Thanks, igidttam (6 Replies)
Discussion started by: igidttam
6 Replies

9. UNIX for Dummies Questions & Answers

How to search all subdirectories?

Dear All, I want to write the Unix command that searches through all subdirectories, finds the files named ''core'' and deletes them. I will very much appreciate your help. David (4 Replies)
Discussion started by: david_wang
4 Replies
Login or Register to Ask a Question
IP-TOKEN(8)							       Linux							       IP-TOKEN(8)

NAME
ip-token - tokenized interface identifier support SYNOPSIS
ip token { COMMAND | help } ip token set TOKEN dev DEV ip token del dev DEV ip token get [ dev DEV ] ip token [ list ] DESCRIPTION
IPv6 tokenized interface identifier support is used for assigning well-known host-part addresses to nodes whilst still obtaining a global network prefix from Router advertisements. The primary target for tokenized identifiers are server platforms where addresses are usually manually configured, rather than using DHCPv6 or SLAAC. By using tokenized identifiers, hosts can still determine their network prefix by use of SLAAC, but more readily be automatically renumbered should their network prefix change [1]. Tokenized IPv6 Identifiers are described in the draft [1]: <draft-chown-6man-tokenised-ipv6-identifiers-02>. ip token set - set an interface token set the interface token to the kernel. TOKEN the interface identifier token address. dev DEV the networking interface. ip token del - delete an interface token delete the interface token from the kernel. dev DEV the networking interface. ip token get - get the interface token from the kernel show a tokenized interface identifier of a particular networking device. Arguments: coincide with the arguments of ip token set but the TOKEN must be left out. ip token list - list all interface tokens list all tokenized interface identifiers for the networking interfaces from the kernel. SEE ALSO
ip(8) AUTHOR
Manpage by Daniel Borkmann iproute2 28 Mar 2013 IP-TOKEN(8)