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
On Windows, "regedit (Windows Registry)" is used to system and application configuration storage. On Linux, the closest practical mapping shown here is "/etc/ and ~/.config/". Linux stores all configuration in plain text files rather than a registry. System config is in /etc/, user config is in ~/.config/ and dotfiles. This reference is grouped under System & Storage → System.
Windows → Linux context
What changes when you use this on Linux?
Equivalent task, different tool
Windows regedit (Windows Registry) maps to /etc/ and ~/.config/ for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.
Portable across the compared distros
The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.
For the broader concept behind this mapping, read Linux disks, storage and mounts.
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
Debian/Ubuntu, Fedora and Arch all use "/etc/ and ~/.config/" for this mapping. The command syntax shown here is portable across the three rows, although installed versions and system defaults can still vary.
| 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