About Spaces in the Command Line
Normally, whitespace separates parts of the command line.
Deal with extra spaces by either Quoting or Escaping
To quote: enlose argument in matching single or double-quotes:
ls -l "My Big Picture.jpg"
To escape: preced the space with a blackslash:
\
Task:
Given that file names are often part of a command line, what problems could come up with common Macintosh file names?
Previous - About Commands, Processes, and Jobs
Next - Wildcards on the Command Line
Home