profile
来源——linux系统文件名
[root@centos71 ~]# cat /etc/profile # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates. pathmunge () { case ":${PATH}:" in *:"$1":*) ;; *) if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi esac } if [ -x /usr/bin/id ]; then if [ -z "$EUID" ]; then # ksh workaround EUID=`/usr/bin/id -u` UID=`/usr/bin/id -ru` fi USER="`/usr/bin/id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" fi # Path manipulation if [ "$EUID" = "0" ]; then pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after fi HOSTNAME=`/usr/bin/hostname 2>/dev/null` HISTSIZE=1000 if [ "$HISTCONTROL" = "ignorespace" ] ; then export HISTCONTROL=ignoreboth else export HISTCONTROL=ignoredups fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL # By default, we want umask to get set. This sets it for login shell # Current threshold for system reserved uid/gids is 200 # You could check uidgid reservation validity in # /usr/share/doc/setup-*/uidgid file if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then umask 002 else umask 022 fi for i in /etc/profile.d/*.sh /etc/profile.d/sh.local ; do if [ -r "$i" ]; then if [ "${-#*i}" != "$-" ]; then . "$i" else . "$i" >/dev/null fi fi done unset i unset -f pathmunge
翻译
n. 侧面;轮廓;外形;剖面;简况
vt. 描…的轮廓;扼要描述
vi. 给出轮廓
复数 profiles过去式 profiled过去分词 profiled现在分词 profiling第三人称单数 profiles
TOEFL | SAT | GMAT | IELTS | GRE | CET4 | 商务英语 | 考研
词根:profile轮廓;侧面
巧记前缀pre
approach v. 近 靠近,接近 n. 途径,方式 途径,方式
ap/proach。
ap-加强语气 +proach-词根:路 =approach-途径、方法
pr-向前,oach-表音、无义,“路”都是“向前”的。
pr-pre-pro-前→proach-词根:路(路是向前的)→pr-表义,oach-表音
c-car-车 →coach-长途汽车、教练(都是帮你快速达到目标的工具)→c-表义,oach-表音
reproach-责备(re-返回,proach-词根:路——让别人从来路折回去,责备)
巧记词根file
单词file(文件;纵列;排成纵队前进)的根义是“线”,“纵列”是一条线,“文件”最初是用线装订的。
profile轮廓
前缀pro-“前”,词根-fil-“线”,字面义“前端的线条”)
filament(灯丝)、defile(山间小道)、filar(丝的)