52 set cindent 53 set autoindent 54 55 set tabstop=4 56 set shiftwidth=4 57 58 set nu 现在的行数总是离左边有一定距离,站了不少位置。 先谢了。:D
by danielsong - Shell - 2007-03-15 09:42:59 阅读(1234) 回复(5)
set set, unset, setenv, unsetenv, export - shell built-in func-tions to determine the characteristics for environmental variables of the current shell and its descendents. ENV env - set environment for command invocation. set : 当前shell的变量,也就是本地变量。 ENV : 环境变量 EXPORT: 在shell中执行程序时,shell会提供一组环境变量。export可新增,修改或删除环境变量,供后续执行的程序使...
脚本中加入set -x 如下: ..................... ...................... set -x .................... .................... 形如上述shell script, set -x 在其中启到什么作用,对shell有何影响。thanks
The following line is in my .cshrc file. My default shell is C shell. set prompt="%m[%h] %U[%@]%u[%/]%" The system prompt is like: host01[56][11][/test/home/aaa]% I don't fully understand this line, especially those strange parameters. Does anybody help on this and let me how to find it out? Is there any document for this? Thanks a lot. Ice Peanuts