qcd实验出错--纠结

来源:互联网 发布:unity3d 2d角色朝向 编辑:程序博客网 时间:2024/06/04 17:21
今天按照“国嵌”的视频,安装了国嵌qcd小软件,但是出现了问题,现在还不知道什么解决:
[root@localhost home]# cd /home/Denny/              //samba服务,从Windows中复制qcd小软件到Denny用户下
[root@localhost Denny]# ls
qcd.tar.gz
[root@localhost Denny]# mv qcd.tar.gz /home/shell实验/              //把qcd软件移动到shell目录下
[root@localhost Denny]# ls
[root@localhost Denny]# cd /home/shell实验/
[root@localhost shell实验]# ls
b  hello.c  hello.sh  hi.sh  name  qcd.tar.gz  s10  s11  s2  s3  s4  s5  s6  s7  s8  s9
[root@localhost shell实验]# tar xvzf qcd.tar.gz        //解压qcd
qcd/
qcd/history_dir
qcd/install
qcd/qcd
qcd/qcd.sh
[root@localhost shell实验]# ls
b  hello.c  hello.sh  hi.sh  name  qcd  qcd.tar.gz  s10  s11  s2  s3  s4  s5  s6  s7  s8  s9
[root@localhost shell实验]# cd qcd
[root@localhost qcd]# ls
history_dir  install  qcd  qcd.sh
[root@localhost qcd]# ./install    //安装qcd
Qcd Install Software
Written By XieWei 2004
install qcd OK!
version is 1.00
[root@localhost qcd]# qcd
Press <Enter> to exit or enter your choice(1-0/q/Q/): q
Nothing to do!
[root@localhost qcd]# qcd help     //查看qcd命令
qcd(quick cd) version 1.01 command :
<qcd -s dir [position]>  add a directory to /etc/qcd/history_dir.  //qcd -s命令,创建一个目录
if content = ./, then add current directory to  /etc/qcd/history_dir.
if position(1-20) is not, default value equal 1.
<qcd -d [position]> then delete a directory from /etc/qcd/history_dir. //qcd -d命令,删除一个目录
if position is not, default value equal last.
<qcd -l [position]> then list directory from /etc/qcd/history_dir.
if position is not, default value equal 1, else list all directory,
          then choice one position's content and enter it.
<qcd -e [position]> then enter a directory from /etc/qcd/history_dir.//qcd -e命令,进入一个目录
if position is not, default value equal 1.
<qcd -c> then clear /etc/qcd/history_dir.   //qcd -c命令,删除所有目录
[root@localhost qcd]# qcd -s /home/shell实验/ 
[root@localhost qcd]# qcd -e
1  /home/shell实验/
Press <Enter> to exit or enter your choice(1-1/q/Q/): 1
/usr/local/sbin/qcd: line 130: $QD: ambiguous redirect  //这里提示什么错误呢??为什么进不了qcd所创建的目录??
[root@localhost qcd]# ls
history_dir  install  qcd  qcd.sh
[root@localhost qcd]# qcd -e
1  /home/shell实验/
Press <Enter> to exit or enter your choice(1-1/q/Q/): 1
/usr/local/sbin/qcd: line 130: $QD: ambiguous redirect
原创粉丝点击