yttlovezxx 发表于 2005-4-19 13:49:15

cd问题

root@1# file task/
task/: directory
root@1# cd task/
bash: cd: task/: 没有那个文件或目录
root@1#
:(         :(


symlinks .
/proc/3154/cwd: No such file or directory
/proc/3154/root: No such file or directory
/proc/3154/exe: No such file or directory
root@1# ls -L
ls: cwd: 没有那个文件或目录
ls: root: 没有那个文件或目录
ls: exe: 没有那个文件或目录
attrcmdlinefd    mem   stat   statuswchan
auxvenvironmapsmountsstatmtask

BOoRFGOnZ 发表于 2005-4-21 18:12:01

:shock:

wanggang 发表于 2005-4-21 18:32:19

在bash中使用~扩展工具
export PATH=$PATH:~/bin
然后在搜索目录被设置成"."
export CDPATH=.:~

试试吧,你的task目录是不是被你挪地方了?

关注!!!!!!!!
页: [1]
查看完整版本: cd问题