[Pardus-kullanicilari] setenv: command not found

ahmed yasar yasar.tuncez at gmail.com
2 Mar 2007 Cum 11:35:41 EET


Merhaba Onur Bey,

Her iki dosyada birbirisinin aynısı:
cat /etc/skel/.bashrc

# /etc/skel/.bashrc:
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output.

source /etc/profile

# Get DBUS Session's properties
if [[ -f ~/.dbus-session ]]; then
    source ~/.dbus-session
fi

# Test for an interactive shell.  There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]]; then
    # Shell is non-interactive.  Be done now
    return
fi

# Shell is interactive.  It is okay to produce output at this point,
# though this example doesn't produce any.  Do setup for
# command-line interactivity.

# colors for ls, etc.  Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]]; then
    eval `dircolors -b ~/.dir_colors`
else
    eval `dircolors -b /etc/DIR_COLORS`
fi

alias d="ls --color"
alias dir="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
alias la="ls --color -la"
alias cls="clear"
alias cd..="cd .."
alias rm="rm -i"
alias mv="mv -i"
alias cp="cp -i"

alias svn="colorsvn"

# Change the window title of X terminals
case $TERM in
    xterm*|rxvt|Eterm|eterm)
        PROMPT_COMMAND='echo -ne
"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
        ;;
    screen)
        PROMPT_COMMAND='echo -ne
"\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
        ;;
esac

source /etc/bashrc

export GTK2_RC_FILES=$HOME/.gtkrc-2.0


cat ~/.bashrc

# /etc/skel/.bashrc:
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output.

source /etc/profile

# Get DBUS Session's properties
if [[ -f ~/.dbus-session ]]; then
    source ~/.dbus-session
fi

# Test for an interactive shell.  There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]]; then
    # Shell is non-interactive.  Be done now
    return
fi

# Shell is interactive.  It is okay to produce output at this point,
# though this example doesn't produce any.  Do setup for
# command-line interactivity.

# colors for ls, etc.  Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]]; then
    eval `dircolors -b ~/.dir_colors`
else
    eval `dircolors -b /etc/DIR_COLORS`
fi

alias d="ls --color"
alias dir="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
alias la="ls --color -la"
alias cls="clear"
alias cd..="cd .."
alias rm="rm -i"
alias mv="mv -i"
alias cp="cp -i"

alias svn="colorsvn"

# Change the window title of X terminals
case $TERM in
    xterm*|rxvt|Eterm|eterm)
        PROMPT_COMMAND='echo -ne
"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
        ;;
    screen)
        PROMPT_COMMAND='echo -ne
"\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
        ;;
esac

source /etc/bashrc

export GTK2_RC_FILES=$HOME/.gtkrc-2.0


2007/3/2, Onur Küçük <onur at pardus.org.tr>:
>
> On Friday 02 March 2007 10:42:39 ahmed yasar wrote:
> > Merhaba,
> >
> > Konsoldan root ya da kullanıcı ile login olduğumda setenv:command not
> found
> > mesajı çıkıyor. /etc/profile.d/ dizini altında linux.csh ve
> > linux.shbash-competition , mc dosyaları var. bash shell ini
> > kullandığıma göre bu csh
> > ve sh dosyalarını silersem bu çevre değişkeni mesajından kurtulabilir
> > miyim? Silmemin bir sakıncası olur mu?
> >
> > cat .xsession-errors
> > /etc/profile.d/linux.csh: line 3: setenv: command not found
> > /etc/profile.d/linux.csh: line 3: setenv: command not found
> > xset:  bad font path element (#69), possible causes are:
> >     Directory does not exist or has wrong permissions
> >     Directory missing fonts.dir
> >     Incorrect font server address or syntax
>
>
> sh ile bitenler bash için gerekli, csh ile bitenler C-shell ler için
> kullanılıyor, isterseniz silebilirsiniz.
>
> Bu sorunun doğru çözümü için bence /etc/skel/.bashrc  ile kendi ev
> dizininizdeki .bashrc dosyalarını kıyaslayıp özellikle "source" ile
> başlayan
> satırlarda fark varsa /etc ile aynı hale getirmek sorunu çözebilir. Tabi
> bu
> işlemi yedek alarak yapmakta fayda var.
>
>
> --
> Onur Küçük                                      Knowledge speaks,
> <onur.--.-.pardus.org.tr>                       but wisdom listens
> _______________________________________________
> Pardus-kullanicilari mailing list
> Pardus-kullanicilari at uludag.org.tr
> http://liste.uludag.org.tr/mailman/listinfo/pardus-kullanicilari
> Arama: http://liste.uludag.org.tr/arama/
>



-- 
yaşasın linux
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.uludag.org.tr/pardus-kullanicilari/attachments/20070302/3e7104fd/attachment.html 


Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi