What does linux mean by the * sign of the path?

the path to a linux is as follows:

self._path = "/sys/class/a/*/b"

what is the meaning of * in this path is not clear, please answer, thank you.

Mar.23,2021

* represents arbitrary and can match paths like / sys/class/a/x/b / sys/class/a/y/b .

For more information on this convenience, please search glob pattern.

.

I don't know python,. I searched it: path

has no expression about * , so I personally prefer that the * number is derived from regular matching rules, which means to match any folder, such as

.
some computer interfaces, such as Unix shell and Microsoft command prompt characters, (Command prompt), asterisks are wildcards and any kind of character. Commonly known as "universal characters". A common use of universal characters is to find a file on a computer. For example: the user is looking for a file named Document 1, and the search term can be found with Doc and D ment*.

this expression of path may not be valid in all languages, but in some languages a code can even express all descendants of a.

personal opinion only.


* is a wildcard character that represents any 0 or more characters, but if your self._path is a variable, the value of the variable may not be unique. I don't understand!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e47d3d-44c6a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e47d3d-44c6a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?