Introduction
In this challenge, you'll practice organizing cybersecurity tools within a Kali Linux environment by building a specific directory structure. The goal is to create nested directories, /tools/scanners and /tools/exploiters, directly under the root directory / using a single mkdir command with the -p option.
This hands-on exercise requires you to utilize the mkdir command with the -p option to create the specified directory structure. Verification scripts are provided to ensure the successful creation of the tools, scanners, and exploiters directories in the correct locations.
Build Tool Directory Structure
Organize your cybersecurity tools by creating a specific directory structure. This challenge helps you practice creating nested directories using a single command.
Tasks
- Use the
mkdircommand with the-poption to create thetools/scannersandtools/exploitersdirectories in the root directory.
Requirements
- You must use the
mkdircommand. - You must use the
-poption to create the nested directories in a single command. - The base directory for the tools directory should be the root directory
/. - The full paths for the created directories should be
/tools/scannersand/tools/exploiters.
Examples
After successful completion, the directory structure should look like this:
/tools/
├── scanners
└── exploiters
Hints
The -p option allows you to create parent directories as needed. Remember to use absolute paths starting from the root directory /.
Summary
In this challenge, you are tasked with building a tool directory structure in Kali Linux using the mkdir command with the -p option. The goal is to create the /tools/scanners and /tools/exploiters directories in the root directory using a single command.
The key learning point is mastering the use of mkdir -p to create nested directories and understanding how to specify absolute paths starting from the root directory. Successful completion requires creating the specified directory structure and verifying its existence using provided scripts.


