Hi,
I have pretty much never used the terminal and barely know any UNIX commands apart from 'clear', 'cd' and 'ls' so bare with me
1. How do I navigate to a directory in the terminal using the 'cd' command is the destination directory has spaces in it. For instace, if on the desktop I have a directory called 'my pics' and I navigate to the desktop in the terminal and type 'cd' it list the above directory. If I then type:
I get an error as it says "-bash: cd my: No such file or directory". I'm obviously doing something very simply wrong but I don't know how to represent spaces in directories.
2. I am trying to write a simple app in REALbasic that will allow me to launch an app on my system with a passed file. For instance, I have a freeware Sega Genesis emulator (Genesis Plus) and I want to be able to pass to that emulator the rom to load. This shouldn't be hard to do via the terminal but are there commands for passing files to open to an application? If so, how would I go about this?
Thanks in advance,
MadDoc
I have pretty much never used the terminal and barely know any UNIX commands apart from 'clear', 'cd' and 'ls' so bare with me
1. How do I navigate to a directory in the terminal using the 'cd' command is the destination directory has spaces in it. For instace, if on the desktop I have a directory called 'my pics' and I navigate to the desktop in the terminal and type 'cd' it list the above directory. If I then type:
Code:
cd my pics
I get an error as it says "-bash: cd my: No such file or directory". I'm obviously doing something very simply wrong but I don't know how to represent spaces in directories.
2. I am trying to write a simple app in REALbasic that will allow me to launch an app on my system with a passed file. For instance, I have a freeware Sega Genesis emulator (Genesis Plus) and I want to be able to pass to that emulator the rom to load. This shouldn't be hard to do via the terminal but are there commands for passing files to open to an application? If so, how would I go about this?
Thanks in advance,
MadDoc