And environment variables related files may also be/etc/bashrc, etc, but this is the shell variables that are local to a particular shell effect.
/Etc/profile is global and applies to all sell. Profile file tells the shell of the language you use, what shell, the command search path, and so on. Some standard environment variables: SHELL default sell LANG default language PATHlinux default path for the command, usually including/bin,/usr/bin,/sbin,/usr/sbin,/usr/X11R6/bin,/usr/local/bin/opt/bin, etc. Users can add their own, such as/home/bin, etc. The default path MANPATHman manual INPUTRC default keyboard mappings, see/etc/inputrc BASH_ENVbashshell environment variable, typically ~/.basrc DISPLAYX window applies, in the console, DISPLAY =: 0 corresponds to the console F7, DISPLAY =: 1 corresponds to the console server, DISPLAY = F8: 0 to remote computer send GUI applications. The default Terminal COLORTERMGUI, usually gnome-terminal. USER automatically sets the current login user name. LONGNAME is typically set to the USER MAIL settings specific for standard mail directory USR HOSTNAME is set to the command output/bin/hostname HISTSIZE to history command remember commands examples: # #/etc/proile ## modify or add the PATH to the custom command search path, if you do not want to add the executable to the default directory, but you can use the Terminal destiny # make that change. ExportPATH = "/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/local/bin" exportMANPATH = "/usr/man:/usr/X11R6/man" exportLESSCHARSET = "latin1" exportINPUTRC = "/etc/inputrc" exportLESS = "-R" # Localesettings (findyourlocalewith''locale-a '') exportLANG = ' zh_CN ' # modify here you can change the system default language exportLC_COLLATE = "C" exportCOLUMNSLINESexportPS1 = '' [u @ \h \W] \ $ ' ' exportPS2 = '' > '' umask022 ... ... ... ... # Endoffile
No comments:
Post a Comment