I am trying to install a network simulator onto Ubuntu on my virtual machine(VMWare). It requires me to move the file downloaded into the opt folder in order for me to run other commands for installation. Tried this: sudo cp -r /home/denisayebare/Downloads/ns-allinone-2.35.tar.gz/opt/
And brought back this:
cp: missing destination file operand after '/home/denisayebare/Downloads/ns-allinone-2.35.tar.gz/opt/
sudo cp /home/denisayebare/Downloads/ns-allinone-2.35.tar.gz /opt,-rswitch is not needed if you intend to copy only 1 file. – Liso Mar 12 '20 at 06:01