Learn the command line 4.ls -alt


#1

I need assistance with ls -alt. I have looked up many different things to help me get through this but none have worked. Let's move on to copying, moving, and removing files and directories from the command line.

Navigate to the drama/biopic/ directory.

List all files and directories in the working directory.
2.
Then type

cp frida.txt lincoln.txt
Click Next to learn about this command.

I am inside of the drama/biopic directory, but i am not getting the green checklight. it says to list all files so I use all the different ls and ls - commands to list them but i still cannot get the checklight.
cd drama/biopic/
$ pwd
/home/ccuser/workspace/movies/drama/biopic
$ ls
cleopatra.txt frida.txt lincoln.txt notorious.txt ray.txt
$ ls -alt
total 28
drwxr-xr-x 2 ccuser ccuser 4096 Jul 8 2015 .
-rw-r--r-- 1 ccuser ccuser 13 Jul 8 2015 cleopatra.txt
-rw-r--r-- 1 ccuser ccuser 1431 Jul 8 2015 frida.txt
-rw-r--r-- 1 ccuser ccuser 2309 Jul 8 2015 lincoln.txt
-rw-r--r-- 1 ccuser ccuser 13 Jul 8 2015 notorious.txt
-rw-r--r-- 1 ccuser ccuser 7 Jul 8 2015 ray.txt
drwxr-xr-x 4 ccuser ccuser 4096 Jul 8 2015 ..
$


#2

Try with:

cd drama/biopic

Instead of:

cd darama/biopic/

Makes no difference to cd but codecademy might not accept all correct versions.. I don't know if that's it, I'm not able to test this without considerable effort since the exercises aren't repeatable


#3

Well, just mashing in the commands doesn't take any time when you know what to do, so I did. And what you typed:

cd drama/biopic/

Passes the first checkpoint in that exercise just fine.

If you mean that the first checkpoint turns green but not the second - then the second checkpoint isn't to list anything, it is to copy a file.