[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: Borre el /etc/profile como lo recupero o que tiene que contener



Julio Carrillo wrote:

> perdon es el /etc/profile gracias
>
> gracias y que debe contener
>

#Quítale lo que no te sirva y te debe jalar:

# /etc/profile

# System wide environment and startup programs
# Functions and aliases go in /etc/bashrc

PATH=".:/bin:/usr/bin:/usr/local/bin:/usr/local/i586-pc-linux-gnu/bin:/usr/X11R6/bin:$PATH"

#PS1="[\u@\h \W]\\$ "
LANG=es
LINGUAS=es_ES

LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
LD_LIBRARY_PATH=$LIBRARY_PATH
MANPATH=/usr/man:/usr/X11R6/man:/usr/local/man:/usr/lib/perl5/man

ulimit -c 1000000
if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
        umask 002
else
        umask 022
fi

USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

TZ="MST+6MDT+5,M4.1.0/02:00:00,M10.5.0/02:00:00"
#TZ="MST+5MDT+4,M4.1.0/02:00:00,M10.5.0/02:00:00"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000
HISTFILESIZE=1000
export TZ PATH PS1 HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL
LIBRARY_PATH LD_LIBRARY_PATH MANPATH LANG LINGUAS

for i in /etc/profile.d/*.sh ; do
        if [ -x $i ]; then
                . $i
        fi
done

unset i

if [ -f $HOME/.profile ] ; then
        . $HOME/.profile
fi



>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> --
> Para desuscribirse, mande correo a: ayuda-unsubscribe en linux org mx
> Para comandos adicionales, envíelo a: ayuda-help en linux org mx

--
Sandino Araico Sánchez
La humanidad es la plaga más grande y devastadora
que nuestro planeta haya visto jamás.




-- 
Para desuscribirse, mande correo a: ayuda-unsubscribe en linux org mx
Para comandos adicionales, envíelo a: ayuda-help en linux org mx



[Hilos de Discusión] [Fecha] [Tema] [Autor]