Some important and comes in handy files in /etc

The "/etc" folder on a Linux or Unix-based system contains configuration files for various system and application programs. Here are some examples of what you might find in the "/etc" folder:

  • "/etc/passwd": This file contains user account information, such as user names and home directories.

  • "/etc/group": This file contains group information, such as group names and group members.

  • "/etc/hosts": This file contains hostname mappings to IP addresses for the local system.

  • "/etc/fstab": This file contains information about file systems that are mounted at boot time.

  • "/etc/resolv.conf": This file contains information about DNS name servers.

  • "/etc/ssh/sshd_config": This file contains configuration settings for the SSH daemon, which allows remote access to the system.

  • "/etc/sudoers": This file contains configuration settings for the sudo command, which allows users to execute commands with root privileges.

Overall, the "/etc" folder is an important location for system administrators and developers to configure and customize their systems. It's important to be careful when modifying files in this folder, as changes can have a significant impact on system behavior.