LFS6.5 - Bash question

stosss stosss at gmail.com
Wed Mar 3 11:27:51 PST 2010


On Wed, Mar 3, 2010 at 2:20 PM, David Shaw <dj.shaw at btconnect.com> wrote:
>
>> echo $TERM should be linux.
>>
>> If not, post all of the 'set' output.
>>
>>    -- Bruce
>
> A-ha!
>
> root:/# echo $TERM
> xterm

It will be xterm if you are running in xorg and open a terminal.

> root:/# set
> BASH=/bin/bash
> BASH_ALIASES=()
> BASH_ARGC=()
> BASH_ARGV=()
> BASH_CMDS=()
> BASH_LINENO=()
> BASH_SOURCE=()
> BASH_VERSINFO=([0]="4" [1]="0" [2]="28" [3]="1" [4]="release"
> [5]="i686-pc-linux-gnu")
> BASH_VERSION='4.0.28(1)-release'
> COLUMNS=80
> DIRSTACK=()
> EUID=0
> GROUPS=()
> HISTFILE=/root/.bash_history
> HISTFILESIZE=500
> HISTSIZE=500
> HOME=/root
> HOSTNAME=david-laptop
> HOSTTYPE=i686
> IFS=$' \t\n'
> LINES=24
> MACHTYPE=i686-pc-linux-gnu
> MAILCHECK=60
> OPTERR=1
> OPTIND=1
> OSTYPE=linux-gnu
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
> PIPESTATUS=([0]="0")
> PPID=26064
> PS1='\u:\w\$ '
> PS2='> '
> PS4='+ '
> PWD=/
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:emacs:histexpand:history:interactive-comments:monitor
> SHLVL=1
> TERM=xterm
> UID=0
> _=xterm
> root:/#
>
> David
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



More information about the lfs-support mailing list