This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I'm trying to create folders and files in UNIX. The problem is the folder name and file name has space in it, but UNIX doesn't allow to space in them. Is there a way to do it?
Unix allows just about anything in file / folder names, including spaces and even other characters usually used by the shell. I even managed to create files that start with a -; it's a real trick trying to delete those I tell you, since rm thinks it's a flag for it.
The trick is, on the shell you need to either encapsulate the file name in double quotes "", or use \ as an escape character. So listing all files in folder "My Folder" could be done as follows: