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


$ 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.
Let’s try out another option for the ls command.

Navigate to the comedy/ directory.
Then type

ls -alt

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

Hi you do can do it like that

cd comedy/

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

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/
1 Like

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

it will still be …

cd Historical

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