执行格式:set var value Example: %set termvt100 设定 shell variable “term” 为 VT100 终端机之型式。 删除shell variable 执行格式:unset var Example: %unset PRINTER 删除 shell variable “PRINTER” 之设定值。 environment variable 查看environment variable 之设定值 执行格式:setenv 查看所有 environment ...
[hubo@test15169x ~]$ printenv print environment VARIABLE HOSTNAME=test15169x.ops.corp.qihoo.net TERM=xterm变量是一个用来存储数据的实体 SHELL=/bin/bash 5、Unix shell中有两种变量shell变量和环境变量,变量是一个用来存储数据的实体。 每个变量都有一个名称和一个值。其中变量名是用来引用变量的标识符,...
执行格式:setenv 查看所有 environment variable 之设定值。 Example: %setenv 执行格式:echo $NAME 显示指定的 environment variable "NAME" 之设定值。 Example: %echo $PRINTER 显示environment variable "PRINTER" 打印机名称之设定值。 19.2.设定 environment variable === 执行格式:setenv NAME word Example: ...
[root@localhost ~]# dircolors -p # Configuration file for dircolors, a utility to help you set the # LS_COLORS environment variable used by GNU ls with the --color option. # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the # slackware version of dircolors) are recognized but ...
# Set the TZ environment variable of the shell. # #TIMEZONE=EST5EDT # ULIMIT sets the file size limit for the login. Units are disk blocks. # The default of zero means no limit. # #ULIMIT=0 # If CONSOLE is set, root can only login on that device. ...
有些命令在使用--print-errors参数后会进行更详尽的输出。 $ pkg-config --exists --print-errors xoxo Package xoxo was not found in the pkg-config search path. Perhaps you should add the directory containing `xoxo.pc' to the PKG_CONFIG_PATH environment variable ...
In order to print the data in a variable, also called the value of a variable, we can useecho. When you want to retrieve the value of a variable you must use the dollar sign ($) before the name of the variable. Let’s try this out: ...
To export an environment variable: $ export ORACLE_HOME=/u01/app/oracle/product/10.2.0 11. xargs command examples Copy all images to external hard-drive # ls *.jpg | xargs -n1 -i cp {} /external-hard-drive/directory Search all jpg images in the system and archive it. ...
pr-jobs - Creates an environment variable which can be used to display background job information in a custom prompt. pr-node - Sets an environment variable which can be used to display Node.js information in a custom prompt. pr-return - Plugin for ZSH which displays the exit status of ...
If the $HOME environment variable is not set, the files are put in the same directory as the Outside In Technology. If a /.oit directory does not exist in the user's $HOME directory, the .oit directory is created automatically by the technology. The files are automatically regenerated if...