I got error when i create file with content inside, please can someone response on first lab

Hi @ahmedidriss33,
Have you got a chance to check the Hint tab? We provided steps in the Hint tab.


Hello @ahmedidriss33

echo "This is not empty file" > /home/thor/contents_file.txt

Using echo only will print out the line of text, it will not redirect the output to the contents_file.txt file if you not include > (redirection) in the command.


Thanks for sharing @waiyanpyaesone06 ! @ ahmedidriss33 you missed the redirection symbol >


Thanks Wai , i corrected

1 Like

Hi Tej , yes i saw the hint but somehow i missed > but i corrected thanks

ahmedidriss33 Happy learning!