List files using { } meta character


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers List files using { } meta character
# 1  
Old 11-10-2011
List files using { } meta character

p { margin-bottom: 0.08in; } How to match all files that end with the release number using the { } meta character in /boot.

Last edited by jim mcnamara; 11-10-2011 at 12:17 PM.. Reason: clean up html codes
# 2  
Old 11-10-2011
The {} construct works in commands like find. I do not know what 'the release number' is.

Code:
find /boot -name '*2.4.0.8'  -exec ls -l {} \;
# or
ls -l /boot/*2.4.0.8

where 2.4.0.8 is a dummy release number
# 3  
Old 11-11-2011
thanx jim
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Meta charcters

Find out lines in a given file consisting of the following pattern BCAA, BCAAA, BCAAAA, BCAAAAA, BCAAAAAA (0 Replies)
Discussion started by: Phaneendra G
0 Replies

2. UNIX for Dummies Questions & Answers

Doubt with regexp-meta character

Hi, I am learning reg exp a bit :) Meta char info: {n,m} Matches the preceding character at least n times but not more than m times, for example, 'ba{2,3}b' will find 'baab' and 'baaab' but NOT 'bab' or 'baaaab'. Values are enclosed in braces (curly brackets). Input file: 112 11112... (2 Replies)
Discussion started by: dragon.1431
2 Replies

3. UNIX for Dummies Questions & Answers

Perl Meta character understanding

Hello All, I have some expression: if (/^(\d\d\d\d\d\.\d\d\d\d\d\d)\s+(.+)$/) { warn "$argv0(" . __LINE__ . "): rbl2ts{$2} == '$rbl2ts{$2}' \$1==$1\n" if ($debug); $rbl2ts{$2} = $1 if (!defined($rbl2ts{$2}) or ($1 le $rbl2ts{$2})); warn "$argv0(" . __LINE__ . "):... (3 Replies)
Discussion started by: suvenduperl
3 Replies

4. Shell Programming and Scripting

Breaking a file into three new files, character by character

I am new to shell scripting, and need a script to randomly distribute each character from a file into one of three new files. I also need each character to maintain it's position from the original file in the new file (such that if a character is written to File 1, Files 2 and 3 have spaces... (10 Replies)
Discussion started by: foxcastle
10 Replies

5. Shell Programming and Scripting

What is the meta character for the Ctrl button?

In this script I have, it says press Ctrl+W+? for help, but it doesn't do anything. I looked in the script and it binds: bind ^W meta2_character. How do I make it the Ctrl button so I can do Ctrl+W? (There are some other commands that use Ctrl+W+another character/letter/number.) (4 Replies)
Discussion started by: guitarscn
4 Replies

6. Solaris

What is Meta Database ?

Hi Guys, what is a meta file system ? what is it use for? What is /etc/vfstab? What is the relationship between the "vfstab file and meta file system. (3 Replies)
Discussion started by: tlee
3 Replies

7. Solaris

What is Meta Database ?

Hi Guys, what is a meta file system ? what is it use for? What is /etc/vfstab? What is the relationship between the "vfstab file and meta file system. thanks (1 Reply)
Discussion started by: tlee
1 Replies

8. Solaris

Meta Devices

I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies
Login or Register to Ask a Question