SE-Foundation Help

0x00. Shell, navigation

Welcome to the Matrix!

matrix

This project will (probably) be your first experience with an Unix terminal!

For this project, please start and connect to your Sandbox Ubuntu 20.04.

Resources
man pwd man ls man cd man less man touch man cp man mv man rm man mkdir man rmdir
Learning Objectives

At the end of this project, you are expected to be able to explain to anyone, without the help of Google

General
  • How to navigate in an Unix system

  • How to list files and directories

  • How to display the content of a file

  • How to create a file or directory

  • How to remove a file or directory

  • How to move or copy a file or directory

Copyright - Plagiarism
  • You are tasked to come up with solutions for the tasks below yourself to meet with the above learning objectives.

  • You will not be able to meet the objectives of this or any following project by copying and pasting someone else’s work.

  • You are not allowed to publish any content of this project.

  • Any form of plagiarism is strictly forbidden and will result in removal from the program.

    Tasks

    0. Create me

    Access your sandbox and:

    • Change your working directory to /root

    • Then, create an empty file so_cool

    Advice

    • Don’t forget to validate your current working directory

    • Don’t forget to display the list of files of your current directory to validate the creation of the new file

    2. To old

    Access your sandbox and:

    • Change your working directory to /root

    • Create a file old_school

    • Then, rename the file old_school to new_school (in the same directory)

    Advice

    • Don’t forget to validate your current working directory

    • Don’t forget to display the list of files of your current directory to validate the renaming of the file

    3. Not here

    Access your sandbox and:

    • Change the working directory to /root

    • Create a file not_here

    • Then, move the file not_here to /tmp/right_school

    Advices:

    • Don’t forget to validate your current working directory

    • Don’t forget to display the list of files of your current directory to validate the move of the file

    4. Not anymore

    Access your sandbox

    • change your working directory to /root

    • Create a file ready_to_be_removed

    • Then, delete the file ready_to_be_removed

    Advices:

    • Don’t forget to validate your current working directory

    • Don’t forget to display the list of files of your current directory to validate the removal of the file

    5. Organization is key!

    Access your sandbox and:

    • Change your working directory to /root

    • Then, create a directory school_is_amazing

    Advices:

    • Don’t forget to validate your current working directory

    • Don’t forget to display the list of directories of your current directory to validate the creation of the directory

    6. No need

    Access your sandbox and:

    • Change your working directory to /root

    • Create a directory empty_directory

    • Then, remove the directory empty_directory

    Advices:

    • Don’t forget to validate your current working directory

    • Don’t forget to display the list of directories of your current directory to validate the removal of the directory

      Last modified: 27 September 2024