Managing Directories and Files Lab

Activity Overview

In this lab, I practiced using Linux commands to modify directory structures and manage the files they contain. I also used the nano text editor to add content to a file, which helped reinforce my understanding of working in the shell without a GUI.

Scenario

I worked within the /home/analyst directory, which started with a disorganized structure. My goal was to create a clean, well-structured hierarchy by using basic Bash shell commands.

  1. Created a new logs subdirectory under /home/analyst.
  2. Removed the existing temp directory.
  3. Moved Q3patches.txt into the reports directory.
  4. Deleted tempnotes.txt from the notes subdirectory.
  5. Created a new file called tasks.txt using nano and recorded the tasks I completed.

The final result was a structured and cleaner directory layout, reflecting real-world file and directory management in a Linux environment.

What I Learned

This lab helped me become confident using:

These are essential tasks for any Linux-based role in cybersecurity, especially when documenting or organizing digital evidence.

← Back to Portfolio