• A script needs to know which devices to connect to.
    You keep that list in a file on the server, with one address per line.

    To create a directory, you use the command mkdir like this:

    netops@automation:~/automation$ mkdir inventory

    To create a file with a text in it, you use echo and the sign > like this:

    netops@automation:~/automation$ echo "10.0.0.1" > devices.txt

    In echo 10.0.0.1 > devices.txt, 10.0.0.1 is the text, the > sign is a redirection that sends the text into the file, and devices.txt is the file, created if it is not there

    Figure 1 - > Sends the Text Into the File

    Alone, echo prints the text on the screen. With >, the text goes into the file instead. This is called a redirection.

    In the lab, you need to:

    1. Create a directory named backups.

    2. Create a file named devices.txt that holds 10.0.0.1.

    Answer the question below

    Enter the flag you obtained.