Enrollments Open for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT Roorkee

  Apply Now

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 helloworld.py using touch helloworld.py
  • Add line print("Hello World") in helloworld.py and save the file
  • Please use the below command to add a line to the file

    echo 'print("Hello World")' > helloworld.py
  • Verify the file content using cat command

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

No hints are availble for this assesment

Answer is not availble for this assesment

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

Loading comments...