Getting Started with Git

4 / 16

GitHub Project - Getting Started with Git - Create a File in Your Repository

Let's create a file in the repository.

  • Make sure you are in ~/devops directory

    • Create an empty file called using touch
    • Add line print("Hello World") in and save the file
    • Please use the below command to add a line to the file

      echo 'print("Hello World")' >

    • Verify the file content using cat command


    • You can use nano or vi editor to edit the file content if you are comfortable with them using commands like nano or vi

See Answer

No hints are availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...