What Does * Mean in Unix?
Contents

For example, the most commonly used special character is asterisk, * , meaning “zero or more characters”. When you type a command like ls a* , the shell finds all filenames in the current directory starting with a and passes them to the ls command. Quote marks affect the shell’s interpretation of the command line.

What does * mean in shell script?

It means all the arguments passed to the script or function, split by word.

What is an asterisk symbol in Linux?

There are three main wildcards in Linux: An asterisk (*) – matches one or more occurrences of any character, including no character. Question mark (?) – represents or matches a single occurrence of any character.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest