educative.io

Educative

Exercises dont work

When we cut and past using the option in clipboard it is is not finding. Not sure if anyone actually tested these exerciese. It is pretty bad just even to try it.


Type your question above this line.

Course: https://www.educative.io/collection/10370001/5371225300795392
Lesson: https://www.educative.io/collection/page/10370001/5371225300795392/6075652592631808
strong text

Hey @Sudhir_K_Raja
The expression proceeding the word prompt> is the actual command that you have to copy in the terminal. Anything in the code that does not contain prompt> is the output. For example:

prompt> echo hello > foo
prompt> cat foo
hello
prompt>

Line 1: you will run the command echo hello > foo in the terminal
Line 2: you will run the command cat foo in the terminal
Line 3: this is not a command, it is the terminal output.
Line 4: This indicates the state of the terminal

Hope this helped!