LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2009, 04:29 AM   #1
tulsi
Member
 
Registered: Aug 2009
Location: Chennai
Posts: 54

Rep: Reputation: 15
Question Why use EOF in Linux?


Hi Experts,
Why use EOF in linux?
plz explain......
 
Old 08-26-2009, 04:35 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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?

Last edited by colucix; 08-26-2009 at 04:36 AM.
 
Old 08-26-2009, 04:36 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
To mark the end of a file or stream. Just like in almost any existant OS.
 
Old 08-26-2009, 04:43 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
It quite looks like a homework to me.
 
Old 08-26-2009, 04:59 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using eof in c++ twelvenine Programming 3 10-26-2008 12:30 AM
EOF and \n exvor Programming 4 12-27-2005 03:20 PM
eof ... c ... linux xviddivxoggmp3 Programming 6 03-31-2004 01:56 PM
<< Eof ? sikandar Linux - Software 5 09-18-2003 12:39 PM
End Of File Key (EOF) in linux ereeno Linux - Software 3 08-05-2003 04:05 AM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration