What does the question mark in this command mean?
find . –type d –name "?d*" –print
I tried to to run it without it but didn't notice any change.
The question mark matches exactly one character in a filename. So,
For what it's worth, this is a very common convention for filename matching, and can be used in a variety of command line interface contexts, even Windows'
Removing the question mark should make a difference unless nothing was matched anyway.
For example, if there exist the directories
while the shell command
On the other hand if there are no directories with a second character
The question mark is identified by the shell as a single character. In this case the name is specified as any directory with the second character of the directory name 'd', followed by any other characters.