<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq" -->

---
title: Everything in Linux is a file! | daily.dev
description: An introductory walkthrough explains the Linux philosophy that everything is a file, covering how to navigate the filesystem with commands like pwd, cd, ls,...
canonical: https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Everything in Linux is a file! | daily.dev
og:description: An introductory walkthrough explains the Linux philosophy that everything is a file, covering how to navigate the filesystem with commands like pwd, cd, ls,...
og:url: https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq
og:image: https://api.daily.dev/og/posts/hwrcoP8dQ.png
og:image:alt: Everything in Linux is a file!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Everything in Linux is a file!

**[That DevOps Guy](https://daily.dev/sources/marcel-dempers)** · 2 min read · 0 upvotes · 0 comments

## Summary

An introductory walkthrough explains the Linux philosophy that everything is a file, covering how to navigate the filesystem with commands like pwd, cd, ls, and whereis. It breaks down key directories such as /bin, /home, /etc, /boot, /root, /var, /srv, /dev, /proc, /sys, /run, and /mnt, explaining their purpose and how file type indicators (l, d, dash, c) work in ls output. Ends with a promotional pointer to a fuller video on Linux and DevOps skills.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=p457br3ipBs>

## Questions this post answers

### What does it mean that everything in Linux is a file?

In Linux, applications, devices, and processes are all represented as files accessible through the filesystem. For example, the /dev directory holds device files like CPU cores, disks, and memory, while /proc contains a numbered directory for every running process holding its statistics. This unified file abstraction lets standard commands like ls and cat interact with hardware and system state.

_Developers building Linux fluency can browse deeper filesystem explainers and DevOps content on daily.dev._

### What is the difference between the /bin and /etc directories in Linux?

The /bin directory holds executable binaries and applications, such as ls, wget, and whereis, and is typically symlinked to /usr/bin on modern systems. The /etc directory instead holds systemwide configuration files local to the machine, controlling how services and the system behave rather than providing executable programs.

_Anyone navigating a new Linux server can keep directory references like this handy via daily.dev._

### How can I tell if a file listed by ls is a symbolic link, directory, or device in Linux?

Running ls -la shows a leading character indicating file type: 'l' means a symbolic link, 'd' means a directory, a dash means a regular file, and 'c' means a device file. For instance, /bin commonly appears as a symlink to /usr/bin, marked with the 'l' character in the listing.

_Engineers sharpening core Linux skills can find more command-line breakdowns through daily.dev._

## Similar posts on daily.dev

- [Linux's 'everything is a file' idea is 50 years old, and it still explains why the OS feels so different](https://daily.dev/posts/linux-s-everything-is-a-file-idea-is-50-years-old-and-it-still-explains-why-the-os-feels-so-diffe-tmf5qg45d) · XDA Developers · 3 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#linux](https://daily.dev/tags/linux), [#cli](https://daily.dev/tags/cli)

[View this post on daily.dev](https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Everything in Linux is a file!","url":"https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq"},"datePublished":"2026-09-22T11:58:37.788Z","dateModified":"2026-09-22T12:04:11.919Z","description":"An introductory walkthrough explains the Linux philosophy that everything is a file, covering how to navigate the filesystem with commands like pwd, cd, ls,...","image":"https://i.ytimg.com/vi/p457br3ipBs/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/p457br3ipBs/sddefault.jpg","isAccessibleForFree":true,"articleSection":"That DevOps Guy","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"That DevOps Guy","logo":"https://media.daily.dev/image/upload/s--dGnHjfCV--/f_auto,q_auto/v1780213230/logos/marcel-dempers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/marcel-dempers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,linux,cli","timeRequired":"PT2M","video":{"@type":"VideoObject","name":"Everything in Linux is a file!","description":"An introductory walkthrough explains the Linux philosophy that everything is a file, covering how to navigate the filesystem with commands like pwd, cd, ls,...","thumbnailUrl":"https://i.ytimg.com/vi/p457br3ipBs/sddefault.jpg","uploadDate":"2026-09-22T11:58:37.788Z","duration":"PT2M","url":"https://api.daily.dev/r/hwrcoP8dQ","embedUrl":"https://www.youtube.com/embed/p457br3ipBs"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"That DevOps Guy","item":"https://daily.dev/sources/marcel-dempers"},{"@type":"ListItem","position":3,"name":"Everything in Linux is a file!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/everything-in-linux-is-a-file--hwrcop8dq#faq","mainEntity":[{"@type":"Question","name":"What does it mean that everything in Linux is a file?","acceptedAnswer":{"@type":"Answer","text":"In Linux, applications, devices, and processes are all represented as files accessible through the filesystem. For example, the /dev directory holds device files like CPU cores, disks, and memory, while /proc contains a numbered directory for every running process holding its statistics. This unified file abstraction lets standard commands like ls and cat interact with hardware and system state. Developers building Linux fluency can browse deeper filesystem explainers and DevOps content on daily.dev."}},{"@type":"Question","name":"What is the difference between the /bin and /etc directories in Linux?","acceptedAnswer":{"@type":"Answer","text":"The /bin directory holds executable binaries and applications, such as ls, wget, and whereis, and is typically symlinked to /usr/bin on modern systems. The /etc directory instead holds systemwide configuration files local to the machine, controlling how services and the system behave rather than providing executable programs. Anyone navigating a new Linux server can keep directory references like this handy via daily.dev."}},{"@type":"Question","name":"How can I tell if a file listed by ls is a symbolic link, directory, or device in Linux?","acceptedAnswer":{"@type":"Answer","text":"Running ls -la shows a leading character indicating file type: 'l' means a symbolic link, 'd' means a directory, a dash means a regular file, and 'c' means a device file. For instance, /bin commonly appears as a symlink to /usr/bin, marked with the 'l' character in the listing. Engineers sharpening core Linux skills can find more command-line breakdowns through daily.dev."}}]}
```

