In this lab, I built on my knowledge of Linux and practiced navigating the file system through the shell. I used core commands to move through directories and read the contents of specific files.
These skills are essential, especially when investigating incidents like unauthorized access. I learned how to locate reports, read logs, and analyze file contents without needing a graphical interface.
I was tasked with locating and analyzing specific files within the /home/analyst
directory.
Here's what I did step by step:
pwd
to find my current working directory and listed its contents.cd
to navigate to the reports
directory and listed subdirectories using ls
.users
directory and used cat
to display the contents of Q1_added_users.txt
.logs
directory and used head
to view the first 10 lines of a file.This scenario required me to apply my knowledge of Linux commands in a practical, security-focused environment.
This lab gave me hands-on experience with:
cd
pwd
ls
cat
and head
Understanding how to move around in a Linux environment and read data from files is critical as a security analyst.