无法在 ubuntu 10.04 中创建目录

无法在 ubuntu 10.04 中创建目录

当我尝试跑步时

mkdir new

我得到了错误,

 bash: cd: new: No such file or directory

据我记得,我没有改变任何文件权限。那么这可能是什么原因造成的。Ubuntu 10.04

更新:

$ whereis mkdir

mkdir:/bin/mkdir /usr/share/man/man1/mkdir.1.gz /usr/share/man/man2/mkdir.2.gz

$ whereis cd

光盘:

ls -la 的 o/p

total 68
drwxr-xr-x 13 comp comp  4096 2011-06-15 20:01 .
drwxr-xr-x 43 comp comp  4096 2012-04-02 16:09 ..
drwxr-xr-x  6 comp comp  4096 2011-06-15 20:01 app
drwxr-xr-x  5 comp comp  4096 2011-06-15 20:01 config
drwxr-xr-x  2 comp comp  4096 2011-06-15 20:01 db
drwxr-xr-x  2 comp comp  4096 2011-06-15 20:01 doc
drwxr-xr-x  3 comp comp  4096 2011-06-15 20:01 lib
drwxr-xr-x  2 comp comp  4096 2011-06-15 20:01 log
drwxr-xr-x  5 comp comp  4096 2011-06-15 20:01 public
-rw-r--r--  1 comp comp   307 2011-06-15 20:01 Rakefile
-rw-r--r--  1 comp comp 10011 2011-06-15 20:01 README
drwxr-xr-x  3 comp comp  4096 2011-06-15 20:01 script
drwxr-xr-x  7 comp comp  4096 2011-06-15 20:01 test
drwxr-xr-x  6 comp comp  4096 2011-06-15 20:01 tmp
drwxr-xr-x  3 comp comp  4096 2011-06-15 20:01 vendor

答案1

alias mkdir=cd从 ~/.bashrc 或 /etc/bash.bashrc 中删除此行 ' '

相关内容