LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why use EOF in Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/why-use-eof-in-linux-750316/)

tulsi 08-26-2009 03:29 AM

Why use EOF in Linux?
 
Hi Experts,
Why use EOF in linux?
plz explain......

colucix 08-26-2009 03:35 AM

EOF means End-Of-File. It is used to terminate a source of input data, whereas the input data is a file or a stream. In linux you issue a EOF by pressing Ctrl-D to terminate the standard input, the DOS equivalent is Ctrl-Z. What is the scope of your question? Where did you encounter EOF?

i92guboj 08-26-2009 03:36 AM

To mark the end of a file or stream. Just like in almost any existant OS.

linuxlover.chaitanya 08-26-2009 03:43 AM

It quite looks like a homework to me.

i92guboj 08-26-2009 03:59 AM

Strange however, it's way more complicated to register here, and post a thread than it is to write "eof wiki" in the url bar of your browser. Go figure :p


All times are GMT -5. The time now is 10:35 PM.