我的终端路径跳出很慢呢 - - 怎么办?

为当前最终发行版之前的所有版本提供支持
回复
deanbear
帖子: 23
注册时间: 2010-09-20 20:56
送出感谢: 0
接收感谢: 0

我的终端路径跳出很慢呢 - - 怎么办?

#1

帖子 deanbear » 2011-01-26 11:57

昨晚用还好好的
今天醒来 一开机就觉得很卡
注销后回来就没事了
但是打开终端后 跳出命令路径 凸@凸~laptop:~$ 大概要等待30秒吧
巨漫长

然后Google了一下 说是 /home 下面的文件大于3000了
我的就1000多一点 我也移了两个文件夹出来
但是情况依然没有改变

命令路径 慢的感觉真难受啊 - -|| 大家赶紧帮帮我
deanbear
帖子: 23
注册时间: 2010-09-20 20:56
送出感谢: 0
接收感谢: 0

Re: 我的终端路径跳出很慢呢 - - 怎么办?

#2

帖子 deanbear » 2011-01-26 14:13

:em20 都没有人知道么 呜呜呜……
头像
pocoyo
论坛版主
帖子: 25878
注册时间: 2008-03-25 15:49
来自: 谁知道?
送出感谢: 5 次
接收感谢: 9 次
联系:

Re: 我的终端路径跳出很慢呢 - - 怎么办?

#3

帖子 pocoyo » 2011-01-26 14:31

/home下不就是用户名的文件夹吗 弄这么多文件干嘛.
deanbear
帖子: 23
注册时间: 2010-09-20 20:56
送出感谢: 0
接收感谢: 0

Re: 我的终端路径跳出很慢呢 - - 怎么办?

#4

帖子 deanbear » 2011-01-26 16:18

对嘛 用户文件夹啦
/home/凸 下面当然有很多啰。

然后我关机 重新进入系统 又恢复了

我想大概是 X 的问题
因为 显卡驱动是我自己去Nvidia官网下载下来安装的
大概有什么不妥吧
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

Re: 我的终端路径跳出很慢呢 - - 怎么办?

#5

帖子 eexpress » 2011-01-26 16:28

那是你的.bashrc里面,加多了什么,导致的。你去掉这文件试试。
● 鸣学
deanbear
帖子: 23
注册时间: 2010-09-20 20:56
送出感谢: 0
接收感谢: 0

Re: 我的终端路径跳出很慢呢 - - 怎么办?

#6

帖子 deanbear » 2011-01-26 22:23

eexpress 写了:那是你的.bashrc里面,加多了什么,导致的。你去掉这文件试试。
帮我瞧瞧呢~ 我看不出什么端倪~ 谢谢啦

代码: 全选

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
	# We have color support; assume it's compliant with Ecma-48
	# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
	# a case would tend to support setf rather than setaf.)
	color_prompt=yes
    else
	color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi
回复

回到 “老旧版本支持”