LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Standard unix io (https://www.linuxquestions.org/questions/linux-newbie-8/standard-unix-io-4175568074/)

Joy Stick 01-27-2016 04:30 PM

Standard unix io
 
I see some technology is using STANDARD UNIX IO ?
  1. What is STANDARD UNIX IO ?
  2. Is there any Standard/Non Standard IO for UNIX/LINUX ?
  3. UNIX is different, Linux is different then Why linux (RHEL/CENTOS) is using STANDARD UNIX IO ?

If my question is immature , please dont mud it.

Didier Spaier 01-27-2016 04:42 PM

What do you mean by "standard UNIX IO"? Can you give a reference, a link to a standard or specification, or at least an article tho which you refer?

I am sorry, but I just do not understand what you are talking about. Also, by IO do you mean I/O (Input/Output), or else what?

BW-userx 01-27-2016 07:25 PM

Linux and GNU is modeled after UNIX POSIX

jpollard 01-27-2016 09:34 PM

Quote:

Originally Posted by Joy Stick (Post 5488217)
I see some technology is using STANDARD UNIX IO ?
  1. What is STANDARD UNIX IO ?
  2. Is there any Standard/Non Standard IO for UNIX/LINUX ?
  3. UNIX is different, Linux is different then Why linux (RHEL/CENTOS) is using STANDARD UNIX IO ?

If my question is immature , please dont mud it.

I suspect you are referring to "stdio.h" facility for programming, but can't be sure as the term "STANDARD UNIX IO" doesn't make any sense.

Linux is based on standards - and the only standard commonly accepted has been POSIX, and Linux follows that, though not everything in Linux does.

Using POSIX DOES mean that programs that run on UNIX systems will USUALLY run on Linux just by recompiling. I say USUALLY because there are a lot of UNIX programs that use proprietary libraries in addition. These will not recompile/run on Linux UNLESS the proprietary libraries exist on Linux or a functional equivalent is available on Linux.

jefro 01-28-2016 05:45 PM

Standard Unix I/O? Input output?

frankbell 01-28-2016 08:32 PM

If jefro's guess is correct, see

[COPY]man stdin
stdout
man stderr
[/COPY]

BW-userx 01-28-2016 09:00 PM

I don't want to look like the bad guy, but, I'm finding it rather .... that someone cannot understand that IO in the sentance Standard Unix IO -- consider the contents people he/she meant to say I/O --

do you say I Backslash O when you talk about it to someone?

frankbell 01-28-2016 09:56 PM

Given how much jargon exists in Computer World, I see nothing wrong with persons' asking clarifying questions.

The road to misunderstanding is paved with assumptions.

MrTux 01-28-2016 10:19 PM

POSIX.


IF you are reffering to something different maybe the good ole days of AS400 would be a different "Unix i/o"

hidalgo_socorro 01-29-2016 10:54 AM

Maybe he meant how to use IO on shell ?

cat /file > /otherfile (Redirect stdout)

while read line; do (Redirect stdin)
echo $line
done < /otherfile

BW-userx 01-29-2016 11:08 AM

Quote:

Originally Posted by hidalgo_socorro (Post 5489416)
Maybe he meant how to use IO on shell ?

when you say "how to use IO on shell" what do you mean by shell? nut shell, walnut maybe? like in, "I couldn't get my shell open so I went all IO on it"?

hidalgo_socorro 01-29-2016 11:19 AM

I meant bash or any other shell. Why is this an issue ?
Quote:

Originally Posted by BW-userx (Post 5489430)
when you say "how to use IO on shell" what do you mean by shell? nut shell, walnut maybe? like in, "I couldn't get my shell open so I went all IO on it"?


BW-userx 01-29-2016 11:21 AM

....Given how much jargon exists in Computer World, I see nothing wrong with persons' asking clarifying questions.

The road to misunderstanding is paved with assumptions.......
frankbell
LQ Guru

suicidaleggroll 01-29-2016 11:23 AM

Quote:

Originally Posted by BW-userx (Post 5489430)
when you say "how to use IO on shell" what do you mean by shell? nut shell, walnut maybe? like in, "I couldn't get my shell open so I went all IO on it"?

Don't be a brat.

Instead of attacking everyone else in the thread, if you think the question is so clear, then how about you answer it? Even if he does mean I/O, the question is still vague and ambiguous, and I see no issue with people asking for clarification.

BW-userx 01-29-2016 11:30 AM

Quote:

Originally Posted by suicidaleggroll (Post 5489440)
Don't be a brat.

Instead of attacking everyone else in the thread, if you think the question is so clear, then how about you answer it? Even if he does mean I/O, the question is still vague and ambiguous, and I see no issue with people asking for clarification.

I already did (give my answer), then people seemed to have forgotten about the spoken word and common sense.

when someone comes up to you and says what is UNIX IO or what is IO when when you know the contents is about computer or programming what is your immediate thought? Input/outPut or somthing else that uses the letters IO?


All times are GMT -5. The time now is 09:22 AM.