Unix / Linux / Ubuntu Articles

Submit Article
Home » Articles » Unix / Linux / Ubuntu » BasicsRSS Feeds

Special files in unix

Posted By: Bette Fischer     Category: Unix / Linux / Ubuntu     Views: 3023

Special files in unix language.

Special files

The files such as /dev/nul

cmp file file > /dev/nul.

This file accepts any stream without growing in the size.
The size is always 0.
That is what ever is the answer of the comparision it always has the size 0.

The next file is /dev/tty

It is not the file representing the standard output, standard Err.
It is not used for writing . It is used whenever some statements are suppose to be redirected.



Didn't find what you were looking for? Find more on Special files in unix Or get search suggestion and latest updates.

Bette Fischer
Bette Fischer author of Special files in unix is from Frankfurt, Germany.
View All Articles

Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

No Comment Found, Be the First to post comment!