⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 environ.7

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 7
字号:
.\" SCCSID: @(#)environ.7	8.1	9/11/90.TH environ 7.SH Nameenviron \- user environment.SH Syntax.B extern char **environ;.SH Description.NXR "environ global variable"An array of strings, called the environment, is made available by.PN execve when a process begins.  By convention, these strings have the form.RI `` name = value ''..NXR "environment" "strings"The following names are used by various commands:.NXR "PATH string".TP "\w'TERMCAP 'u"PATHThe sequence of directory prefixes that.PN sh , .PN time , and .PN nice apply in searching for a file known by an incomplete path name.The prefixes are separated by a colon (:).The .MS login 1 command sets .PN PATH=:/usr/ucb:/bin:/usr/bin ..NXR "HOME string".TPHOMEA user's login directory, set by.PN loginfrom the password file .PN passwd ..NXR "TERM string".TPTERMThe kind of terminal for which output is to be prepared.This information is used by commands, such as .PN nroff or .PN plot ,which may exploit special terminal capabilities.  See .PN /etc/termcapin .MS termcap 5 for a list of terminal types..NXR "SHELL string".TPSHELLThe file name of the user's login shell..NXR "TERMCAP string".TPTERMCAPThe string describing the terminal in TERMor the name of the termcap file.  For further information, see.MS termcap 5 and.MS termcap 3x ..NXR "EXINIT string".TPEXINITA startup list of commands read by .PN ex , .PN edit , and .PN vi ..NXR "USER string".TPUSERThe login name of the user..NXR "PRINTER string".TPPRINTERThe name of the default printer to be used by .PN lpr , .PN lpq ,and .PN lprm ..PPFurther names may be placed in the environment by the.PN exportcommand and ``name=value'' arguments in .PN sh , or by the.PN setenvcommand if you use .PN csh .Arguments can also be placed in the environment at the point of an.PN execve .It is unwise to conflict with certain .PN sh variables that are frequently exported by .PN .profile files:.PN MAIL ,.PN PS1 ,.PN PS2 ,and.PN IFS ..SH See Alsocsh(1), ex(1), login(1), sh(1), execve(2), system(3), termcap(3x),passwd(5), termcap(5)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -