find /usr -name *i* Strange results! Try also with a,k,m,o,s and t. Please report if the problem is just mine. Thank you for your notice, Bahram Alinezhad, Rudehen, Tehran, Iran. __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com
Bahram Alinezhad writes:
find /usr -name *i*
Strange results! Try also with a,k,m,o,s and t.
You should put a single quote around the '*i*' to prevent the shell from expanding it before the find command sees it: find /usr -name '*i*' This will show all files and directories under /usr with the 'i' character in its name. -Ti -- Ti Kan http://www.amb.org/ti Vorsprung durch Technik
--- Ti Kan
Bahram Alinezhad writes:
find /usr -name *i*
Strange results! Try also with a,k,m,o,s and t.
You should put a single quote around the '*i*' to prevent the shell from expanding it before the find command sees it:
find /usr -name '*i*'
This will show all files and directories under /usr with the 'i' character in its name.
-Ti --
Thanks too much; I forgot. __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
On Thursday 02 December 2004 11:15, Bahram Alinezhad wrote:
find /usr -name *i*
Strange results! Try also with a,k,m,o,s and t.
$ find /usr -name *i* find: paths must precede expression Usage: find [path...] [expression] $ but then: $ find /usr -name '*i*' Returns a long list of all files with an 'i' in their name... regards Jonas -- Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. -Andrew S. Tanenbaum. Computer Networks.
--- Jonas Helgi Palsson
On Thursday 02 December 2004 11:15, Bahram Alinezhad wrote:
find /usr -name *i*
Strange results! Try also with a,k,m,o,s and t.
$ find /usr -name *i* find: paths must precede expression Usage: find [path...] [expression] $
but then: $ find /usr -name '*i*' Returns a long list of all files with an 'i' in their name...
regards Jonas
Thank you for your help, Bahram Alinezhad, Rudehen, Tehran, Iran. __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250
participants (3)
-
Bahram Alinezhad
-
Jonas Helgi Palsson
-
ti@amb.org