Welcome to the Linux Foundation Forum!

Exercise 8.1 clarification

fliker09fliker09 Posts: 39
edited October 2017 in LFS211 Class Forum

One thing I would like to clarify - what is the purpose of:

echo -e "Content-type: text/plain\n\n"


From what I understand - it is destined for browser, but I actually get it on the page like:

Content-type: text/plain

File is bar


Am I misunderstanding something?


  • lee42xlee42x Posts: 193
    edited September 2017

    The echo command causes the string to be printed rather than interpeted by the browser. This is the cgi script exicuting. 

Sign In or Register to comment.