Bash Understanding - Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I've got this little script and to run the commands I copy the
commands into my paste buffer by selecting the lines. The script was
opened in vi.

The script contains some parts that require manual intervention so for
example I would have:

cd /opt
mkdir java
scp -rp server:/opt/java/java* java/
cd java
ls

If I paste the above to a shell it will run all the way up until the
"scp" command. After completing the scp command the shell returms me
to a prompt. The rest of the script isn't run. Can someone please
explain why this is happening?

Thanks in advance
Dan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux