Essential /etc config files on Linux

On Linux, /etc is basically where system-wide configs live — both core system settings and app-specific configs.

Let’s break down the most common stuff you’ll find in there 😎👆

Find high-res pdf ebooks with all my Linux related infographics at https://study-notes.org

#linux #softwaredeveloper #sysadmin #devops #software

5/3 Edited to

... Read moreThe /etc directory on Linux systems is a treasure trove of configuration files that define how the system and its applications behave. Beyond the basic idea that /etc houses system-wide settings, it's important to understand the roles of specific configuration files and directories to better manage a Linux environment. For instance, user management files such as passwd and group handle local user accounts and group memberships, while shadow and gshadow store encrypted password data securely. Legacy initialization scripts are often found in /etc/init.d/, though many modern Linux distributions have shifted to systemd, which uses unit files stored in /etc/systemd/ to control services and startup procedures. When dealing with boot settings, /etc/default/grub contains the main configuration for GRUB, the bootloader; editing this allows customization of kernel parameters and boot options. Network configuration is another critical area within /etc. Depending on your Linux distribution, you might interact with NetworkManager, netplan (common on Ubuntu), or sysconfig (used on Fedora and RHEL). Files like resolv.conf manage DNS resolver settings, and hosts files map IP addresses to hostnames locally, which is useful for small networks or overriding DNS. Security-related configurations are just as crucial; sudoers files determine who can execute commands with elevated privileges, while /etc/ssh/ contains settings for securing remote access via OpenSSH. PAM (Pluggable Authentication Modules) configurations in /etc/pam.d/ regulate authentication tasks, bolstering system security. Package management configurations within /etc vary among distributions, such as apt for Debian-based systems and yum or dnf repos for Fedora and RHEL. SELinux and AppArmor have their respective directories (/etc/selinux/, /etc/apparmor.d/) to control mandatory access controls and security policies. Additional system settings worth noting include sysctl.conf and accompanying directories for persistent kernel parameter settings, modprobe.d for kernel module management, and timezone settings to ensure correct system time. From my experience managing Linux servers, being familiar with these /etc files streamlines troubleshooting and customization. Small edits in these config files can fix complex issues or tailor the system precisely to operational needs. For anyone looking to deepen their Linux skills, regularly exploring the /etc directory and its structured configuration files is invaluable. This hands-on familiarity has helped me confidently adapt to different Linux flavors and environments, ensuring smooth system administration and enhanced security.

Related posts

Essential /etc configuration files on Linux
On Linux, the /etc directory is where system-wide system settings or app-specific configuration files are stored Let’s find out what types of /etc config files are commonly available on Linux 😎👇 #devops #opensource #software Find high-res pdf books with all my #Linux related infog
Learn Linux with Dan

Learn Linux with Dan

4 likes

These sites saved my brain in 2025 🧠💻
1. ChatHub I used to bounce between AI platforms, copy-pasting the same prompt over and over to compare answers. With ChatHub, I can talk to multiple AIs at the same time, in one clean interface. It’s honestly my go-to whenever I’m brainstorming content, writing study scripts, or just curious whi
emilie.studygram

emilie.studygram

561 likes

Powerful Websites
#ai #fromsoftware #fyplemon8 #fy #fypシ
Tha Smoke Websites

Tha Smoke Websites

213 likes

An infographic titled 'Android Filesystem Structure' created by Dan Nanni, detailing the hierarchical organization of Android directories like /boot, /cache, /data, /system, and their specific functions for OS operation and user data.
Android file system hierarchy
Android’s file system is based on #linux and organized into distinct partitions: /system holds the core OS files, /data contains user apps and personal data, and /storage provides access to internal and external storage locations Here is a description of #Android file system hierarchy 😎👆 #so
Learn Linux with Dan

Learn Linux with Dan

29 likes

A desk setup featuring a white keyboard, a pink mouse, a glittery pencil case with pens, and a pink notebook, with text overlayed: '5 Minute Productivity Hacks for students with no time'.
A desk with a computer monitor displaying code, a white keyboard, and a neon butterfly light, illustrating the tip: 'Prioritize tasks Do the most important tasks first'.
A clean desk setup with a laptop, a monitor, a tablet, and a pink timer, highlighting the advice: 'Use a timer Set a 5 minute timer to start small tasks quickly'.
These Student Tips Only Take 5 Minutes!!
If you're a student who has no time then you need these hacks! They only take 5 minutes but they can really help you boost your grades! Prioritize tasks: Do the most important tasks first. This is called 'eating the frog' and it means to take care of the most important or hardest tas
CompSkyy

CompSkyy

53 likes

dm for config$) #rust #rustconsole #viralvideo #rustgame #fyp
STOMPN

STOMPN

0 likes

//dm for config$ #rust #rustconsole #viralvideo #rustgame #fyp
STOMPN

STOMPN

0 likes

A shopping bag overflowing with various cosmetic products, including lip glosses and concealers. The text "My favourite animal is me when I have money" is overlaid on the image.
A car interior featuring a pink patterned tote bag, a smaller handbag, a pink gift box with a bow, and a bouquet of pink roses. A decorative pink tumbler is visible in the foreground.
A woman with blonde hair, wearing glasses and a pink top adorned with a large pink bow and a name tag. The text "Finally it's sundayyyy ✨" is overlaid on the image.
That’s me, I’m the Animal 🌸✨
Just a girly girl in her Softest era 🎀 #cuteandprofessional #so girly #softaestheticgirl #so cute and very coquette #Lemon8Diary
✨🌸𝒫𝓇𝒾𝓃𝒸ℯ𝓈𝓈 ℛℴ𝓈ℯ𝓎 🌸✨

✨🌸𝒫𝓇𝒾𝓃𝒸ℯ𝓈𝓈 ℛℴ𝓈ℯ𝓎 🌸✨

11 likes

A student's organized desk with a tablet displaying an article about sleep and weight gain, surrounded by study notes, a drink, and various stationery. The image highlights '4 Powerful Websites for a 4.0 GPA This Semester'.
Screenshots of Gizmo AI showing features like creating practice quizzes from uploaded materials, generating learning steps, and providing explanations for wrong answers, designed for active recall and understanding.
Screenshots of TurboLearn AI demonstrating its ability to transcribe audio/video lectures, offer a chatbot for uploaded content, and generate flashcards and quizzes, allowing students to focus in class.
4 Websites I'm Using to Aim for a 4.0 GPA
1. Gizmo AI 🧠 I use this to turn any of my course materials—lecture slides, PDFs, even YouTube videos—into a practice quiz in seconds. It's the ultimate way to practice active recall and test myself on what I actually know, not just what I've passively read. It’s like having an endless sup
emilie.studygram

emilie.studygram

89 likes

dm for config$// #rust #rustconsole #fyp #xim #rustgame
STOMPN

STOMPN

0 likes

dm for config$// #rust #rustconsole #fyp #xim #rustgame
STOMPN

STOMPN

0 likes

One Method That Will Change How You Study Forever📚
The 5+1+1 method is all about smarter studying, not longer studying. Spend 5 minutes reviewing old material, 1 focused hour on new learning, and 1 day later revisit it again to reinforce retention. It’s a simple rhythm that uses spaced repetition and active recall to make studying way more effectiv
QuelleChaos🧘🏽‍♀️🔮☮️

QuelleChaos🧘🏽‍♀️🔮☮️

182 likes

Q.O.L Mods for Stardew Valley 🌱
back with more stardew mods, this time with some of the ones that help make my game a little less stressful :] are some of these are bit cheaty? maybe! but it’s my game and i can play however i want hehe bro why did lemon8 slightly shift all the text to the right ??? it was centered during editi
gondola ☆

gondola ☆

663 likes

Toasty Sauce

Toasty Sauce

8 likes

dm for it$$ #rust #xim #ximmatrix #fyp #rustconsole @farmerbean67 @.buqzr
STOMPN

STOMPN

0 likes

#dancinonhisgrave🪦
Emily Meyers

Emily Meyers

0 likes

LEVEL UP
#linux #technology #cybersecurity #code
Luna Bright

Luna Bright

4 likes

A Linux Cheatsheet for Engineers from @thealpha.dev, listing various commands categorized into File System Operations, File Permissions, Process Management, Networking, System Information, Package Management, Shell Scripting, User and Group Management, File Transfer, and System Services. A penguin on a skateboard is at the bottom.
Linux cheat sheet✨️
Where are my tech babes at?👩🏿‍💻 This is something I'm learning in school😍 It's been super fun typing things into the command line and actually getting a response🥹💕💕💕 One of my classmates shared this cheat sheet to make using Linux easier #imdoingsomethingright #CybersecurityAwarenessMon
Deya!

Deya!

27 likes

An infographic illustrating the Linux PAM Architecture. It shows PAM-aware applications interacting with the PAM API and library (libpam.so). The library consults PAM config files to load and execute PAM modules, which then determine if access is granted or denied, delegating authentication and account management.
Linux PAM architecture
Linux PAM (Pluggable Authentication Modules) is a modular system that lets applications handle user authentication and access control through configurable policies, without hardcoding the logic into each program 😎👆 Find high-res pdf ebooks with all my Linux related infographics at https://study-
Learn Linux with Dan

Learn Linux with Dan

2 likes

Linux commands for hardware information
Knowing your hardware is essential for effective troubleshooting, system tuning, and performance optimization. That’s why it’s important to be familiar with the OS tools that let you examine different parts of your system’s hardware Here are a list of useful Linux commands for looking up hardwar
Learn Linux with Dan

Learn Linux with Dan

4 likes

An infographic titled 'Linux Security Hardening' by Dan Nanni, listing essential commands for system upgrades, user and SSH security, firewall setup, file permission checks, service management, port monitoring, USB device control, legacy service checks, and security auditing tools.
Linux system hardening commands
Securing a system against threats requires reducing vulnerabilities, tightening access, and disabling unnecessary services. Here are useful Linux commands for that 😎👆 #linux #softwaredeveloper #TechTips #upskill Find high-res pdf books with all my #cybersecurity related infographics
Learn Linux with Dan

Learn Linux with Dan

10 likes

Replying to @S🪩🍸✨ que configuración uso en mi canon r50 ? *siempre utilizo flash para las fotos ! #canon #canonr50 #canoncamera #digitalcamera #camerasettings @canonusa
Marise Randall

Marise Randall

4 likes

#fyp #Lemon8 #tiktok #tech #codember
codember

codember

3 likes

Unbox these with me. These13 Pro held up great. 💕 #iphone13pro #texhtol #ios #jamaica #apple
Kym Nicole | Content Creator

Kym Nicole | Content Creator

6 likes

carlitos cnc

carlitos cnc

1 like

7 core Claude Code features explained: mini crash course ... let's go! ✨
To unlock Claude Code's full potential you need to know what's available to you. Here's the TLDR: 🔹 CLAUDE.md → a markdown file Claude loads as context each session 🔹 Skills → packaged instructions Claude loads when the task matches 🔹 MCP → standard protocol for connecting Claude to external
lindavivah

lindavivah

3 likes

nena malik

nena malik

1 like

An infographic titled 'Embedded Linux Systems' presents 20 different embedded Linux distributions. These include Alpine Linux, Android OS, Arch Linux ARM, Armbian, DietPi, Fedora IoT, OpenWrt, Raspberry Pi OS, and Ubuntu Core. The graphic was created by Dan Nanni.
Embedded Linux systems
An embedded Linux distro is a lightweight, purpose-built version of Linux tailored for devices with limited resources. It includes only the essential components needed to run efficiently on specific hardware and apps Here are some of the most popular embedded Linux systems 😎👆 #Iot #raspberryp
Learn Linux with Dan

Learn Linux with Dan

5 likes

A computer screen displays a code editor with JavaScript/TypeScript code, showing a project structure and a file named 'EditForm.tsx'. An overlay text reads 'Best AI Coding App'.
Best AI Coding App
Best AI Coding App in 2025? It’s BootSelf – And Here’s Why You’ll Love It! If you’ve ever tried to learn coding and felt overwhelmed, confused, or just stuck… you're not alone. I’ve tested a dozen apps, platforms, and tutorials — but BootSelf is the AI-powered coding mentor that finally mad
devswitchwithai

devswitchwithai

142 likes

User management commands for Linux
Even on a single-user Linux system, multiple accounts keep root actions separate, run services with least privilege, and let you test things without breaking your main environment. Here are essential Linux commands for user management 😎👆 Find high-res pdf ebooks with all my Linux related info
Learn Linux with Dan

Learn Linux with Dan

3 likes

A list of Linux security hardening commands by Dan Nanni, study-notes.org. It covers system updates, account locking, firewall setup, SSH configuration, file permission checks, package management, service inspection, port checking, USB whitelisting, legacy service checks, and security auditing.
Linux security hardening commands
Locking down a Linux system comes down to shrinking the attack surface, tightening access, and cutting off anything unnecessary—here are the commands that help you do it 😎👆 Find high-res pdf ebooks with all my cybersecurity related infographics at https://study-notes.org/cybersecurity-ebook.html
Learn Linux with Dan

Learn Linux with Dan

4 likes

This image illustrates the Android Filesystem Structure, detailing various directories like /apex, /data, and /system, along with their specific functions. It shows how core OS files, installed apps, user data, and system components are organized. Created by Dan Nanni.
Android file system hierarchy
Android uses a Linux based file system organized into several main areas. /system stores the core OS files, /data holds installed apps and user data, and /storage provides access to internal and external storage where files like photos and downloads live 😎👆 Find high-res pdf ebooks with all my t
Learn Linux with Dan

Learn Linux with Dan

19 likes

30+ WordPress Plugins Used In Supply Chain Attack
30+ WordPress Plugins Used In Supply Chain Attack | Wordfence Security News Clip | April 13, 2026 A buyer acquired more than 30 WordPress plugins through the Flippa marketplace after purchasing the Essential Plugin portfolio for a six-figure sum. The buyer's first code commit was a backdoor
Wordfence

Wordfence

1 like

#Quick SED command cheat sheet for hackers & Linux users! ⚡ Clean logs, extract data, patch configs, anonymize info — fast and efficiently. 🔎💻 Master SED, level up your workflow. 🔒🔥 🔒 Disclaimer: This project is intended strictly for educational and ethical cybersecurity purposes. A
Luna Bright

Luna Bright

37 likes

Linux user management commands
Even on a single-user Linux system, having multiple user accounts is important for separating administrative tasks, securely running background services, and safely experimenting without affecting your main environment Here are essential Linux commands for user management 😎👆 #devops #softwar
Learn Linux with Dan

Learn Linux with Dan

5 likes

An infographic titled 'Free Packet Sniffers by OS' by Dan Nanni. It features logos for tools like Ettercap, Kismet, Wireshark, and Snort, with icons indicating their compatibility with Linux, Windows, and Android operating systems.
Free packet sniffers available on different OS
Packet sniffers capture and inspect network traffic across Layers 2-4, from Ethernet frames and IP packets to TCP/UDP segments and even non-Ethernet traffic like BLE packets. They are essential for troubleshooting, penetration testing, and network defense. Here are free packet-sniffing tools you
Learn Linux with Dan

Learn Linux with Dan

2 likes

#lemon8bookclub #manufacturedhomes #mobilehomes #tinyhouse #mysecondhome
oscarin gutierrez

oscarin gutierrez

2 likes

URLs de las app móviles
📱💻 En este video te explico cómo configurar las URLs de apps móviles dentro de tu Creator Central paso a paso. Te enseño qué debes colocar en cada sección para que tus enlaces de afiliado funcionen correctamente, se abran en la app de Amazon y no pierdas tus comisiones. 🔗✨ Ideal si estás empezando
ByLeisy

ByLeisy

0 likes

#viralvideo #foryoupage #blowthisup #warframecommunity
Bigju2025

Bigju2025

0 likes

An infographic titled 'How SSH Reverse Tunnel Works' illustrates how an internal machine behind a NAT/firewall connects to a public relay server (VPS) to create a tunnel. An external client then connects to the relay server, which forwards the connection to the internal machine.
How SSH reverse tunneling works
An SSH reverse tunnel lets a remote server listen on a port and forward incoming connections through an SSH tunnel to a service running on another machine. It is commonly used to expose a service on a machine behind NAT or a firewall to the outside network 😎👆 Find high-res pdf ebooks with all my
Learn Linux with Dan

Learn Linux with Dan

3 likes

POV: You live in the Caribbean and TikTok Shop said ‘not for you’ 😭🛑 But guess who pulled up with a VPN and vibes? 👀💅 #CaribbeanTikTok #TikTokShopHack #VPNUnlocked #IslandGirlHacks #ShopWithMe #bahamas🇧🇸 #bahamastiktok #caribbeantiktok #caribbeantiktokeurs🇭🇹🇬🇾🇹🇹🇸🇷🇯🇲
Calie💕

Calie💕

0 likes

An infographic titled 'OpenSSH Command Examples' by Dan Nanni, listing twelve practical OpenSSH commands for secure remote logins, file transfers, and command execution, including custom port connections, key authentication, preventing timeouts, running remote commands, port forwarding, jump servers, copying public keys, custom config files, SOCKS proxies, and connection multiplexing.
OpenSSH command examples
OpenSSH is a versatile suite of client and server tools that use the SSH protocol to provide encrypted and authenticated communication over networks. This toolset is heavily used for secure remote logins, file transfers, and command execution in various cloud and on-premises environments Here ar
Learn Linux with Dan

Learn Linux with Dan

6 likes

Yazi: a terminal-based Linux file manager
Yazi is a blazingly fast terminal file manager written in Rust, based on non-blocking async I/O. It aims to provide an efficient, user-friendly, and customizable file management experience within Linux terminals. A strong contender for the best TUI-based file manager title 😎👆 Find high-res pdf
Learn Linux with Dan

Learn Linux with Dan

3 likes

📍USB Write Protected? Fix It Instantly
Seeing “The disk is write-protected” error on your USB drive? This quick guide shows how to remove write protection and regain full access to your files. Learn how to check the physical lock switch, use DiskPart commands, repair file system errors, and fix registry issues step by step. Many cases a
XanthusTechCore

XanthusTechCore

5 likes

A black background image titled "Linux scp Command Examples" lists various scp commands with their functions, including copying files/directories, using custom SSH ports, compression, private keys, rate-limiting, and jump servers. It also features a small circular image with "Created by Dan Nanni study-notes.org".
Scp command examples
The scp command lets you securely copy files between hosts over an SSH connection. Some of you might think scp is deprecated but in fact what’s deprecated is the scp protocol, not the command itself. The command now uses a more secure sftp protocol by default Here are some of useful scp com
Learn Linux with Dan

Learn Linux with Dan

7 likes

Typical day
I just try to have fun and put a smile on someone’s face. I wish someone would put a smile on my face sometime, but I’ll try again tomorrow.
Maestro Oracle fixer

Maestro Oracle fixer

4 likes

best networking commands to use
I use these networking commands to troubleshoot where my data and messages are going try these commands on a terminal windows Mac or Linux you might be surprised what you find follow share like and visit infotechmentor.com #informationtechnology #infotechmentor #techcareer #te
alt+control+start

alt+control+start

3 likes

#決勝時刻M #DMZ撤離行動 #決勝6周年
ッBeGood

ッBeGood

0 likes

MacOS Tahoe 26 Features Part 4: Spotlight Upgrade
MacOS Tahoe 26 Features Part 4: Spotlight Upgrade #apple #macostahoe #macos26 #macos26features #macostahoeupdate
Premal Tailor

Premal Tailor

6 likes

Suero m

Suero m

1 like

2014 Cadillac CTS • CTS-V Sedan 4D Miles: 49k miles Engine: Supercharged 6.2L V8 Transmission: Automatic ASKING $5,500
Lynn Thompson

Lynn Thompson

0 likes

Alise

Alise

2 likes

A week thru pics
Thaglowfairy

Thaglowfairy

1 like

Quien más hace malabares para mantenerse activa con un bebé pequeño? 😜💞💪🏼 La pelota de yoga de @Momcozy Official viene con una app llena de ejercicios que nos solucionan los entrenamientos!! Les dejo cupones de descuento en mi bio! #momcozy #momcozybirthingball #momcozybra #momcozybabymonito
donka.malena

donka.malena

0 likes

See more