Windows regedit (Windows Registry) equivalent in Linux
Linux stores all configuration in plain text files rather than a registry. System config is in /etc/, user config is in ~/.config/ and dotfiles.
regedit (Windows Registry)
/etc/ and ~/.config/
/etc/ and ~/.config/
/etc/ and ~/.config/
Overview
What this command does
Linux stores all configuration in plain text files rather than a registry. System config is in /etc/, user config is in ~/.config/ and dotfiles.
Practical tasks
Common use cases
System and application configuration storage
Linux stores all configuration in plain text files rather than a registry. System config is in /etc/, user config is in ~/.config/ and dotfiles.
/etc/
System-wide configuration files
~/.config/
Per-user application configuration
~/.bashrc
User shell config (PATH, aliases, etc.)
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
sudo nano /etc/hosts
Walkthrough
Examples with explanations
# Windows: regedit (registry editor)
# Key config file locations:
/etc/hosts = hostname to IP mappings
/etc/fstab = disk mount config
/etc/ssh/sshd_config = SSH server settings
~/.bashrc = your shell aliases and PATH
~/.config/ = GUI app preferences
# Edit system config:
sudo nano /etc/hosts
Reference
Common options and variations
| Command or option | Use |
|---|---|
/etc/ | System-wide configuration files |
~/.config/ | Per-user application configuration |
~/.bashrc | User shell config (PATH, aliases, etc.) |
~/.profile | User login environment variables |
dconf-editor | GUI config editor (GNOME desktop settings) |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | /etc/ and ~/.config/ |
Same command on this distribution. |
| Fedora | same command | /etc/ and ~/.config/ |
Same command on this distribution. |
| Arch | same command | /etc/ and ~/.config/ |
Same command on this distribution. |
Keep learning