Learn the Command Line 3/10 Help Please navigate to the comedy/directory


#1

https://www.codecademy.com/en/courses/learn-the-command-line/lessons/manipulation/exercises/ls-l

$ ls -l
drwxr-xr-x 5 cc eng 4096 Jun 24 16:51 action
drwxr-xr-x 4 cc eng 4096 Jun 24 16:51 comedy
drwxr-xr-x 6 cc eng 4096 Jun 24 16:51 drama
-rw-r--r-- 1 cc eng 0 Jun 24 16:51 genres.txt
The -l option lists files and directories as a table. Here there are four rows, with seven columns separated by spaces. Here's what each column means:

Access rights. These are actions that are permitted on a file or directory.
Number of hard links. This number counts the number of child directories and files. This number includes the parent directory link (..) and current directory link (.).
The username of the file's owner. Here the username is cc.
The name of the group that owns the file. Here the group name is eng.
The size of the file in bytes.
The date & time that the file was last modified.
The name of the file or directory.
1.
Let's try out another option for the ls command.

Navigate to the comedy/ directory.
2.
Then type

ls -alt

I am stuck on the 1st problem how do you navigate to the comedy/directory


#2

Hi you do can do it like that

cd comedy/

#3

thank you do you know the command line for drama/directory? If so give me it lol'


#4

the comand cd is for navigate into a directory so if you want to go inside the drama directory you just need to type ...

cd drama/

#5

thank you that helps a lot lol do you also know the Historical Directory?


#6

it will still be ..

cd Historical

#7

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