Difference between revisions of "-name"

From wikieduonline
Jump to navigation Jump to search
(Removed redirect to Find)
Tag: Removed redirect
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  <code>[[find .]] -name "*"</code>
 
  <code>[[find .]] -name "*"</code>
 +
 +
 +
find . -name YourUnquotedText*
 +
find: paths must precede expression: `YourUnquotedText'
 +
find: possible unquoted pattern after predicate `-name'?
 +
 +
find . -name *
 +
find: paths must precede expression: `archive'
 +
find: possible unquoted pattern after predicate `-name'?
 +
 +
Solution: Add "" to your -name parameter
 +
find . -name "*"
  
  
 
== See also ==
 
== See also ==
 
* {{find}}
 
* {{find}}

Revision as of 06:08, 26 July 2022

find . -name "*"


find . -name YourUnquotedText*
find: paths must precede expression: `YourUnquotedText'
find: possible unquoted pattern after predicate `-name'?
find . -name *
find: paths must precede expression: `archive'
find: possible unquoted pattern after predicate `-name'?
Solution: Add "" to your -name parameter
find . -name "*"


See also

Advertising: