You are not logged in.

#1 2012-04-29 16:15:17

xyy_xx
Member
Registered: 2012-04-27
Posts: 5

[solved]how to cp/mv /tmp/file to /etc in bash

hello there
i wrote a bash script to help me config network.
this script will create a config file like this /tmp/net.cfg
now,in my bash script i use cp/mv or sudo cp/mv to copy/move to /ect
but when i run it.script says  "mv: cannot move xxx  to yyy No such file or directory"

anyone can help me

thanks a lot

Last edited by xyy_xx (2012-04-29 17:15:10)

Offline

#2 2012-04-29 16:20:26

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [solved]how to cp/mv /tmp/file to /etc in bash

It would probably help if you posted what's in the actual script exactly.


Burninate!

Offline

#3 2012-04-29 17:14:33

xyy_xx
Member
Registered: 2012-04-27
Posts: 5

Re: [solved]how to cp/mv /tmp/file to /etc in bash

Soooooo sorry,it's my mistake.i write a wrong path in it.
but thank you to reply

Offline

Board footer

Powered by FluxBB