LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   -bash: GET: command not found under telnet (https://www.linuxquestions.org/questions/linux-newbie-8/bash-get-command-not-found-under-telnet-754326/)

thomas2004ch 09-11-2009 01:27 AM

-bash: GET: command not found under telnet
 
I enter following commands:

Code:

telnet www.mycompany.com:80
GET / HTTP/1.0
[return]

Later I got
Code:

-bash: GET: command not found
Someone knows why?

bathory 09-11-2009 02:03 AM

You should use a space between the host and the port:
Code:

telnet www.mycompany.com 80
Regards

thomas2004ch 09-11-2009 02:29 AM

You are right. I forget it. :)


All times are GMT -5. The time now is 09:34 PM.