Activity 3 - Explore Current Directory
Now that we know who and where we are, let’s take a look around for signs of the hackers.
How do you explore the directory?
To see the files in the current directory, we use the
ls command. Try
To see the Files in the current directory, we use the
How do I get more info about the files in this directory?
-l flag in the above command tells
ls to list long form information.
What information is being displayed?
Let’s examine the top line of the example above from left to right, for the directory
drwxr-xr-x 2 nuvi nuvi 4096 Aug 10 23:50 Desktop
- drwxr-xr-x: The first character
ddenotes that Desktop is a directory. If it were a
-it would mean that Desktop was a file.
- 2: The number of links for this file
- nuvi: The user who owns this file
- nuvi: The group this file belongs to
- 4096: The size of the file in bytes
- Aug 10 23:50: Date and time the file was created
- Desktop: Name of the directory