LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-18-2017, 06:20 PM   #1
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,875
Blog Entries: 27

Rep: Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163
Arrow Explanation of “Everything is a File” and Types of Files in Linux


Hi,

Explanation of “Everything is a File” and Types of Files in Linux
Quote:
If you are new to Linux, or have used it for a few months, then you must have heard or read statements such as “In Linux, everything is a File”.

Read Also: 5 Useful Commands to Manage Linux File Types

That is in fact true although it is just a generalization concept, in Unix and its derivatives such as Linux, everything is considered as a file. If something is not a file, then it must be running as a process on the system.
To understand this, take for example the amount of space on your root (/) directory is always consumed by different types of Linux files. When you create a file or transfer a file to your system, it occupies some space on the physical disk and it is considered to be in a specific format (file type).
And also the Linux system does not differentiate between files and directories, but directories do one important job, that is store other files in groups in a hierarchy for easy location. All your hardware components are represented as files and the system communicates with them using these files.
Very resourceful article and a good read.
Hope this helps.
Have fun & enjoy!

Last edited by onebuck; 09-18-2017 at 06:25 PM.
 
Old 09-19-2017, 12:03 PM   #2
dedec0
Member
 
Registered: May 2007
Posts: 560

Rep: Reputation: 26
Thumbs down Do you think the above post is useful?

Do you (people reading this thread) think the above post is useful?

I do. I enjoyed reading it, adding a few details to what I already knew. But there is no way to easily and quickly thank Onebuck. There are comments, fine, but I am imagining something as simple as "Mark this post as useful". It does not exist for first posts, from what I have seen.

Onebuck, please make a post with (possibly) just a link to #1, so me and more people may thank you.

(:
 
Old 09-19-2017, 12:10 PM   #3
jsbjsb001
Member
 
Registered: Mar 2009
Location: hopefully somewhere on earth? ;)
Distribution: Whatever Linux distro that suits my needs!
Posts: 641

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Yep, that's one of the biggest differences between UNIX/Linux and Windows, in that Windows just treats files as storage of information, but on the other hand UNIX/Linux uses the file system as a "communications channel".

Thanks for the link onebuck!
 
2 members found this post helpful.
Old 09-19-2017, 02:04 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,875
Blog Entries: 27

Original Poster
Rep: Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163
Member response

Hi,

Quote:
Originally Posted by dedec0 View Post
Do you (people reading this thread) think the above post is useful?

I do. I enjoyed reading it, adding a few details to what I already knew. But there is no way to easily and quickly thank Onebuck. There are comments, fine, but I am imagining something as simple as "Mark this post as useful". It does not exist for first posts, from what I have seen.

Onebuck, please make a post with (possibly) just a link to #1, so me and more people may thank you.

(:
Thank you! I post this type of thread that contains useful information to our LQ members. I read a lot and find jewels then I attempt to share those.

For original posts a member can give rep on the left side of post by clicking on the scale. You can then submit a comment when you are giving rep.

Hope this helps.
Have fun & enjoy!
 
2 members found this post helpful.
Old 09-19-2017, 05:30 PM   #5
dedec0
Member
 
Registered: May 2007
Posts: 560

Rep: Reputation: 26
Talking

Quote:
Originally Posted by onebuck View Post
For original posts a member can give rep on the left side of post by clicking on the scale. You can then submit a comment when you are giving rep.
I did not even imagine that! (:

Sometimes I feel good when someone marks a post I did as useful. But I imagined that more members could do that, which did not seem usual around here.

Now, let me find a bit more about that feature...
 
Old 09-19-2017, 09:07 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,515
Blog Entries: 4

Rep: Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964
Trouble is, although something might have a place in the filesystem, it does not necessarily correspond to "space on disk." For instance, the /proc, /sys, /dev "directories" are purely synthetic. Likewise, a filesystem-location might correspond to a socket.
 
1 members found this post helpful.
  


Reply

Tags
file, file association, file type


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Download Files with Wget on the Linux Shell - Explanation and Examples LXer Syndicated Linux News 0 04-26-2017 06:42 PM
[SOLVED] Ask for the explanation of types of RAM on disk drive controllers 915086731 Linux - Hardware 4 04-16-2014 08:33 PM
Explanation of Group Types in Samba/Linux/Windows des_a Linux - Server 1 01-02-2008 04:03 PM
Genral Questions on Types of Linux Files roiboy Linux - Newbie 4 04-27-2004 08:22 PM
file extensions ? types ? executable files ?? abbasakhtar Linux - Newbie 13 10-06-2003 05:12 PM

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

All times are GMT -5. The time now is 01:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration