LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-05-2015, 11:53 AM   #1
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110
Blog Entries: 4

Rep: Reputation: 0
default input and output device in Linux


"Under UNIX the key board is the default input device and the monitor is the default output device."

Is it true?

What about STDIN and STDOUT? Are they not the default input and output device?
 
Old 09-05-2015, 12:53 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
STDIN and STDOUT aren't devices, but streams or pipes. Usually, unless you use pipes or redirection, those streams are connected to the standard input/output devices, which in almost all cases are keyboard and monitor.
 
1 members found this post helpful.
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mii-diag:default interface eth0 w/SIOCGMIIREC on eth-0 failed: Input/output error Cathy Cruz Linux - Newbie 2 04-17-2012 06:06 AM
mii-diag:default interface eth0 w/SIOCGMIIREC on eth-0 failed: Input/output error Cathy Cruz Linux - Newbie 0 04-17-2012 04:15 AM
Device monitoring for input / output gratney Linux - Software 3 04-03-2009 03:39 PM
Input/Output errors when mv or cp from local machine->NAS device via NFS? Matt@Ants Linux - Networking 2 06-24-2003 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:51 AM.

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
Open Source Consulting | Domain Registration