"/" in command line?


#1

guys,how can i put "/" in the exercises of command line?


#2

Im not sure what you mean by "/" but if you want to browse through directories you can just do

cd dir

where dir is where you want to go... Also if you want to go back one you can just do...

cd ../previousDir

Im not sure this was what you wanted, but i hope this is usefull...


#3

no,in the exercise 5 of command line,how can i put "cd jan/memory/"?


#4

Just type in the terminal

cd 2015/jan/memory/

Basically going through the 2015 directory then january directory, then the memory of jan


#5

i can't type "/"!
this is the problem


#6

What is stopping you? Finding the key? Nothing showing up? If nothing shows up, do other keys show up? Can you type it in other applications?
See how that information is required to figure out what's wrong? You have do describe the problem a little more if others are to know the same things that you know about it.
Your OS has a clipboard feature that you can use to copy text with if nothing else.
There is probably also some on-screen keyboard that you can use.


#7

i'm using windows,not OS


#8

Lol you cant type "/"?? Thats litterarly after the > sign.. Just do Ctrl + the question mark key...

Os Btw is a Operating System. And Yes, Windows is an Operating System....


#9

OS is short for Operative System. Windows has copy and paste as well, and on-screen keyboard. What about the rest of my questions?


#10

I've never had anyone report that they couldn't type / before, but if you want to try the alt + code method here: https://discuss.codecademy.com/t/my-keyboard-does-not-allow-me-to-type-a-character-used-in-a-codecademy-lesson-what-should-i-do/29228 then the code for / is 47.


#11

how does he not know where the / is if he wrote it in his question? :smiley:


#12

It isn't a matter of not knowing where the key is, it is a matter of the key not working in the terminal. At least that is one scenario -- we'll have to wait until we hear back to be sure.


#13

Oh, OK! Sorry I didn't understand. Thanks for clarifying though!


#14

Hello, im having the same problem. Already tryed copy and paste, a different browser, alt + 47, but it doesnt work at all. So, any clues of what i should do now?


#15

I don't have any further clues but I am interested in what sort of computer/OS you are using that is displaying this behaviour.


#16

what is the use of / in command?
sometimes in the instructions they say jan/media/ and refer as media..i mean can we use cd jan/media instead of cd jan/media/?


#17

Yes you can.

You will find that if you use the tab key to auto-complete your directory names that it will put the / in for you.


#18

lo escribo y me tira error


#19

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.