Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Cp not working

$
0
0
Hi guys,

I have a small part of the scrip that is not working.

Code:

mkdir /suf
cp suf-3pp-rpms-4.1.0-rhel.tar.gz /suf
cp suf-4.1.0.2645-26B.noarch.rpm /suf
cd /suf
gunzip suf-3pp-rpms-4.1.0-rhel.tar.gz
tar -xvf suf-3pp-rpms-4.1.0-rhel.tar
cp suf-4.1.0.2645-26B.noarch.rpm var/tmp/suf/noarch/
cd var/tmp/suf/

The result is:

Code:

[root@RH64-1 suf_server_setup]# ./setup_suf_server.sh
cp: missing destination file operand after `suf-4.1.0.2645-26B.noarch.rpm'
Try `cp --help' for more information.
cp: cannot stat `suf-4.1.0.2645-26B.noarch.rpm': No such file or directory

Why isnt the cp working ? The pwd from where I am running the script has the required files.

Viewing all articles
Browse latest Browse all 16232

Trending Articles