2014-11-25 3 views
0

bash를 사용하여 서버에 로그인 한 후 csh로 전환하려고했지만 거기에 갇혀있었습니다. csh 시동시 무슨 일이 일어나고 있는지 궁금합니다.csh를 시작할 수 없습니다.

.cshrc 파일이 없습니다. 다른 사용자가 문제없이 csh를 사용할 수 있기 때문에 이것이 내 계정과 관련된 일부 설정과 관련되어 있음을 확신합니다. .bash_profile과 .bashrc를 삭제하려고 시도하고 위에서 언급 한 계정에서 복사했지만 작동하지 않았습니다.

업데이트 : 년 11 월 25 일 특히 'CSH -X'를 언급에 대한 모든 의견에 대한 2014 15시 31분 오후

감사합니다. 먼저 나에게 몇 가지 명확히하자에 의한

  1. 를 '붙어'나는 더 쉘 프롬프트는 반복하지 그래서 내가, CSH가 'S'상태에, 나는 cshtop을 확인 csh
  2. 입력 한 후 나타납니다 의미 무한
  3. 는`csh` 상황 여기

을 변경하지 않습니다 'CSH'중단 후 tcsh`

  • 유형 'X'또는 입력 '에 대한 심볼릭 링크는 실제로 내가 가진 무엇이다 csh -X 뒤에 어떤 단서를 입력 했습니까?

     
    
        [[email protected] ~]$ csh -X 
        if (547 > 199 && `id -gn` == `id -un`) then 
        id -gn 
        id -un 
        umask 022 
        endif 
        if (1) then 
        if (1) then 
        set promptchars=$# 
        set prompt=[%[email protected]%m %c]%# 
        set autolist 
        else 
        endif 
        if (1) then 
        bindkey ^[[3~ delete-char 
        endif 
        bindkey ^R i-search-back 
        set echo_style = both 
        set histdup = erase 
        set savehist = (1024 merge) 
        if (1) then 
        if (1) then 
        switch (xterm) 
        if (1) then 
        set prompt=%{\033]0;%[email protected]%m:%c\007%}[%[email protected]%m %c]%# 
        endif 
        breaksw 
        endif 
        endif 
        setenv MAIL /var/spool/mail/user 
        if (! 0) then 
        if (-d /etc/profile.d) then 
        set nonomatch 
        foreach i (/etc/profile.d/*.csh) 
        if (-r /etc/profile.d/apache-ant.csh) then 
        if (1) then 
        source /etc/profile.d/apache-ant.csh 
        setenv ANT_HOME /opt/rocks 
        else 
        endif 
        end 
        if (-r /etc/profile.d/colorls.csh) then 
        if (1) then 
        source /etc/profile.d/colorls.csh 
        if (0) then 
        alias ll ls -l 
        alias l. ls -d .* 
        set COLORS=/etc/DIR_COLORS 
        if (1) then 
        if (-e /etc/DIR_COLORS.xterm) then 
        if (-e /etc/DIR_COLORS.256color) then 
        if (`tput colors` == 256) then 
        tput colors 
        endif 
        endif 
        if (-f ~/.dircolors) set COLORS=~/.dircolors 
        if (-f ~/.dir_colors) set COLORS=~/.dir_colors 
        if (1) then 
        if (-f ~/.dircolors.xterm) set COLORS=~/.dircolors.xterm 
        if (-f ~/.dir_colors.xterm) set COLORS=~/.dir_colors.xterm 
        endif 
        if (! -e /etc/DIR_COLORS) exit 
        eval `dircolors -c /etc/DIR_COLORS` 
        dircolors -c /etc/DIR_COLORS 
        setenv LS_COLORS rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: 
        if (rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: == ) exit 
        set color_none=`sed -n '/^COLOR.*none/Ip' < $COLORS` 
        sed -n /^COLOR.*none/Ip 
        if ( != ) then 
        unset color_none 
        finish: 
        alias ll ls -l --color=auto 
        alias l. ls -d .* --color=auto 
        alias ls ls --color=auto 
        else 
        endif 
        end 
        if (-r /etc/profile.d/cvs.csh) then 
        if (1) then 
        source /etc/profile.d/cvs.csh 
        else 
        endif 
        end 
        if (-r /etc/profile.d/eclipse.csh) then 
        if (1) then 
        source /etc/profile.d/eclipse.csh 
        setenv ECLIPSE_HOME /opt/eclipse 
        set BIN=/opt/eclipse 
        if (-d /opt/eclipse) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/eclipse 
        if (0 != 0) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/ganglia-binaries.csh) then 
        if (1) then 
        source /etc/profile.d/ganglia-binaries.csh 
        set GANGLIA_HOME=/opt/ganglia 
        set BIN=/opt/ganglia/bin 
        set SBIN=/opt/ganglia/sbin 
        if (-d /opt/ganglia/bin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/ganglia/bin 
        if (0 != 0) then 
        endif 
        if (-d /opt/ganglia/sbin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/ganglia/sbin 
        if (0 != 0) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/glib2.csh) then 
        if (1) then 
        source /etc/profile.d/glib2.csh 
        setenv G_BROKEN_FILENAMES 1 
        else 
        endif 
        end 
        if (-r /etc/profile.d/gnome-ssh-askpass.csh) then 
        if (1) then 
        source /etc/profile.d/gnome-ssh-askpass.csh 
        setenv SSH_ASKPASS /usr/libexec/openssh/gnome-ssh-askpass 
        else 
        endif 
        end 
        if (-r /etc/profile.d/java.csh) then 
        if (1) then 
        source /etc/profile.d/java.csh 
        setenv JAVA_HOME /usr/java/latest 
        set BIN=/usr/java/latest/bin 
        if (-d /usr/java/latest/bin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /usr/java/latest/bin 
        if (0 != 0) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/lang.csh) then 
        if (1) then 
        source /etc/profile.d/lang.csh 
        set sourced=0 
        if (1) then 
        set saved_lang=en_US.iso885915 
        if (-f /home/user/.i18n) then 
        setenv LANG en_US.iso885915 
        unset saved_lang 
        else 
        if (0 == 1) then 
        else 
        endif 
        end 
        if (-r /etc/profile.d/less.csh) then 
        if (1) then 
        source /etc/profile.d/less.csh 
        if (-x /usr/bin/lesspipe.sh) then 
        setenv LESSOPEN |/usr/bin/lesspipe.sh %s 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/maven.csh) then 
        if (1) then 
        source /etc/profile.d/maven.csh 
        setenv MAVEN_HOME /opt/maven 
        set BIN=/opt/maven/bin 
        if (-d /opt/maven/bin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/maven/bin 
        if (0 != 0) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/modules.csh) then 
        if (1) then 
        source /etc/profile.d/modules.csh 
        if (1) then 
        set modules_shell=tcsh 
        else 
        set exec_prefix=/usr/bin 
        set prefix= 
        set postfix= 
        if (0) then 
        set histchar = ! 
        endif 
        if (1) then 
        set prefix = set _prompt="$prompt";set prompt=""; 
        set postfix = set prompt="$_prompt";unset _prompt; 
        endif 
        if (0) then 
        set postfix = set _exit=$status; set prompt="$_prompt";unset _prompt;; test 0 = $_exit; 
        alias module set _prompt="$prompt";set prompt="";eval `/usr/bin/modulecmd tcsh !*`; set _exit=$status; set prompt="$_prompt";unset _prompt;; test 0 = $_exit; 
        unset exec_prefix 
        unset prefix 
        unset postfix 
        setenv MODULESHOME /usr/share/Modules 
        if (! 1) then 
        if (! 1) then 
        else 
        endif 
        end 
        if (-r /etc/profile.d/pdsh.csh) then 
        if (1) then 
        source /etc/profile.d/pdsh.csh 
        set PDSHROOT=/opt/pdsh 
        set BIN=/opt/pdsh/bin 
        if (-d /opt/pdsh/bin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/pdsh/bin 
        if (0 != 0) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/qt.csh) then 
        if (1) then 
        source /etc/profile.d/qt.csh 
        if (1) then 
        exit 
        else 
        endif 
        end 
        if (-r /etc/profile.d/rocks-binaries.csh) then 
        if (1) then 
        source /etc/profile.d/rocks-binaries.csh 
        setenv ROCKS_ROOT /opt/rocks 
        set BIN=/opt/rocks/bin 
        set SBIN=/opt/rocks/bin 
        if (-d /opt/rocks/bin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/rocks/bin 
        if (0 != 0) then 
        endif 
        if (-d /opt/rocks/bin) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/rocks/bin 
        if (0 != 0) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/rocks-devel.csh) then 
        if (1) then 
        source /etc/profile.d/rocks-devel.csh 
        setenv ROCKSROOT /opt/rocks/share/devel 
        setenv ROLLSROOT /opt/rocks/share/devel/src/roll 
        else 
        endif 
        end 
        if (-r /etc/profile.d/rocks-hpc.csh) then 
        if (1) then 
        source /etc/profile.d/rocks-hpc.csh 
        if (! 0) then 
        set _prompt=%{\033]0;%[email protected]%m:%c\007%}[%[email protected]%m %c]%# 
        set prompt= 
        eval `/usr/bin/modulecmd tcsh -s add rocks-openmpi` 
        /usr/bin/modulecmd tcsh -s add rocks-openmpi 
        set _exit=0 
        set prompt=%{\033]0;%[email protected]%m:%c\007%}[%[email protected]%m %c]%# 
        unset _prompt 
        test 0 = 0 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/rocks-lang.csh) then 
        if (1) then 
        source /etc/profile.d/rocks-lang.csh 
        if (1) then 
        if (xterm == linux) then 
        endif 
        else 
        endif 
        end 
        if (-r /etc/profile.d/sge-binaries.csh) then 
        if (1) then 
        source /etc/profile.d/sge-binaries.csh 
        setenv SGE_ROOT /opt/gridengine 
        setenv SGE_ARCH `$SGE_ROOT/util/arch` 
        /opt/gridengine/util/arch 
        set DEFAULTMANPATH = `$SGE_ROOT/util/arch -m` 
        /opt/gridengine/util/arch -m 
        set MANTYPE = `$SGE_ROOT/util/arch -mt` 
        /opt/gridengine/util/arch -mt 
        setenv SGE_CELL default 
        setenv SGE_QMASTER_PORT 536 
        setenv SGE_EXECD_PORT 537 
        set BIN=/opt/gridengine/bin/linux-x64 
        if (-d /opt/gridengine/bin/linux-x64) then 
        echo /home/user/software/tophat-2.0.10.Linux_x86_64:/home/user/software/samtools-0.1.19:/home/user/software/bowtie2-2.2.1:/home/user/software/boost_1_55_0:/home/user/software/Mus_musculus:/home/user/software/bowtie-1.0.1:/home/user/software/FastQC:/home/user/software/bedtools2-2.19.1/bin:/home/user/software/cufflinks-2.2.0.Linux_x86_64:/home/user/software/bin:/home/user/software/STAR_2.3.0e.Linux_x86_64:/home/user/software/sratoolkit.2.3.5-2-ubuntu64/bin:/home/user/software/Python-2.7.8:/home/user/software/pysam-0.8.0:/home/user/software/CIRCexplorer-1.0.3:/home/user/software/Python-2.7.8/lib/python2.7/site-packages/pysam-0.8.0-py2.7-linux-x86_64.egg/pysam/__init__.pyc':/opt/openmpi/bin:/usr/lib64/qt-3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/latest/bin:/opt/maven/bin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/gridengine/bin/linux-x64:/home/user/bin 
        /bin/grep -q /opt/gridengine/bin/linux-x64 
        if (0 != 0) then 
        endif 
        set shlib_path_name = `$SGE_ROOT/util/arch -lib` 
        /opt/gridengine/util/arch -lib 
        if (`eval echo '$?'$shlib_path_name`) then 
        eval echo $?LD_LIBRARY_PATH 
        echo 1 
        set old_value = `eval echo '$'$shlib_path_name` 
        eval echo $LD_LIBRARY_PATH 
        echo /opt/gridengine/lib/linux-x64:/opt/openmpi/lib 
        setenv LD_LIBRARY_PATH /opt/gridengine/lib/linux-x64:/opt/gridengine/lib/linux-x64:/opt/openmpi/lib 
        else 
        unset DEFAULTMANPATH MANTYPE shlib_path_name 
        else 
        endif 
        end 
        if (-r /etc/profile.d/sge-mpi.csh) then 
        if (1) then 
        source /etc/profile.d/sge-mpi.csh 
        setenv MPICH_PROCESS_GROUP no 
        else 
        endif 
        end 
        if (-r /etc/profile.d/ssh-key.csh) then 
        if (1) then 
        source /etc/profile.d/ssh-key.csh 
        /bin/bash /etc/profile.d/ssh-key.sh 
        else 
        endif 
        end 
        if (-r /etc/profile.d/vim.csh) then 
        if (1) then 
        source /etc/profile.d/vim.csh 
        if (-x /usr/bin/id) then 
        if (`/usr/bin/id -u` > 200) then 
        /usr/bin/id -u 
        alias vi vim 
        endif 
        endif 
        else 
        endif 
        end 
        unset i nonomatch 
        endif 
        endif 
    
    
  • +3

    bash 시작 스크립트는 csh 시작과 아무 관련이 없습니다 (사용자가 실수로 .profile 또는 유사한 소스에서 시작하지 않는 한). 그 발췌 문장은 csh 프롬프트의 부족을 보여줘야합니까? 'ctrl-c '를 누르면 bash 프롬프트로 돌아 가게됩니까? –

    +0

    "stuck"이라고 할 때 정확히 무슨 뜻입니까? –

    +0

    감사합니다. 'ctrl-c'는 나를 나를 배쉬로 데려 간다. – Youngman

    답변

    1

    당신의 cshtcsh에 심볼릭 링크되어 높은 확률이있다, 그래서 tcsh 매뉴얼 (시작 부분)을 읽어 보시기 바랍니다 - tcsh 시도로드 다른 시작 파일 (뿐만 아니라 .cshrc있다).

    기본적으로이 행 행동은 쉘이 사용자 환경에서 액세스 할 수없는 컴퓨터에 액세스하려고한다는 것을 의미 할 수 있습니다.

    +1

    또는 .cshrc 또는 .tcshrc에서 영원히 취하는 뭔가를하고있는 것. 'csh -X'를 시도하십시오; 그러면 명령을 실행하기 전에 명령이 인쇄됩니다. –

    +0

    그냥 매달려 가능한 원인 목록을 확장하려면 .cshrc가 사용자 입력을 기다리고 있습니다 (프롬프트하지 않고!). 입력 키를 누르거나 무언가를 입력하고 'x'를 누른 다음 Enter 키를 눌러서 어떻게되는지보십시오. 그러나'csh -X'가 가장 좋은 경로입니다. 행운을 빕니다. – shellter

    +0

    @shellter - 나는이 가설을 좋아한다! – HEKTO