Linux configuration file

  
 

~/.bash_login

Please refer to “man bash”. If ~/.bash_profile does not exist, bash treats ~/.bash_login as ~/.bash_profile.

~/.bash_logout

Please refer to “man bash”. Referenced by the bash login shell on exit.

~/.bash_profile

Referenced by the bash login shell after reference /etc/profile .

~/.bash_history

A list of previously executed commands.

~/.bashrc

Please refer to “man bash”. Referenced by bash non-login interactive shell (no other files). Non-interactive shells do not reference any files unless BASH_ENV or ENV is set.

~/.emacs

Read by emac at startup.

~/.forward

If an email address is included here, then all messages sent to the owner of ~ will be forwarded to this email address.

~/.fvwmrc ~/.fvwm2rc

Configuration files for fvwm and fvwm2 (basic X Window Manager).

~/.hushlogin

Please refer to “man login”. Cause "no prompt" login (no email notification, last login information, or MOD information).

~/.mail.rc

The user initialization file for the mailer.

~/.ncftp/ncftp

Directory of programs; contains bookmarks, logs, macros, preferences, and trace information. See man ncftp. The purpose of ncftp is to provide a powerful and flexible interface to the Internet standard File Transfer Protocol. It is designed to replace the standard ftp program used by the system.

~/.profile

Please refer to “man bash”. If the ~/.bash_profile and ~/.bash_login files do not exist, bash treats ~/.profile as ~/.bash_profile and is used by other shells that inherit from Bourn.

~/.pinerc Pine Configuration

~/.muttrc Mutt Configuration

~/.exrc

This file controls the configuration of vi.

Example: set ai sm ruler

Writing the above line in this file will cause vi to set auto-indent, match parentheses, display line numbers, and row-column options.

~/.vimrc

The default “Vim” configuration file. Same as .exrc.

~/.gtkrc GNOME Toolkit (GNOME Toolkit).

~/.kderc KDE configuration.

~/.netrc

ftp default login and password.

~/.rhosts

Used by r-tools (such as rsh, rlogin, etc.). Because pretending to be a host is easy, security is very low.

Must be owned by the user (~/owner) or superuser.

Lists some hosts from which users can access the account.

If it is a symbolic link, it is ignored.

~/.rpmrc

See “man rpm”. Read by rpm if /etc/rpmrc does not exist.

~/.signature

The message text will be automatically appended to the end of the message sent from this account.

~/.twmrc

The configuration file for twm (The Window Manager).

~/.xinitrc

Read by X at startup (instead of being read by the xinit script). Some programs are usually started.

Example: exec /usr/sbin/startkde

If the above line exists in the file, this line will start the "KDE" window when issuing the startx command from this account. Manager & quoquo; (KDE Window Manager).

~/.xmodmaprc

This file is transferred to the xmodmap program and can be named any file (eg ~/.Xmodmap and ~/.keymap.km).

~/.xserverrc

If xinit can find the X to execute, xinit will run the file as an X server.

~/News/Sent-Message-IDs

The default mail history file for gnus.

~/.Xauthority

Read and write by the xdm program to handle permissions. See the X, xdm, and xauth manpages.

~/.Xdefaults,~/.Xdefaults-hostname

Read by the X application during startup of host hostname. If the -hostname file is not found, look for the .Xdefaults file.

~/.Xmodmap

Points to .xmodmaprc; Red Hat has a .xinitrc file with this name.

~/.Xresources

is usually the name of the file that is passed to xrdb to load the X resource database, designed to avoid situations where the application needs to read a long .Xdefaults file. (In some cases, ~/.Xres was used.)

~/mbox User's old mail.

System commands are to control the system exclusively and let everything work. All programs such as login (complete console user authentication phase) or bash (providing interaction between user and computer) are system commands. Therefore, the documents related to them are also of particular importance. In this category are the following files that are of interest to users and administrators.

/etc/lilo.conf

Contains the system's default boot command line arguments, as well as the different images used at startup. You can see this list by pressing the Tab key while the LILO bootstrap prompt.

/etc/logrotate.conf

Maintain log files in the /var/log directory.

/etc/identd.conf

identd is a server that implements the TCP/IP proposed standard IDENT user identity protocol as specified in the RFC 1413 document. Identd works by looking up a specific TCP/IP connection and returning the username of the process that owns the connection. Alternatively, it can return other information instead of the username. See the identd manpage.

/etc/ld.so.conf

“ Dynamic Linker  (Dynamic Linker) configuration.

/etc/inittab

This is the first configuration file in UNIX. The first program that is started after a UNIX machine is opened is init, which knows what to start, due to the existence of inittab. When the runlevel changes, init reads inittab and then controls the startup of the main process.

/etc/termcap

A database containing all possible terminal types and the performance of these terminals

The kernel provides an interface to display some of its data structures. These data structures can be useful for determining system parameters such as interrupts used, initialized devices, and memory statistics. This interface is provided as a separate but virtual file system called the /proc file system. Many system utilities use the values ​​that exist in this file system to display system statistics.

For example, the /proc/modules file lists the modules currently loaded in the system. The lsmod command reads this information and displays it in a format that people can understand. The mtab file specified in the table below reads the /proc/mount file containing the currently mounted file system in the same way.

Copyright © Windows knowledge All Rights Reserved