In shell scripting, $* represents all the command-line arguments passed to a script as a single string, with each argument separated by spaces.