For Macs using the zsh shell, you will see the % sign in the command prompt; and the $ sign is for the dash shell. If you are running macOS 10.15 Catalina and later, zsh is the default shell. Otherwise, it's dash. It's a command prompt that indicates where typing starts.