cp命令是老是出现cp missing destination file operand after

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

cp命令是老是出现cp missing destination file operand after

#1

帖子 pf653309085 » 2009-10-28 22:12

用cp命令是老是出现cp missing destination file operand after 这是怎么回事啊.....
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: cp命令是老是出现cp missing destination file operand after

#2

帖子 adagio » 2009-10-28 22:13

要看你怎么敲的命令
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: cp命令是老是出现cp missing destination file operand after

#3

帖子 leeaman » 2009-10-28 22:15

还好是cp要事象瞎子敲rm你就有难了 :em04
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

Re: cp命令是老是出现cp missing destination file operand after

#4

帖子 pf653309085 » 2009-10-28 22:16

sudo cp /desktop/文件名/usr/bin
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

Re: cp命令是老是出现cp missing destination file operand after

#5

帖子 pf653309085 » 2009-10-28 22:19

有会的吗???
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: cp命令是老是出现cp missing destination file operand after

#6

帖子 leeaman » 2009-10-28 22:19

文件名后面木有空格
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
aprilus
帖子: 184
注册时间: 2008-10-21 23:33

Re: cp命令是老是出现cp missing destination file operand after

#7

帖子 aprilus » 2009-10-28 22:19

你丢失了目的文件操作符啦,看英文提示
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

Re: cp命令是老是出现cp missing destination file operand after

#8

帖子 pf653309085 » 2009-10-28 22:20

我加空格也试过了,显示是没有文件
aprilus
帖子: 184
注册时间: 2008-10-21 23:33

Re: cp命令是老是出现cp missing destination file operand after

#9

帖子 aprilus » 2009-10-28 22:22

你要是拷贝到当前目录,也是应该要cp /desktop/文件名/usr/bin .
这样才行,后面少个点,默认当前目录的意思
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

Re: cp命令是老是出现cp missing destination file operand after

#10

帖子 pf653309085 » 2009-10-28 22:22

我是在根用户下打的命令
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: cp命令是老是出现cp missing destination file operand after

#11

帖子 leeaman » 2009-10-28 22:22

代码: 全选

sudo cp /home/你的用户名/Desktop/文件名 /usr/bin/
你路径打错了.没有/Desktop这个目录
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
aprilus
帖子: 184
注册时间: 2008-10-21 23:33

Re: cp命令是老是出现cp missing destination file operand after

#12

帖子 aprilus » 2009-10-28 22:25

啊,看错了 :em06
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

Re: cp命令是老是出现cp missing destination file operand after

#13

帖子 pf653309085 » 2009-10-28 22:25

我把文件放在桌面,我要把文件拷贝到usr/bin中应该怎么打命令呢
pf653309085
帖子: 49
注册时间: 2008-10-31 13:07

Re: cp命令是老是出现cp missing destination file operand after

#14

帖子 pf653309085 » 2009-10-28 22:30

帮帮忙啊 :em20
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: cp命令是老是出现cp missing destination file operand after

#15

帖子 leeaman » 2009-10-28 22:33

1.认真看别人的回复
2.你的desktop是那个用户的desktop
如果尼克绎睁大你的眼睛认真看估计会好很多
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
回复