Hey guys Im trying navigate terminal and I can't seem to figure it out. What I want to do is navigate my the files on my hard drive not my user which is what i have there by default so I have this... Last login: Mon Oct 29 13:20:57 on ttys006 Ronald-Valencias-MacBook:~ Ron$ I want to "At a command prompt, navigate to the /dependencies/tools/bin folder for the BlackBerry 10 WebWorks SDK." here is where those files are /Developer/SDKs/Research In Motion/BlackBerry 10 WebWorks SDK 1.0.2.9/dependencies/tools but the Developer file is in the Devices (aka hard drive where i have Users application etc) but the command terminal starts off with .... Last login: Mon Oct 29 13:20:57 on ttys006 Ronald-Valencias-MacBook:~ Ron$ how do I navigate to that file ? Any help would be very appreciated
From your command prompt, try something like:- cd "/Developer/SDKs/Research In Motion/BlackBerry 10 WebWorks SDK 1.0.2.9/dependencies/tools"<CR> Note the inverted commas, and <CR> is the ENTER/RETURN key... (Also this assumes /Developer starting at root level.) Bazza, G0LCU...
Actually that should be Code: cd /Developer/SDKs/Research\ In\ Motion/BlackBerry\ 10\ WebWorks\ SDK\ 1.0.2.9/dependencies/tools<CR> . With the Terminal, when navigating a folder/file with spaces in its name, you have to put a \ in front of the space.
They both work. Wisecracker's post showed double quotes (what he called "inverted commas"), which do not require spaces to be escaped with backslashes. For reference, look at the man page for bash, and find the QUOTING heading: ... There are three quoting mechanisms: the escape character, single quotes, and double quotes. ...
Hi chown33... Why thank you sir for coming to my defence... The "double quotes" as you put it are near platform independent too. They work on *NIX, Windows, AMIGAOS and obviously OSX... Once again I thank you for coming to my defence... Bazza, G0LCU...
Thanks! You learn something everyday. Since most people I know only use the \ character, never learned about the quotes. Thanks again!