Help with exersize 3 on learn the command line


#1

ok so i was doing learn the command line then i got onto number 3 (ls -l) im doing what it says but nothings happening!!!!!!! can someone please help


#2

Is this the step that you are stuck on:

Navigate to the comedy/ directory

Show me what you are doing and what the terminal is responding with.

Don't forget that you can use:
- pwd to see what directory you are in now
- ls to see what is in that directory


#3

yes i am stuck on that part and it keeps just not giving me the check...its weird i think its bugged or something :frowning:


#4

Show me what you are seeing.

Do a pwd and an ls and then try changing directories.


#5

i haven't done a pwd yet.....


#6

I can wait ... take your time


#7

ok so i tryed using a pwd but it just said '/home/ccuser/workspace/movies


#8

Okay, so that told you that you are in the movies directory.

Now, when you do an ls, what does it tell you is in that movies directory?


#9

it just says '/home/ccuser/workspace/movies no matter waht i do with the pwd :confused:


#10

pwd is telling you the name of the directory that you are in right now -- it isn't going to change until you change directories :smile:


#11

ok :smile: i didn't know that


#12

When you do an ls -- what does the ls command tell you is in that movies directory?


#13

lets see uhh what? :confused:


#14

Is this what you see when you do these same commands?

$ pwd
/home/ccuser/workspace/movies
$ ls
action comedy drama genres.txt
$


#15

yeah!!!!!!!!! It Does!!!!!!!!!!!


#16

Great, so you know:

  • You are in the movies directory
  • The movies directory contains a directory named comedy (among other things)

Now you need to use the cd command (change directory) to get to that comedy directory.

Did you want to give that a go?


#17

ok got it 1 second!!!!!!


#18

it worked! thank you so much!!!


#21