Создание /etc/profile

Файл /etc/profile содержит в себе общесистемные настройки командной оболочки. Создайте этот файл:

cat > $LFA_SYS/etc/profile << "EOF" # /etc/profile # Set the initial path export PATH=/bin:/usr/bin if [ `id -u` -eq 0 ] ; then PATH=/bin:/sbin:/usr/bin:/usr/sbin unset HISTFILE fi # Setup some environment variables. export USER=`id -un` export LOGNAME=$USER export HOSTNAME=`/bin/hostname` export HISTSIZE=1000 export HISTFILESIZE=1000 export PAGER='/bin/more ' export EDITOR='/bin/ed' # End /etc/profile EOF