ITPub博客

首页 > Linux操作系统 > Linux操作系统 > how to use typeset?

how to use typeset?

原创 Linux操作系统 作者:tengrid 时间:2009-05-18 19:04:12 0 删除 编辑
admin@xxx:~$ typeset
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05a" [2]="0" [3]="1" [4]="release" [5]="i386-slackware-linux-gnu")
BASH_VERSION='2.05a.0(1)-release'
C2CDB_HOME=/usr/local/c2cdb
COLUMNS=132
DIRSTACK=()
EUID=1005
GROUPS=()
HISTFILE=/home/admin/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/admin
HOSTNAME=db_auction1
HOSTTYPE=i386
IFS=$' \t\n'
INPUTRC=/etc/inputrc
LC_ALL=en_US.ISO_8859-1
LD_LIBRARY_PATH=/usr/local/c2cdb/lib:/usr/local/mysql/lib:/usr/local/mysql/lib/mysql
LESS=-M
LESSOPEN='|lesspipe.sh %s'
LINES=46
LOGNAME=admin
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.bz2=01;31:*.rpm=01;31:*.deb=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.mov=01;37:'
LS_OPTIONS=' --color=auto -F -b -T 0'
MACHTYPE=i386-slackware-linux-gnu
MAIL=/var/spool/mail/admin
MAILCHECK=60
MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
MINICOM='-c on'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:.:/usr/local/mysql/bin
PIPESTATUS=([0]="0")
PPID=12363
PS1='\u@\h:\w\$ '
PS2='> '
PS4='+ '
PWD=/home/admin
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=1
SSH2_CLIENT='172.16.1.162 38794 172.16.161.26 36000'
SSH2_SFTP_LOG_FACILITY=-1
T1LIB_CONFIG=/usr/share/t1lib/t1lib.config
TERM=vt100
UID=1005
USER=admin
_=c2cdb
file=/etc/profile.d/t1lib.sh
mc ()
{
    if [ "$USER" = "root" -a ! "`id | cut -b1-5`" = "uid=0" ]; then
        /usr/bin/mc "$@";
    else
        if [ ! "$USER" = "root" -a "`id | cut -b1-5`" = "uid=0" ]; then
            /usr/bin/mc "$@";
        else
            mkdir -p $HOME/.mc/tmp 2>/dev/null;
            chmod 700 $HOME/.mc/tmp;
            MC=$HOME/.mc/tmp/mc-$$;
            /usr/bin/mc -P "$@" >"$MC";
            cd "`cat $MC`";
            rm -f "$MC";
            unset MC;
        fi;
    fi
}

# man typeset
No manual entry for typeset
# typeset -u var=abc
bash: typeset: unknown option: `-u'
typeset: usage: typeset [-afFrxi] [-p] name[=value] ...

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/94384/viewspace-600280/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-05-18

  • 博文量
    136
  • 访问量
    378116